Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC, MAINT: test theme CSS fixes #8961

Merged
merged 6 commits into from
Feb 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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