mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-08 08:55:37 -05:00
Use githubpages extension, rather than manually managing .nojekyll. Cleanup recommonmark usage
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user