Generate API documentation with quarto.
Project description
quartodoc
Generate python API documentation for quarto.
Install
Basic use
from quartodoc import get_function, MdRenderer
# get function object ---
f_obj = get_function("quartodoc", "get_function")
# render ---
renderer = MdRenderer(header_level = 1)
print(
renderer.to_md(f_obj)
)
# get_function
get_function(module: str, func_name: str, parser: str = 'numpy')
Fetch a function.
| Name | Type | Description | Default |
|-------------|--------|----------------------------|-----------|
| `module` | str | A module name. | required |
| `func_name` | str | A function name. | required |
| `parser` | str | A docstring parser to use. | `'numpy'` |
```python
>>> get_function("quartodoc", "get_function")
<Function('get_function', ...
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quartodoc-0.0.1.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file quartodoc-0.0.1.tar.gz
.
File metadata
- Download URL: quartodoc-0.0.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 735231b48340d6bbaa8f72dcc970df72a5608177c85c1e9d8f24bb2f114468de |
|
MD5 | a854fffd49da82d4bb808b817c235497 |
|
BLAKE2b-256 | 500c06afcd94f33cd1578e55cb55f6602bedc35f81ba2a9ab346d9047af10c38 |
File details
Details for the file quartodoc-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: quartodoc-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eab5df37a2f50329a418e74a53e0f17d80ae92247f912dbc8f0c06d802939ef |
|
MD5 | 078816be7259448186e7f4a4492fee24 |
|
BLAKE2b-256 | 6ff85f8dfb3e69ac804aa828ca541cc45b2f86c331421c050de4502c4a2c5d46 |