aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-28 14:14:57 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-28 14:14:57 -0200
commit3f31d3da4a87ce2e08542de8fdbaa1de951385fa (patch)
treeb3a918cf9d71d8fffa1594539935c5899c134ff9
parentdbc433d36b347a4aaa114b50f99d2506b2b9efcf (diff)
downloadtemplater-3f31d3da4a87ce2e08542de8fdbaa1de951385fa.tar.gz
templater-3f31d3da4a87ce2e08542de8fdbaa1de951385fa.tar.bz2
Fix sphinx and main Makefile location
-rw-r--r--share/templater/sphinx/files/_static/.empty (renamed from share/templater/sphinx/_static/.empty)0
-rw-r--r--share/templater/sphinx/files/conf.py15
-rw-r--r--share/templater/templater/files/Makefile (renamed from share/templater/basic/files/Makefile)0
3 files changed, 11 insertions, 4 deletions
diff --git a/share/templater/sphinx/_static/.empty b/share/templater/sphinx/files/_static/.empty
index e69de29..e69de29 100644
--- a/share/templater/sphinx/_static/.empty
+++ b/share/templater/sphinx/files/_static/.empty
diff --git a/share/templater/sphinx/files/conf.py b/share/templater/sphinx/files/conf.py
index 6bc7b9a..a605478 100644
--- a/share/templater/sphinx/files/conf.py
+++ b/share/templater/sphinx/files/conf.py
@@ -30,8 +30,15 @@ extensions = []
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
+# Parsers
+# See http://www.sphinx-doc.org/en/stable/markdown.html
+source_parsers = {
+ '.md': 'recommonmark.parser.CommonMarkParser',
+}
+
# The suffix of source filenames.
-source_suffix = '.rst'
+#source_suffix = '.rst'
+source_suffix = ['.rst', '.md']
# The encoding of source files.
#source_encoding = 'utf-8-sig'
@@ -91,9 +98,9 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-#html_theme = "sphinx_rtd_theme"
-#html_theme_path = ["_themes/sphinx_rtd_theme", ]
-html_theme = 'default'
+#html_theme = 'default'
+html_theme = "sphinx_rtd_theme"
+html_theme_path = ["_themes/sphinx_rtd_theme", ]
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
diff --git a/share/templater/basic/files/Makefile b/share/templater/templater/files/Makefile
index 6dbbd98..6dbbd98 100644
--- a/share/templater/basic/files/Makefile
+++ b/share/templater/templater/files/Makefile