Mkdocs plugin to generate documentation from clingo files
Project description
mkdoclingo
Installation
To install the project, run
pip install .
Usage
Run the following for basic usage information:
mkdoclingo -h
To generate and open the documentation, run
nox -s doc -- serve
Instructions to install and use nox can be found in
DEVELOPMENT.md
How to use the Handler
-
Add this project to your dependencies
-
Add handler to
mkdocs.ymlplugins: - mkdocstrings: handlers: asp: paths: [encodings] -
You may now use mkdocstrings identifiers like so:
::: some/path/to/encoding.lp handler: asp
Options
The output is customizable via options.
For example:
::: some/path/to/encoding.lp
handler: asp
options:
source: true
shows the source code of the corresponding encoding.
Currently available options
source: Source code of the encodingdependency_graph: Predicate dependency graph of the encodingglossary: Sorted information about predicates
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 mkdoclingo-1.0.1.dev0.tar.gz.
File metadata
- Download URL: mkdoclingo-1.0.1.dev0.tar.gz
- Upload date:
- Size: 169.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d68f84673018b4ff36b2c0d8e74c53366b22bc0a053b7f92fabca54283887a98
|
|
| MD5 |
5f6025effdf7f1100eafe8e5feeb48f2
|
|
| BLAKE2b-256 |
bfef1ef1eeb98a60c58d28d88ae84ebbbb75ad4b2c32af217b69c1181d845e1e
|
File details
Details for the file mkdoclingo-1.0.1.dev0-py3-none-any.whl.
File metadata
- Download URL: mkdoclingo-1.0.1.dev0-py3-none-any.whl
- Upload date:
- Size: 119.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63443deb27fa111379a417259fb0c5f38594d1da8650098273e03b6fef9c6696
|
|
| MD5 |
7d1316f1436d096960d99d94babb654e
|
|
| BLAKE2b-256 |
ad3f9231cabd324dbe949bac9a63fbefe91dc81da8f20e482a8ed76624eadf47
|