Merge pull request #817 from ethereum/fixDocs

fix Docs
pull/7/head
yann300 7 years ago committed by GitHub
commit 2d68904b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      docs/conf.py

@ -22,7 +22,6 @@ import os
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('.'))
from recommonmark.parser import CommonMarkParser
from recommonmark.transform import AutoStructify
source_parsers = {'.md': CommonMarkParser}
# -- General configuration ------------------------------------------------
@ -294,11 +293,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)
Loading…
Cancel
Save