From eea17fe963a4534732f77c36e838dccd9667c80c Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Tue, 4 Dec 2018 21:09:30 -0500 Subject: [PATCH 01/11] Previous button float left Fixes #621 --- sphinx_rtd_theme/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html index 66261c1..11f672e 100644 --- a/sphinx_rtd_theme/footer.html +++ b/sphinx_rtd_theme/footer.html @@ -5,7 +5,7 @@ {% endif %} {% if prev %} - + {% endif %} {% endif %} From 3f635171fa554cca5b4f58b6f785f892b444c299 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Fri, 7 Dec 2018 21:46:38 -0500 Subject: [PATCH 02/11] Update breadcrumbs.html --- sphinx_rtd_theme/breadcrumbs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_rtd_theme/breadcrumbs.html b/sphinx_rtd_theme/breadcrumbs.html index 31550d8..5578b61 100644 --- a/sphinx_rtd_theme/breadcrumbs.html +++ b/sphinx_rtd_theme/breadcrumbs.html @@ -74,7 +74,7 @@ Next {% endif %} {% if prev %} - Previous + Previous {% endif %} {% endif %} From 111506509082fb81791feb9b4623ec544a657594 Mon Sep 17 00:00:00 2001 From: dojutsu-user Date: Tue, 18 Dec 2018 10:44:55 +0530 Subject: [PATCH 03/11] Add vertical scroll --- sass/_theme_badge.sass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sass/_theme_badge.sass b/sass/_theme_badge.sass index f2f0489..52f07a7 100644 --- a/sass/_theme_badge.sass +++ b/sass/_theme_badge.sass @@ -35,7 +35,8 @@ color: $black &.shift-up height: auto - max-height: 100% + max-height: 90% + overflow-y: scroll &.shift-up .rst-other-versions display: block .rst-other-versions From ab10feb6a5fe03f24fc6073509276c4cf47e1f32 Mon Sep 17 00:00:00 2001 From: David Fischer Date: Tue, 18 Dec 2018 11:45:19 -0800 Subject: [PATCH 04/11] Fix line endings (#709) * Note that .bat has CRLF endings * Remove line endings on .bat It will be normalized correctly on checkout --- .gitattributes | 1 + docs/make.bat | 76 +++++++++++++++++++++++++------------------------- 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/.gitattributes b/.gitattributes index 2be5a44..60eac25 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,7 @@ # Document global line endings settings # https://help.github.com/articles/dealing-with-line-endings/ * text eol=lf +*.bat text eol=crlf # Denote all files that are truly binary and should not be modified. diff --git a/docs/make.bat b/docs/make.bat index bc934aa..7c9b71a 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -1,38 +1,38 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=python -msphinx -) -set SPHINXOPTS= -set SPHINXBUILD=sphinx-build -set SOURCEDIR=. -set BUILDDIR=build -set SPHINXPROJ=ReadtheDocsSphinxTheme - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The Sphinx module was not found. Make sure you have Sphinx installed, - echo.then set the SPHINXBUILD environment variable to point to the full - echo.path of the 'sphinx-build' executable. Alternatively you may add the - echo.Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% - -:end -popd +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=python -msphinx +) +set SPHINXOPTS= +set SPHINXBUILD=sphinx-build +set SOURCEDIR=. +set BUILDDIR=build +set SPHINXPROJ=ReadtheDocsSphinxTheme + +if "%1" == "" goto help + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The Sphinx module was not found. Make sure you have Sphinx installed, + echo.then set the SPHINXBUILD environment variable to point to the full + echo.path of the 'sphinx-build' executable. Alternatively you may add the + echo.Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% + +:end +popd From acc5c68b31edb7db1562a2234c7559c907d2c5e0 Mon Sep 17 00:00:00 2001 From: dojutsu-user Date: Wed, 19 Dec 2018 14:30:28 +0530 Subject: [PATCH 05/11] set max-height --- sass/_theme_badge.sass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sass/_theme_badge.sass b/sass/_theme_badge.sass index 52f07a7..13f0b25 100644 --- a/sass/_theme_badge.sass +++ b/sass/_theme_badge.sass @@ -35,7 +35,7 @@ color: $black &.shift-up height: auto - max-height: 90% + max-height: 100% overflow-y: scroll &.shift-up .rst-other-versions display: block @@ -65,6 +65,7 @@ left: auto border: none max-width: $nav-desktop-width + max-height: 100% .icon-book float: none .fa-book From 3af8d2f664dfaecc43ed776490aae6d1dcd406ab Mon Sep 17 00:00:00 2001 From: Gergely Csatari Date: Wed, 19 Dec 2018 11:09:15 +0100 Subject: [PATCH 06/11] Making the background of search configurable Signed-off-by: Gergely Csatari --- sphinx_rtd_theme/layout.html | 3 +-- sphinx_rtd_theme/theme.conf | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index 2df1b39..8d497e9 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -105,11 +105,10 @@ {% block extrabody %} {% endblock %}
- {# SIDE NAV, TOGGLES ON MOBILE #}