Use githubpages extension, rather than manually managing .nojekyll. Cleanup recommonmark usage

This commit is contained in:
Marcus Huderle
2020-05-16 13:49:50 -05:00
parent c20b2c91a1
commit 8a908050bc
15 changed files with 4 additions and 11323 deletions

View File

@@ -16,7 +16,6 @@ github:
@make html
rm -rf ../docs
@cp -a $(BUILDDIR)/html/. ../docs
touch ../docs/.nojekyll
@rm reference/changelog.md
.PHONY: help Makefile

View File

@@ -36,24 +36,17 @@ release = u''
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = [
'recommonmark',
'sphinx.ext.githubpages',
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# sphinx >= 1.4
extensions = ['recommonmark']
# sphinx <= 1.3
from recommonmark.parser import CommonMarkParser
source_suffix = ['.rst', '.md']
source_parsers = {
'.md': CommonMarkParser,
}
# The master toctree document.
master_doc = 'index'