|
|
@ -20,10 +20,7 @@ import os |
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
|
|
|
# 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 |
|
|
|
|
|
|
|
source_parsers = {'.md': CommonMarkParser} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
|
|
|
|
|
|
|
|
@ -42,7 +39,6 @@ templates_path = ['_templates'] |
|
|
|
# You can specify multiple suffix as a list of string: |
|
|
|
# You can specify multiple suffix as a list of string: |
|
|
|
# source_suffix = ['.rst', '.md'] |
|
|
|
# source_suffix = ['.rst', '.md'] |
|
|
|
|
|
|
|
|
|
|
|
source_suffix = ['.rst', '.md'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The encoding of source files. |
|
|
|
# The encoding of source files. |
|
|
|
#source_encoding = 'utf-8-sig' |
|
|
|
#source_encoding = 'utf-8-sig' |
|
|
@ -293,6 +289,11 @@ texinfo_documents = [ |
|
|
|
# If true, do not generate a @detailmenu in the "Top" node's menu. |
|
|
|
# If true, do not generate a @detailmenu in the "Top" node's menu. |
|
|
|
#texinfo_no_detailmenu = False |
|
|
|
#texinfo_no_detailmenu = False |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from recommonmark.parser import CommonMarkParser |
|
|
|
|
|
|
|
source_suffix = ['.rst', '.md'] |
|
|
|
|
|
|
|
source_parsers = {'.md': CommonMarkParser} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# app setup hook |
|
|
|
# app setup hook |
|
|
|
# def setup(app): |
|
|
|
# def setup(app): |
|
|
|
# app.add_config_value('recommonmark_config', { |
|
|
|
# app.add_config_value('recommonmark_config', { |
|
|
|