Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-gluon
Commits
e7df3246
Unverified
Commit
e7df3246
authored
3 years ago
by
Matthias Schiffer
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #2249 from freifunk-gluon/doctheme
docs: update Sphinx theme
parents
338a831a
65c9d05d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.readthedocs.yml
+16
-0
16 additions, 0 deletions
.readthedocs.yml
docs/_static/css/custom.css
+0
-35
0 additions, 35 deletions
docs/_static/css/custom.css
docs/requirements.txt
+1
-1
1 addition, 1 deletion
docs/requirements.txt
with
17 additions
and
36 deletions
.readthedocs.yml
0 → 100644
+
16
−
0
View file @
e7df3246
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version
:
2
# Build documentation in the docs/ directory with Sphinx
sphinx
:
configuration
:
docs/conf.py
# Optionally set the version of Python and requirements required to build your docs
python
:
version
:
3.8
install
:
-
requirements
:
docs/requirements.txt
This diff is collapsed.
Click to expand it.
docs/_static/css/custom.css
+
0
−
35
View file @
e7df3246
...
...
@@ -8,38 +8,3 @@
.rst-content
div
[
class
^=
'highlight'
]
pre
{
overflow
:
visible
;
}
/*
This fixes the bottom margin of paragraphs inside lists, where margins inside
a single list item would incorrectly be displayed larger than margins between
the list items.
Upstream fix (not fixed on readthedocs.io yet):
https://github.com/readthedocs/sphinx_rtd_theme/commit/ac20ce75d426efeb40fe2af1f89ea9bad285a45b
*/
.rst-content
.section
ol
li
>
p
,
.rst-content
.section
ol
li
>
p
:last-child
,
.rst-content
.section
ul
li
>
p
,
.rst-content
.section
ul
li
>
p
:last-child
{
margin-bottom
:
12px
;
}
.rst-content
.section
ol
li
>
p
:only-child
,
.rst-content
.section
ol
li
>
p
:only-child:last-child
,
.rst-content
.section
ul
li
>
p
:only-child
,
.rst-content
.section
ul
li
>
p
:only-child:last-child
{
margin-bottom
:
0rem
;
}
/*
This fixes the bottom margin of nested lists
Based on upstream fix (not on readthedocs.io yet):
https://github.com/readthedocs/sphinx_rtd_theme/commit/6f0de13baff93f25204aa2cdf0308aae47d71312
*/
.rst-content
.section
ul
li
>
ul
,
.rst-content
.section
ul
li
>
ol
,
.rst-content
.section
ol
li
>
ul
,
.rst-content
.section
ol
li
>
ol
{
margin-bottom
:
12px
;
}
This diff is collapsed.
Click to expand it.
docs/requirements.txt
+
1
−
1
View file @
e7df3246
sphinx-rtd-theme
sphinx-rtd-theme
==0.5.2
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