jetblack-markdown
Markdown extensions for automatic document generation (read the docs).
Autodoc Extension
A markdown extension is provided for automatically documenting python code.
Modules are referred to as follows:
# A Top Level Module
@[jetblack_markdown]
# A Package
@[jetblack_markdown.autodoc]
# A function
@[jetblack_markdown.autodoc:makeExtension]
# A class
@[jetblack_markdown.autodoc.metadata:PropertyDescriptor]
Customizing
All the rendering is done with jinja2 templates. Start by copying the current
templates from jetblack_markdown/templates and specify the template_folder in
the mkdocs.yml.
LaTex2MathML Extension
There is a second extension which transforms LeTax style math formula
to MathML HTML. Inline formula are surrounded by $, which blocks are
fenced with $$. See the documentation for more details and examples.
mkdocs integration
This site was generated using mkdocs and the following config:
site_name: jetblack-markdown
docs_dir: documentation
site_dir: docs
markdown_extensions:
- admonition
- codehilite
- jetblack_markdown.autodoc:
class_from_init: true
ignore_dunder: true
ignore_private: true
ignore_all: false
prefer_docstring: true
template_folder: null
extra_css:
- css/custom.css
Configuration
There are some configuration parameters for the autodoc extension.
- class_from_init (bool, optional): If True use the docstring from the __init__ function for classes. Defaults to True.
- ignore_dunder (bool, optional): If True ignore __XXX__ functions. Defaults to True.
- ignore_private (bool, optional): If True ignore methods (those prefixed _XXX). Defaults to True.
- ignore_all (bool): If True ignore the __all__ member.
- prefer_docstring (bool): If true prefer the docstring.
- template_folder(Optional[str], optional): Specify a custom template folder.
The template "main.jinja2" will be rendered passing an
objparameter which is ajetblack.markdown.metadata.Descriptor
Metadata
Release files for jetblack-markdown 2.0.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 | Actions |
|---|---|---|---|---|
| jetblack_markdown-2.0.1.tar.gz | 16.8 kB | Without provenance | Details for jetblack_markdown-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jetblack_markdown-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for jetblack_markdown-2.0.1-py3-none-any.whl |
Total release size: 40.5 kB
Release files / jetblack_markdown-2.0.1.tar.gz
| Download URL | jetblack_markdown-2.0.1.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc773e76cf78942c634e7fd33c9ccc1cb78c49b9d5f7a486d9e16ff947a83599
|
|
BLAKE2b-256 checksum How to use checksums |
0424e83fe4c46d567b0e6e3262b11620b0c193993db367dbf487c781626e3014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / jetblack_markdown-2.0.1-py3-none-any.whl
| Download URL | jetblack_markdown-2.0.1-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e73d7335c4ad08e5f29e07fa0404c2dd310422696ee0373497087fbea2ced2c
|
|
BLAKE2b-256 checksum How to use checksums |
7cc984b33f2b41d583647cc404f74b92fead10118edb44c0e8c045bd6718c0a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for jetblack-markdown 2.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.