Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ben Sepanski
loopy
Commits
2c2d39cc
Commit
2c2d39cc
authored
11 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Switch doc theme to Bootstrap.
parent
b9706738
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/_static/akdoc.css
+53
-0
53 additions, 0 deletions
doc/_static/akdoc.css
doc/_templates/layout.html
+2
-0
2 additions, 0 deletions
doc/_templates/layout.html
doc/conf.py
+18
-3
18 additions, 3 deletions
doc/conf.py
with
73 additions
and
3 deletions
doc/_static/akdoc.css
0 → 100644
+
53
−
0
View file @
2c2d39cc
pre
{
line-height
:
100%
;
}
.footer
{
background-color
:
#eee
;
}
body
>
div
.container
{
margin-top
:
10px
;
}
dd
{
margin-left
:
40px
;
}
tt
.descname
{
font-size
:
100%
;
}
code
{
color
:
rgb
(
51
,
51
,
51
);
}
h1
{
padding-bottom
:
5px
;
border-bottom
:
1px
solid
#ccc
;
}
h2
{
padding-bottom
:
1px
;
border-bottom
:
1px
solid
#ccc
;
}
h3
{
padding-bottom
:
1px
;
border-bottom
:
1px
solid
#ccc
;
}
.rubric
{
font-size
:
120%
;
padding-bottom
:
1px
;
border-bottom
:
1px
solid
#ccc
;
}
.headerlink
{
padding-left
:
1ex
;
padding-right
:
1ex
;
}
a
.headerlink
:hover
{
text-decoration
:
none
;
}
This diff is collapsed.
Click to expand it.
doc/_templates/layout.html
0 → 100644
+
2
−
0
View file @
2c2d39cc
{% extends "!layout.html" %}
{% set css_files = css_files + ['_static/akdoc.css']%}
This diff is collapsed.
Click to expand it.
doc/conf.py
+
18
−
3
View file @
2c2d39cc
...
...
@@ -91,9 +91,24 @@ pygments_style = 'sphinx'
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme
=
'
default
'
try
:
import
sphinx_bootstrap_theme
except
:
from
warnings
import
warn
warn
(
"
I would like to use the sphinx bootstrap theme, but can
'
t find it.
\n
"
"'
pip install sphinx_bootstrap_theme
'
to fix.
"
)
else
:
# Activate the theme.
html_theme
=
'
bootstrap
'
html_theme_path
=
sphinx_bootstrap_theme
.
get_html_theme_path
()
# 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
# documentation.
html_theme_options
=
{
'
navbar_fixed_top
'
:
"
true
"
,
'
navbar_class
'
:
"
navbar navbar-inverse
"
,
}
# 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
...
...
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