From: Silvio Rhatto Date: Sun, 28 Jan 2018 16:14:57 +0000 (-0200) Subject: Fix sphinx and main Makefile location X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3f31d3da4a87ce2e08542de8fdbaa1de951385fa;p=templater.git Fix sphinx and main Makefile location --- diff --git a/share/templater/sphinx/_static/.empty b/share/templater/sphinx/files/_static/.empty similarity index 100% rename from share/templater/sphinx/_static/.empty rename to 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 similarity index 100% rename from share/templater/basic/files/Makefile rename to share/templater/templater/files/Makefile