Created
October 27, 2016 19:22
-
-
Save futuro/71b95c34750fc69dadf306e6d8249884 to your computer and use it in GitHub Desktop.
readthedocs/recommonmark#57 test files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sphinx_rtd_theme | |
from recommonmark.parser import CommonMarkParser | |
from recommonmark.transform import AutoStructify | |
extensions = [] | |
templates_path = ['_templates'] | |
source_suffix = ['.rst', '.md'] | |
source_parsers = { '.md': CommonMarkParser, } | |
master_doc = 'index' | |
project = 'ClojureBridgeMN Documentation' | |
copyright = '2016 ClojureBridgeMN volunteers' | |
author = 'ClojureBridgeMN volunteers' | |
timestamp = 'now' | |
if 'SERVER_TIMESTAMP' in os.environ: | |
timestamp = os.environ['SERVER_TIMESTAMP'] | |
user = 'anonymous' | |
if 'SERVER_COMMITTER' in os.environ: | |
user = os.environ['SERVER_COMMITTER'] | |
version = '%s %s' % (timestamp, user) | |
release = 'November 4-5, 2016' | |
language = None | |
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | |
pygments_style = 'sphinx' | |
todo_include_todos = False | |
html_theme = 'sphinx_rtd_theme' | |
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] | |
html_static_path = ['_static'] | |
htmlhelp_basename = 'ClojureBridgeMNdoc' | |
latex_elements = { | |
} | |
latex_documents = [ | |
(master_doc, 'ClojureBridgeMN.tex', 'ClojureBridgeMN Documentation', | |
'ClojureBridgeMN volunteers', 'manual'), | |
] | |
man_pages = [ | |
(master_doc, 'clojurebridgemn', 'ClojureBridgeMN Documentation', | |
[author], 1) | |
] | |
texinfo_documents = [ | |
(master_doc, 'ClojureBridgeMN', 'ClojureBridgeMN Documentation', | |
author, 'ClojureBridgeMN', 'ClojureBridgeMN Documentation', | |
'Miscellaneous'), | |
] | |
epub_title = project | |
epub_author = author | |
epub_publisher = author | |
epub_copyright = copyright | |
epub_exclude_files = ['search.html'] | |
def setup(app): | |
app.add_config_value('recommonmark_config', { | |
'enable_auto_doc_ref': True, | |
}, True) | |
app.add_transform(AutoStructify) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user$ pip list | |
alabaster (0.7.9) | |
argh (0.26.2) | |
Babel (2.3.4) | |
CommonMark (0.5.4) | |
docutils (0.12) | |
future (0.15.2) | |
imagesize (0.7.1) | |
Jinja2 (2.8) | |
livereload (2.4.1) | |
MarkupSafe (0.23) | |
pathtools (0.1.2) | |
pip (8.1.2) | |
port-for (0.3.1) | |
Pygments (2.1.3) | |
pytz (2016.7) | |
PyYAML (3.12) | |
recommonmark (0.4.0) | |
setuptools (28.5.0) | |
six (1.10.0) | |
snowballstemmer (1.2.1) | |
Sphinx (1.4.8) | |
sphinx-autobuild (0.6.0) | |
sphinx-rtd-theme (0.1.9) | |
tornado (4.4.2) | |
watchdog (0.8.3) | |
wheel (0.30.0a0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alabaster==0.7.9 | |
argh==0.26.2 | |
Babel==2.3.4 | |
CommonMark==0.5.4 | |
docutils==0.12 | |
imagesize==0.7.1 | |
Jinja2==2.8 | |
livereload==2.4.1 | |
MarkupSafe==0.23 | |
pathtools==0.1.2 | |
port-for==0.3.1 | |
Pygments==2.1.3 | |
pytz==2016.7 | |
PyYAML==3.12 | |
recommonmark==0.4.0 | |
six==1.10.0 | |
snowballstemmer==1.2.1 | |
Sphinx==1.4.8 | |
sphinx-autobuild==0.6.0 | |
sphinx-rtd-theme==0.1.9 | |
tornado==4.4.2 | |
watchdog==0.8.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment