pull/7/head
yann300 7 years ago
parent a0c34a9b5a
commit f6f6114843
  1. 17
      docs/conf.py
  2. 8
      docs/index.rst

@ -21,6 +21,7 @@ import os
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('.'))
from recommonmark.transform import AutoStructify
from recommonmark.parser import CommonMarkParser from recommonmark.parser import CommonMarkParser
source_parsers = {'.md': CommonMarkParser} source_parsers = {'.md': CommonMarkParser}
@ -293,11 +294,11 @@ texinfo_documents = [
#texinfo_no_detailmenu = False #texinfo_no_detailmenu = False
# app setup hook # app setup hook
def setup(app): # def setup(app):
app.add_config_value('recommonmark_config', { # app.add_config_value('recommonmark_config', {
'url_resolver': lambda url: github_doc_root + url, # 'url_resolver': lambda url: github_doc_root + url,
'enable_auto_toc_tree': True, # 'enable_auto_toc_tree': True,
'enable_eval_rst': True, # 'enable_eval_rst': True,
'enable_auto_doc_ref': True, # 'enable_auto_doc_ref': True,
}, True) # }, True)
app.add_transform(AutoStructify) # app.add_transform(AutoStructify)

@ -25,7 +25,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
settings_tab settings_tab
.. deploy and test: .. deploy-and-test:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
@ -34,7 +34,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
run_tab run_tab
udapp udapp
.. _other-remix-features: .. other-remix-features:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
@ -45,7 +45,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
analysis_tab analysis_tab
terminal terminal
.. _tutorials and workshops: .. tutorials-and-workshops:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
@ -57,7 +57,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
tutorial_import tutorial_import
tutorial_mist tutorial_mist
.. _code-contribution-guide: .. code-contribution-guide:
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2

Loading…
Cancel
Save