Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
pymor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
pyMOR
pymor
Commits
a40035d9
Commit
a40035d9
authored
Jul 15, 2020
by
René Fritze
Committed by
René Fritze
Jul 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sphinx] only minify in CI runs
parent
e8e0aabf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
docs/source/conf.py
docs/source/conf.py
+5
-3
No files found.
docs/source/conf.py
View file @
a40035d9
...
...
@@ -152,12 +152,14 @@ pygments_style = 'sphinx'
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
# html_style = 'pymor.css'
on_gitlab_ci
=
os
.
environ
.
get
(
'GITLAB_CI'
,
'nope'
)
!=
'nope'
html_theme
=
'sphinx_material'
html_theme_options
=
{
'base_url'
:
'https://gh-docs.pymor.org/'
,
'html_minify'
:
True
,
'css_minify'
:
True
,
'html_minify'
:
on_gitlab_ci
,
'css_minify'
:
on_gitlab_ci
,
'nav_title'
:
'pyMOR Documentation'
,
'logo_icon'
:
''
,
'globaltoc_depth'
:
5
,
...
...
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