diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-01-02 22:02:21 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-01-06 22:14:57 +0900 |
commit | 0ea518d563c4fcf2d1f9c694749f8a917e5a4198 (patch) | |
tree | 510cdce35d76b700d5f61fccb948eb75b9ffb3ae /sphinx/quickstart.py | |
parent | ddf6acd33c31af56738566363efc0ac21396a1fe (diff) | |
download | sphinx-git-0ea518d563c4fcf2d1f9c694749f8a917e5a4198.tar.gz |
Add sphinx.ext.githubpages to publish the docs on GitHub Pages
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index f4514a2b2..471aa3bdf 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -60,7 +60,7 @@ DEFAULT_VALUE = { } EXTENSIONS = ('autodoc', 'doctest', 'intersphinx', 'todo', 'coverage', - 'imgmath', 'mathjax', 'ifconfig', 'viewcode') + 'imgmath', 'mathjax', 'ifconfig', 'viewcode', 'githubpages') PROMPT_PREFIX = '> ' @@ -1271,6 +1271,9 @@ imgmath has been deselected.''') if 'ext_viewcode' not in d: do_prompt(d, 'ext_viewcode', 'viewcode: include links to the source ' 'code of documented Python objects (y/n)', 'n', boolean) + if 'ext_githubpages' not in d: + do_prompt(d, 'ext_githubpages', 'githubpages: create .nojekyll file ' + 'to publish the document on GitHub pages (y/n)', 'n', boolean) if 'no_makefile' in d: d['makefile'] = False |