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
d03ae727
Commit
d03ae727
authored
May 24, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Docs
parent
5a8112d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
conf.py
docs/conf.py
+9
-10
No files found.
docs/conf.py
View file @
d03ae727
...
@@ -22,7 +22,6 @@ import os
...
@@ -22,7 +22,6 @@ import os
# 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.parser
import
CommonMarkParser
from
recommonmark.parser
import
CommonMarkParser
from
recommonmark.transform
import
AutoStructify
source_parsers
=
{
'.md'
:
CommonMarkParser
}
source_parsers
=
{
'.md'
:
CommonMarkParser
}
# -- General configuration ------------------------------------------------
# -- General configuration ------------------------------------------------
...
@@ -294,11 +293,11 @@ texinfo_documents = [
...
@@ -294,11 +293,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)
\ No newline at end of file
\ No newline at end of file
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