Updating plugins, conf.py cleanup
This commit is contained in:
parent
6efd897861
commit
60150b02fc
7 changed files with 27 additions and 6 deletions
|
|
@ -1 +0,0 @@
|
|||
# Plugin modules go here.
|
||||
4
plugins/import_feed/conf.py.sample
Normal file
4
plugins/import_feed/conf.py.sample
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
PAGES = (
|
||||
("stories/*.html", "stories", "story.tmpl"),
|
||||
)
|
||||
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
14
plugins/rest_html5/conf.py.sample
Normal file
14
plugins/rest_html5/conf.py.sample
Normal 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.
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue