Skip to content

Commit

Permalink
Typo in pipeline + add custom css rule for wide screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsmie committed May 17, 2021
1 parent f128f75 commit 0b73ff9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .azure/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ steps:
- bash: |
set -e -x
rm -rf "documentation-repo/docs/c/${DOCS_TAG}" || true
cp -R "build/docs/docs" "documentation-repo/docs/c/${DOCS_TAG})"
cp -R "build/docs/docs" "documentation-repo/docs/c/${DOCS_TAG}"
cd documentation-repo
git add "docs/c/${DOCS_TAG}"
git config --local user.name "Azure Pipelines"
Expand Down
4 changes: 2 additions & 2 deletions cmake/Modules/FindSphinx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ function(sphinx_add_docs _target)
file(MAKE_DIRECTORY "${_cachedir}")
file(MAKE_DIRECTORY "${_cachedir}/_static")

if(EXISTS "${_sourcedir}/conf.py.in")
configure_file("${_sourcedir}/conf.py.in" "${_cachedir}/conf.py" @ONLY)
if(EXISTS "${_sourcedir}/conf.py")
configure_file("${_sourcedir}/conf.py" "${_cachedir}/conf.py" @ONLY)
else()
_Sphinx_generate_confpy(${_target} "${_cachedir}")
endif()
Expand Down
4 changes: 4 additions & 0 deletions docs/manual/_static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

.wy-nav-content {
max-width: 1200px !important;
}
4 changes: 4 additions & 0 deletions docs/manual/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% extends "!layout.html" %}
{% block extrahead %}
<link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
{% endblock %}
File renamed without changes.

0 comments on commit 0b73ff9

Please sign in to comment.