tk.phpautodoc
tk.phpautodoc is sphinx extension to embed PHPDocs to sphinx document. It works like sphinx.ext.autodoc.
Setup
Install this package and add ‘sphinxcontrib_phpautodoc’ to extensions list:
# in conf.py extensions += ['sphinxcontrib.phpdomain', 'sphinxcontrib_phpautodoc']
That’s all.
Directives
phpautomodule
phpautomodule works like automodule directive in sphinx.ext.autodoc. It parses .php file, and then pick up functions, classes and methods to your docs.
ex:
.. phpautomodule:: :filename: path/to/source_code.php :members: :undoc-members:
phpautoclass
phpautoclass works like autoclass directive in sphinx.ext.autodoc. It parses .php file, and then pick up classes and their members to your docs.
ex:
.. phpautoclass:: MyClass,MySubClass :filename: path/to/source_code.php :members: :undoc-members:If you do not specify any class-names, phpautoclass picks up all classes in .php file.
ex:
.. phpautoclass:: :filename: path/to/source_code.php :members: :undoc-members:
phpautofunction
phpautofunction works like autofunction directive in sphinx.ext.autodoc. It parses .php file, and then pick up functions to your docs.
ex:
.. phpautofunction:: my_function :filename: path/to/source_code.php
LICENSE
Apache License 2.0
Metadata
Release files for tk.phpautodoc 1.2.1
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 | |
|---|---|---|---|---|
| tk.phpautodoc-1.2.1.tar.gz | 31.5 kB | Without provenance | Details |
Release files / tk.phpautodoc-1.2.1.tar.gz
| Download URL | tk.phpautodoc-1.2.1.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e718c3fe2560b683553bdb7393858eabc1b10c6788909cc571401bf26d818d06
|
|
BLAKE2b-256 checksum How to use checksums |
af0ffc21d23709d7a55be1887daffef71ff1601f788494df5857e7017c7f473e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tk.phpautodoc 1.2.1
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.