Skip to content

Commit

Permalink
DOC, MAINT: test theme CSS fixes (#8961)
Browse files Browse the repository at this point in the history
* remove css theme overrides

* remove obsolete javascript after upstream theme fixes

* update theme commit number

* missed one

* Update requirements_doc.txt

* FIX: Workaround pip

Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
drammock and larsoner authored Feb 26, 2021
1 parent 8178cca commit 3a0812f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 53 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ jobs:
keys:
- user-install-bin-cache

# Hack in uninstalls of libraries as necessary if pip doesn't do the right thing in upgrading for us...
- run:
name: Get Python running
command: |
python -m pip uninstall -y pydata-sphinx-theme
python -m pip install --user --upgrade --progress-bar off pip setuptools
python -m pip install --user --upgrade --progress-bar off --pre sphinx
python -m pip install --user --upgrade --progress-bar off -r requirements.txt -r requirements_testing.txt -r requirements_doc.txt
Expand Down
31 changes: 0 additions & 31 deletions doc/_static/scrollfix.js

This file was deleted.

21 changes: 0 additions & 21 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,24 +167,3 @@ div.frontpage-gallery:hover .fadeout {
img.hidden {
visibility: hidden;
}

/* workaround for https://github.com/pydata/pydata-sphinx-theme/issues/315
(other part of workaround is in doc/_static/scrollfix.js) */
:target::before {
/* must use !important here to override sphinx-gallery CSS too, which
uses more specific selectors */
display: unset !important;
margin: unset !important;
height: unset !important;
background-color: unset !important;
}

/* workaround for https://github.com/pydata/pydata-sphinx-theme/pull/313 */
.navbar {
overflow: visible;
height: var(--header-height);
min-height: unset;
}
#navbar-menu {
background-color: #fff;
}
2 changes: 1 addition & 1 deletion requirements_doc.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sphinx
https://github.com/numpy/numpydoc/archive/master.zip
git+git://github.com/pydata/pydata-sphinx-theme.git@270bf6c60de2c9f16aa32c3eeb6de39f0ee0e734
https://github.com/pydata/pydata-sphinx-theme/zipball/93b5115834435c995138da4be9ad7bbcfbca8127
sphinx-gallery
sphinxcontrib-bibtex>=2.1.2
memory_profiler
Expand Down

0 comments on commit 3a0812f

Please sign in to comment.