![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Reads your code and returns a JSON description you can use to generate documentation. Like Sphinx AutoDoc but without Sphinx.
Inspect.
When documenting a library or software product written in Python, often a README is not enough, but full-blown Sphinx is too much work or too rigid.
Inspect is a command-line tool that will automatically document Python code, but it returns the output as machine-readable JSON or human-readable Markdown, so you retain full control of how to render the documentation.
Usage: inspect [] [options]
Options: -m --markdown At what level to start headers. --include ... --exclude ...
If you only need a single object documented (whether a function, a class or something else), you can use the
.. raw:: html
argument:
::
# will only include documentation on `A`
inspect fixtures/example.py A
Filtering the output with --include
and --exclude
ensures that
your code description only contains exactly what you want it to. Some
examples:
::
# only include class methods if they've been documented
inspect fixtures/example.py --include members.documented
# only include classes
inspect fixtures/example.py --include type:class
# only document function `factorize` and class `Bean`
inspect fixtures/example.py --include name:fun,name:B
# only include documented methods on Bean
# (these two are identical)
inspect fixtures/example.py Bean --include documented
inspect fixtures/example.py --include name:Bean,members.documented
As you can see, .
traverses the hierarchy and :
is the value to
test against. (If you don't specify a value, we will test on presence.)
,
separates multiple criteria that are OR'ed together.
Todo:
intercalate
utility that runs shell commands inside of %%
tags in a file and replaces the tags with the standard output from
those commandsFAQs
Reads your code and returns a JSON description you can use to generate documentation. Like Sphinx AutoDoc but without Sphinx.
We found that inspect-it demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.