NtDocutils is a Material Design Lite theme for Docutils.
Project description
NtDocutils is a Material Design Lite theme for Docutils. See the official site for more info.
Features
All features from Docutils for the rst2html5.py writer.
Special roles for emojis and keyboard keys.
Filter content by OS and distributions.
Download the attachments, print the article and more.
Theme customization.
Installation
If you will install NtDocutils without a virtualenv on Debian (or other GNU/Linux distribution), you will need superuser privileges.
NtDocutils requires:
From PyPI
pip install NtDocutils==0.1.0
Usage
Basically, you have to do two things:
Create a .rst file:
example.rst:
1
==========
2My Article
3==========
4:Author: Vultur Gryphus
6:Contact: info@vultur.org.ve
7Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
9eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
10minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
11ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
12voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
13sint occaecat cupidatat non proident, sunt in culpa qui officia
14deserunt mollit anim id est laborum.
Process your file:
ntdocutils example.rst example.html
And that’s it, you already have some like this:
See this section in the official site for more utilites.
Command line reference
ntdocutils [-h] [-V] [-S SERVER] SOURCE DESTINATION
- -h, --help
Shows the help message.
- -V, --version
Shows the NtDocutils version.
- -S SERVER, --server SERVER
Server where assets are hosted. If file is passed as value, it will activate the offline mode, this will create a directory with the theme name in the DESTINATION parent folder and stores the necessary assets in there.
All the options from the rst2html.py writer are available.
Uninstallation
If you did install NtDocutils without a virtualenv on Debian (or other GNU/Linux distribution), you will need superuser privileges.
Should be enough with this:
pip uninstall NtDocutils
Attributions and references
NtDocutils uses:
Docutils Team. reStructuredText. http://docutils.sourceforge.net/rst.html
Mozilla Developer Network. JavaScript | MDN. https://developer.mozilla.org/en-US/docs/Web/JavaScript
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
Hashes for NtDocutils-0.1.0-2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341d4db66d448e5915ba4d30874063372ad42f55a859c0caad6d0c8294bd8776 |
|
MD5 | eff6c979e4ebaf9ad581b2b0edbed3c0 |
|
BLAKE2b-256 | 5c8bfca0ed73f6fd3f82974eb619242cad011acf5c73d8fe5ab3d1879da800fb |