Sphinx Inplace
.. toctree:: :maxdepth: 2
file_tree.rst
rst_generator.rst
doc_guide/index.rst
Sphinx provides powerful functions, but provides few functions about edit doc inplace. We have to generate rst files and edit the rst files. This package provides a new procedure, that we can write code just in the same directory with python files.
The code was firstly used in pyminer.
This package aims to replace sphinx-apidoc .
The source docstring is parsed and then generate doc with levels.
In a normal sphinx project,
developers have to maintain *.rst directory.
Sphinx provides series of directors to generate html from python source code.
sphinx-apidoc is required to create *.rst file structure.
However, if python structure changed, developers have to update *.doc file structure manually.
This tool do not need apidoc , and all the doc will automatically generated from python code.
Usage
Please see the demo directory for more information.
Tips
__init__.py are important files, the same as in python project.
Directory with __init__.py will be regarded as the python package,
and the package template will be used.
All the assets can be put in the same directory as *.py files.
The assets will be copy to the docs/rst directory.
Thus, relative path is available in *.rst and *.md files.
If you are not satisfied with the auto generated *.rst file,
you can create the {filename}.rst file at the same directory with the {filename}.py.
The new rst file will cover the autogenerated rst file.
Metadata
Release files for sphinx-inplace 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx-inplace-0.0.7.tar.gz | 9.2 kB | Without provenance | Details for sphinx-inplace-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_inplace-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for sphinx_inplace-0.0.7-py3-none-any.whl |
Total release size: 18.8 kB
Release files / sphinx-inplace-0.0.7.tar.gz
| Download URL | sphinx-inplace-0.0.7.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c412d67aac79ee13405dcb088e77035ef8b7f9041bef4183894b6671e2e50de4
|
|
BLAKE2b-256 checksum How to use checksums |
7533bb595cdfce650d0a300f59466cc33eaa7ed912b10a0d25ad7cdbab1012e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / sphinx_inplace-0.0.7-py3-none-any.whl
| Download URL | sphinx_inplace-0.0.7-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bed2d346e481b10841e09c2c54c66321ee50209f03df02f129859e7a2225c701
|
|
BLAKE2b-256 checksum How to use checksums |
75e8b18fa5b99cba245c896b4e4c8c9411903e845fdf00f548df5eaf89269a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for sphinx-inplace 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.