Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
aa019091
Unverified
Commit
aa019091
authored
May 24, 2018
by
Nina Breznik
Committed by
GitHub
May 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #810 from ethereum/docs
Markdown setup
parents
f1ca2cc6
37a120c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
conf.py
docs/conf.py
+10
-3
No files found.
docs/conf.py
View file @
aa019091
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
import
sys
import
sys
import
os
import
os
import
recommonmark
from
recommonmark.transform
import
AutoStructify
# 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
...
@@ -43,9 +45,7 @@ source_parsers = {
...
@@ -43,9 +45,7 @@ source_parsers = {
'.md'
:
CommonMarkParser
,
'.md'
:
CommonMarkParser
,
}
}
# The suffix(es) of source filenames.
source_suffix
=
[
'.rst'
,
'.md'
]
# You can specify multiple suffix as a list of string:
source_suffix
=
[
'.rst'
,
'.md'
]
html
# The encoding of source files.
# The encoding of source files.
#source_encoding = 'utf-8-sig'
#source_encoding = 'utf-8-sig'
...
@@ -293,3 +293,10 @@ texinfo_documents = [
...
@@ -293,3 +293,10 @@ 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
def
setup
(
app
):
app
.
add_config_value
(
'recommonmark_config'
,
{
'url_resolver'
:
lambda
url
:
github_doc_root
+
url
,
'auto_toc_tree_section'
:
'Contents'
,
},
True
)
app
.
add_transform
(
AutoStructify
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment