Skip to content

Commit

Permalink
update examples and active config files
Browse files Browse the repository at this point in the history
Issue-ID: DOC-798

Signed-off-by: thmsdt <[email protected]>
Change-Id: Ifdf67102aa90e992e3803e279c797143a4ab48c1
  • Loading branch information
thmsdt committed Oct 12, 2022
1 parent db7450d commit 1bd9a4e
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"restructuredtext.confPath": "${workspaceFolder}/docs"
"restructuredtext.confPath": "${workspaceFolder}/docs",
"esbonio.sphinx.confDir": "${workspaceFolder}/docs"
}
13 changes: 11 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@
html_show_sphinx = False

extensions = [
'sphinx.ext.intersphinx','sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz']
'sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
'sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag',
'sphinxcontrib.swaggerdoc',
'sphinxcontrib.plantuml'
]

#
# Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
Expand Down Expand Up @@ -75,3 +80,7 @@

def setup(app):
app.add_css_file("css/ribbon.css")

linkcheck_ignore = [
r'http://localhost:\d+/'
]
3 changes: 2 additions & 1 deletion etc/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sphinx-rtd-theme>=1.0.0 # MIT
sphinxcontrib-blockdiag # BSD
sphinxcontrib-seqdiag # BSD
sphinxcontrib-swaggerdoc
autopep8
sphinxcontrib-spelling
sphinxcontrib-plantuml
autopep8
pylint
2 changes: 1 addition & 1 deletion examples/sphinx/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
python:
version: 3.7
install:
- requirements: etc/requirements-docs.txt
- requirements: requirements-docs.txt

submodules:
include: all
Expand Down
14 changes: 11 additions & 3 deletions examples/sphinx/master/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
html_show_sphinx = False

extensions = [
'sphinx.ext.intersphinx','sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz',
'sphinxcontrib.spelling']
'sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
'sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag',
'sphinxcontrib.swaggerdoc',
'sphinxcontrib.plantuml'
]

#
# Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
Expand All @@ -46,3 +50,7 @@

def setup(app):
app.add_css_file("css/ribbon.css")

linkcheck_ignore = [
r'http://localhost:\d+/'
]
1 change: 1 addition & 0 deletions examples/sphinx/master/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ sphinxcontrib-blockdiag # BSD
sphinxcontrib-seqdiag # BSD
sphinxcontrib-swaggerdoc
sphinxcontrib-spelling
sphinxcontrib-plantuml
14 changes: 11 additions & 3 deletions examples/sphinx/release/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
html_show_sphinx = False

extensions = [
'sphinx.ext.intersphinx','sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz',
'sphinxcontrib.spelling']
'sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
'sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag',
'sphinxcontrib.swaggerdoc',
'sphinxcontrib.plantuml'
]

#
# Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
Expand All @@ -46,3 +50,7 @@

def setup(app):
app.add_css_file("css/ribbon.css")

linkcheck_ignore = [
r'http://localhost:\d+/'
]
1 change: 1 addition & 0 deletions examples/sphinx/release/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ sphinxcontrib-blockdiag # BSD
sphinxcontrib-seqdiag # BSD
sphinxcontrib-swaggerdoc
sphinxcontrib-spelling
sphinxcontrib-plantuml

0 comments on commit 1bd9a4e

Please sign in to comment.