This release is a pre-release and may not be stable for production use.
OMDOC is a lightweight documentation builder that utilises [jinja2][0] templates as placeholders for markdown and code.
Code samples are parsed with [pygments][1] and the content is parsed with markdown.
You're in total control of how it looks, feels and responds to different devices.
No magic, it's plain ol' html with a dash of jinja, markdown and pygments.
## Features
### code
Any blocks of code inside code tags are parsed; eg
```<code lang="bash">
pip install omdoc
</code>```
An attempt is made to match the lang attribute against [known pygments lexers][2]. If no match is found it defaults to python.
### Markdown
Any content inside of ...
```{% markdown %} stuff to mark down {% endmarkdown%} ```
... gets marked down.
## Installation
```pip install omdoc```
## Usage
1. Make folder for docs
2. Create layout.html inside of docs folder
2. Style as you see fit
3. Create pages that inherit layout.html in docs
5. cd 'docs'
6. run ``omdoc``
Your documentation will now be in <docs>/_build
## What about static media?
Proceed as you would building a a normal site. Folders inside of `docs/` get copied into the final build. Just make sure to use relative paths in your html & css.
## Status
Early alpha.
## Known caveats
### Nested Folders
Doesn't support nested folders for docs so `docs/about/this.html` doesn't work. This will get fixed later one
[0]: http://jinja.pocoo.org/docs/
[1]: http://pygments.org/
[2]: http://pygments.org/docs/lexers/
Metadata
Release files for omdoc 0.1.3.alpha
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 |
|---|---|---|---|---|
| omdoc-0.1.3.alpha.tar.gz | 4.0 kB | Without provenance | Details for omdoc-0.1.3.alpha.tar.gz |
Release files / omdoc-0.1.3.alpha.tar.gz
| Download URL | omdoc-0.1.3.alpha.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea7d06e76ba913855e810f16ab81c4373cc775f66af1d1e386ab94b1cad8a29d
|
|
BLAKE2b-256 checksum How to use checksums |
201ceb736bd207cead1b3352f9cfd4af0e156a71dff11d870aa77e1c5b1b0699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for omdoc 0.1.3.alpha
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.