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
f6f61148
Commit
f6f61148
authored
May 24, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Docs
parent
a0c34a9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
conf.py
docs/conf.py
+9
-8
index.rst
docs/index.rst
+4
-4
No files found.
docs/conf.py
View file @
f6f61148
...
@@ -21,6 +21,7 @@ import os
...
@@ -21,6 +21,7 @@ import os
# 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
from
recommonmark.parser
import
CommonMarkParser
source_parsers
=
{
'.md'
:
CommonMarkParser
}
source_parsers
=
{
'.md'
:
CommonMarkParser
}
...
@@ -293,11 +294,11 @@ texinfo_documents = [
...
@@ -293,11 +294,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)
docs/index.rst
View file @
f6f61148
...
@@ -25,7 +25,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
...
@@ -25,7 +25,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
settings_tab
settings_tab
.. deploy
and
test:
.. deploy
-and-
test:
.. toctree::
.. toctree::
:maxdepth: 2
:maxdepth: 2
...
@@ -34,7 +34,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
...
@@ -34,7 +34,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
run_tab
run_tab
udapp
udapp
..
_
other-remix-features:
.. other-remix-features:
.. toctree::
.. toctree::
:maxdepth: 2
:maxdepth: 2
...
@@ -45,7 +45,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
...
@@ -45,7 +45,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
analysis_tab
analysis_tab
terminal
terminal
..
_tutorials and
workshops:
..
tutorials-and-
workshops:
.. toctree::
.. toctree::
:maxdepth: 2
:maxdepth: 2
...
@@ -57,7 +57,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
...
@@ -57,7 +57,7 @@ This set of documents covers instructions on how to use Remix and some tutorials
tutorial_import
tutorial_import
tutorial_mist
tutorial_mist
..
_
code-contribution-guide:
.. code-contribution-guide:
.. toctree::
.. toctree::
:maxdepth: 2
:maxdepth: 2
...
...
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