Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
a5853c8b
Commit
a5853c8b
authored
4 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
DOC: add rtd theme
parent
50c3fb2d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/doc/conf.py
+4
-1
4 additions, 1 deletion
src/doc/conf.py
src/test/docker/Dockerfile
+1
-1
1 addition, 1 deletion
src/test/docker/Dockerfile
with
5 additions
and
2 deletions
src/doc/conf.py
+
4
−
1
View file @
a5853c8b
...
@@ -29,6 +29,8 @@ version = '0.X.Y'
...
@@ -29,6 +29,8 @@ version = '0.X.Y'
release
=
'
0.x.y-beta-rc2
'
release
=
'
0.x.y-beta-rc2
'
import
sphinx
-
rtd
-
theme
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
# If your documentation needs a minimal Sphinx version, state it here.
...
@@ -45,6 +47,7 @@ extensions = [
...
@@ -45,6 +47,7 @@ extensions = [
'
sphinx.ext.napoleon
'
,
# For Google style docstrings
'
sphinx.ext.napoleon
'
,
# For Google style docstrings
"
recommonmark
"
,
# For markdown files.
"
recommonmark
"
,
# For markdown files.
"
sphinx.ext.autosectionlabel
"
,
# Allow reference sections using its title
"
sphinx.ext.autosectionlabel
"
,
# Allow reference sections using its title
"
sphinx-rtd-theme
"
,
]
]
# Add any paths that contain templates here, relative to this directory.
# Add any paths that contain templates here, relative to this directory.
...
@@ -80,7 +83,7 @@ pygments_style = None
...
@@ -80,7 +83,7 @@ pygments_style = None
# The theme to use for HTML and HTML Help pages. See the documentation for
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# a list of builtin themes.
#
#
html_theme
=
'
alabaster
'
html_theme
=
'
sphinx-rtd-theme
'
# Theme options are theme-specific and customize the look and feel of a theme
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# further. For a list of options available for each theme, see the
...
...
This diff is collapsed.
Click to expand it.
src/test/docker/Dockerfile
+
1
−
1
View file @
a5853c8b
...
@@ -5,7 +5,7 @@ RUN apt-get update && \
...
@@ -5,7 +5,7 @@ RUN apt-get update && \
python3-pip screen libpam0g-dev unzip curl shunit2
\
python3-pip screen libpam0g-dev unzip curl shunit2
\
python3-sphinx
\
python3-sphinx
\
&&
\
&&
\
pip3
install
javasphinx recommonmark
pip3
install
javasphinx recommonmark
sphinx-rtd-theme
# Alternative, if javasphinx fails because python3-sphinx is too recent:
# Alternative, if javasphinx fails because python3-sphinx is too recent:
# (`_l` not found):
# (`_l` not found):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment