Skip to main content

NtDocutils is a theme manager for Docutils.

Project description

pypi

Install

This theme requires:

  • Python >= 3.4
  • NtDocutils >= 1.0.0 (auto installed)

From PyPI

# pip install ntdocutils-theme-mdl==0.1.0

From source

$ wget -c 'https://github.com/ntrrg/ntdocutils-theme-mdl/archive/v0.1.0.tar.gz'
$ tar -xvf ntdocutils-theme-mdl-0.1.0.tar.gz
$ cd ntdocutils-theme-mdl-0.1.0
# python3 setup.py

Usage

Basically, you have to do two things:

1. Create a .rst file:

example.rst:

==========
My Article
==========

:Author: Vultur Gryphus
:Contact: info@vultur.org.ve

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia
deserunt mollit anim id est laborum.

2. Process your file:

$ ntdocutils -T mdl example.rst example.html

And that's it, you already have a HTML file.

Example

Also see the site.

Uninstall

Should be enough with this:

# pip uninstall -y ntdocutils-theme-mdl

Acknowledgment

Working on this project I use/used:

Docutils Team. reStructuredText. http://docutils.sourceforge.net/rst.html

Mozilla Developer Network. JavaScript. https://developer.mozilla.org/en-US/docs/Web/JavaScript

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ntdocutils-theme-mdl, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ntdocutils_theme_mdl-1.0.0-py3-none-any.whl (410.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ntdocutils-theme-mdl-1.0.0.tar.gz (402.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page