Generate library documentation in plain text from the JSON generated by libdoc
Project description
libdoc2text
Generate library documentation in plain text from the JSON generated by libdoc.
Use Cases
- Markdown documentation to generate a static site with Mkdocs or upload it to Confluence
- Asciidoc documentation to generate a static site with Asciidoctor
How to use it
- Install the package
pip install robotframework-libdoc2text
- Save the desired template to the current directory
For Markdown:
libdoc2text init.md
For Asciidoc:
libdoc2text init.adoc
Hint: In case your environment does not allow executing libdoc2text, call the Python module directly:
python -m Libdoc2Text init.md
-
Modify the template
-
Generate the library documentation with libdoc
python -m robot.libdoc Library Library.json
- Generate the plain text documentation with libdoc2text
libdoc2text run library.md.jinja Library.json Library.md
How it works
The template files are Jinja templates. When libdoc2text run is executed Jinja processes the template, which results in a Markdown or Asciidoc file.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_libdoc2text-1.0.1.tar.gz.
File metadata
- Download URL: robotframework_libdoc2text-1.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85e3ebb705bc7f85cac80d193b3932169537f20695ae694ce5c07859bcf2cc68
|
|
| MD5 |
5f36403ea070b82cdbcfc6c993e28eeb
|
|
| BLAKE2b-256 |
643e6dd19e625a2577dfbd681fce9f67afbcd4a7aaba70661740a138a726df2b
|
File details
Details for the file robotframework_libdoc2text-1.0.1-py3-none-any.whl.
File metadata
- Download URL: robotframework_libdoc2text-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87a746fdf24e812ebffd5bebf638ddbe9a25a8659ff8f386fff873f3cd9a2945
|
|
| MD5 |
67fa4dd8876d24ba5b3c58c9f8b564c9
|
|
| BLAKE2b-256 |
a73935427f088733d24b690da09ef8de9b11820ed13cea94ef13b230e764e455
|