From f6f611484396b9747eeb9e28f253c0eae7cfae71 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 24 May 2018 16:32:49 +0200 Subject: [PATCH] fix Docs --- docs/conf.py | 17 +++++++++-------- docs/index.rst | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b851b90c2e..838b8dbbb3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,6 +21,7 @@ import os # 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. sys.path.insert(0, os.path.abspath('.')) +from recommonmark.transform import AutoStructify from recommonmark.parser import CommonMarkParser source_parsers = {'.md': CommonMarkParser} @@ -293,11 +294,11 @@ texinfo_documents = [ #texinfo_no_detailmenu = False # app setup hook -def setup(app): - app.add_config_value('recommonmark_config', { - 'url_resolver': lambda url: github_doc_root + url, - 'enable_auto_toc_tree': True, - 'enable_eval_rst': True, - 'enable_auto_doc_ref': True, - }, True) - app.add_transform(AutoStructify) +# def setup(app): +# app.add_config_value('recommonmark_config', { +# 'url_resolver': lambda url: github_doc_root + url, +# 'enable_auto_toc_tree': True, +# 'enable_eval_rst': True, +# 'enable_auto_doc_ref': True, +# }, True) +# app.add_transform(AutoStructify) diff --git a/docs/index.rst b/docs/index.rst index 1647230db8..34a9945137 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -25,7 +25,7 @@ This set of documents covers instructions on how to use Remix and some tutorials settings_tab -.. deploy and test: +.. deploy-and-test: .. toctree:: :maxdepth: 2 @@ -34,7 +34,7 @@ This set of documents covers instructions on how to use Remix and some tutorials run_tab udapp -.. _other-remix-features: +.. other-remix-features: .. toctree:: :maxdepth: 2 @@ -45,7 +45,7 @@ This set of documents covers instructions on how to use Remix and some tutorials analysis_tab terminal -.. _tutorials and workshops: +.. tutorials-and-workshops: .. toctree:: :maxdepth: 2 @@ -57,7 +57,7 @@ This set of documents covers instructions on how to use Remix and some tutorials tutorial_import tutorial_mist -.. _code-contribution-guide: +.. code-contribution-guide: .. toctree:: :maxdepth: 2