From 60150b02fc46042f897d0dbefc3aa3c3d8995901 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sun, 22 May 2016 17:09:34 -0500 Subject: [PATCH] Updating plugins, conf.py cleanup --- conf.py | 2 +- plugins/__init__ (restored).py | 1 - plugins/import_feed/conf.py.sample | 4 ++++ plugins/rest_html5/README.md | 4 ++++ plugins/rest_html5/conf.py.sample | 14 ++++++++++++++ plugins/rest_html5/rest_html5.plugin | 5 +---- state_data.json | 3 +++ 7 files changed, 27 insertions(+), 6 deletions(-) delete mode 100644 plugins/__init__ (restored).py create mode 100644 plugins/import_feed/conf.py.sample create mode 100644 plugins/rest_html5/conf.py.sample create mode 100644 state_data.json diff --git a/conf.py b/conf.py index 7b51ad7a..5443e1db 100644 --- a/conf.py +++ b/conf.py @@ -40,7 +40,7 @@ NAVIGATION_LINKS = { #THEME = "slate" #THEME = "duckland" #THEME = "superhero" -THEME="material-theme" +THEME = "material-theme" TIMEZONE = "CDT6CST" DATE_FORMAT = '%Y-%m-%d' JS_DATE_FORMAT = 'YYYY-MM-DD' diff --git a/plugins/__init__ (restored).py b/plugins/__init__ (restored).py deleted file mode 100644 index fd7e25d7..00000000 --- a/plugins/__init__ (restored).py +++ /dev/null @@ -1 +0,0 @@ -# Plugin modules go here. \ No newline at end of file diff --git a/plugins/import_feed/conf.py.sample b/plugins/import_feed/conf.py.sample new file mode 100644 index 00000000..26279f0b --- /dev/null +++ b/plugins/import_feed/conf.py.sample @@ -0,0 +1,4 @@ +PAGES = ( + ("stories/*.html", "stories", "story.tmpl"), +) + diff --git a/plugins/rest_html5/README.md b/plugins/rest_html5/README.md index acd5eb2c..95daa5c9 100644 --- a/plugins/rest_html5/README.md +++ b/plugins/rest_html5/README.md @@ -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. diff --git a/plugins/rest_html5/conf.py.sample b/plugins/rest_html5/conf.py.sample new file mode 100644 index 00000000..4b0c686f --- /dev/null +++ b/plugins/rest_html5/conf.py.sample @@ -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. diff --git a/plugins/rest_html5/rest_html5.plugin b/plugins/rest_html5/rest_html5.plugin index 3812881b..9fa48d54 100644 --- a/plugins/rest_html5/rest_html5.plugin +++ b/plugins/rest_html5/rest_html5.plugin @@ -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 diff --git a/state_data.json b/state_data.json new file mode 100644 index 00000000..f8411a8a --- /dev/null +++ b/state_data.json @@ -0,0 +1,3 @@ +{ + "last_deploy": "2016-05-22T21:04:54.361256" +} \ No newline at end of file