Updating plugins, conf.py cleanup

This commit is contained in:
Don Harper 2016-05-22 17:09:34 -05:00
parent 6efd897861
commit 60150b02fc
7 changed files with 27 additions and 6 deletions

View file

@ -1 +0,0 @@
# Plugin modules go here.

View file

@ -0,0 +1,4 @@
PAGES = (
("stories/*.html", "stories", "story.tmpl"),
)

View file

@ -1 +1,5 @@
Modified version of original reST plugin that uses an [alternative docutils writer](https://bitbucket.org/andre_felipe_dias/rst2html5) to produce HTML5 output.
**Note:** if you want to use the Nikola-provided reST extensions, you need to
keep the original `rest` compiler in COMPILERS *and* POSTS/PAGES, otherwise
they will not get loaded.

View file

@ -0,0 +1,14 @@
COMPILERS = {
'rest': ('.rst4',),
'rest_html5': ('.rst', '.txt'),
}
POSTS = (
("posts/*.rst4", "posts", "post.tmpl"),
("posts/*.rst", "posts", "post.tmpl"),
("posts/*.txt", "posts", "post.tmpl"),
)
# NOTE: if you want to use the Nikola-provided reST extensions, you need to
# keep the original `rest` compiler in COMPILERS *and* POSTS/PAGES,
# otherwise they will not get loaded.

View file

@ -2,12 +2,9 @@
Name = rest_html5
Module = rest_html5
[Nikola]
Compiler = rest
[Documentation]
Author = Roberto Alsina, Pelle Nilsson
Version = 1.0
Version = 1.0.1
Website = http://plugins.getnikola.com/#rest_html5
Description = Compile reST into HTML5