diff --git a/.azure/build-documentation.yml b/.azure/build-documentation.yml index 914a749c34..4dbd83fa8b 100644 --- a/.azure/build-documentation.yml +++ b/.azure/build-documentation.yml @@ -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" diff --git a/cmake/Modules/FindSphinx.cmake b/cmake/Modules/FindSphinx.cmake index 2be72ef141..2eaff53954 100644 --- a/cmake/Modules/FindSphinx.cmake +++ b/cmake/Modules/FindSphinx.cmake @@ -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() diff --git a/docs/manual/_static/style.css b/docs/manual/_static/style.css new file mode 100644 index 0000000000..cb598e6545 --- /dev/null +++ b/docs/manual/_static/style.css @@ -0,0 +1,4 @@ + +.wy-nav-content { + max-width: 1200px !important; +} \ No newline at end of file diff --git a/docs/manual/_templates/layout.html b/docs/manual/_templates/layout.html new file mode 100644 index 0000000000..b0a4480600 --- /dev/null +++ b/docs/manual/_templates/layout.html @@ -0,0 +1,4 @@ +{% extends "!layout.html" %} +{% block extrahead %} + +{% endblock %} \ No newline at end of file diff --git a/docs/manual/conf.py.in b/docs/manual/conf.py similarity index 100% rename from docs/manual/conf.py.in rename to docs/manual/conf.py