-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul docs with PyData Sphinx Theme (#194)
* remove `build/`, `pictures/`, and other files + No longer need tracking on this repo branch * theme bootstrap --> pydata (with defaults) * local --> remote picture loading * Update intersphinx-mapping links * rm time, os --> pathlib * organize conf.py file * remove api signatures * add all pages to navbar * html --> rst dropdowns in FAQ * remove changelog toc bc now in sidebar * minor styling * try gh-pages action build * add missing docs requirement * minor header changes * consistent rst indent spacing (4) * heavy conf.py comments * update build instructions
- Loading branch information
Showing
204 changed files
with
1,091 additions
and
50,775 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Workflow for building sphinx documentation remotely | ||
# and deploying the static HTML to a GitHub Pages site. | ||
# Note this approach does not require the static HTML | ||
# files to be stored/pushed/committed to an alternate | ||
# pages branch or anything like that. It uses GitHub Action artifacts. | ||
# https://github.com/sphinx-notes/pages | ||
name: Build and Deploy Sphinx Docs to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- pydata-theme | ||
release: | ||
types: | ||
- published | ||
pull_request: | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
permissions: | ||
pages: write | ||
id-token: write | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: sphinx-notes/pages@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* -------------------- THEME OVERRIDES -------------------- */ | ||
|
||
|
||
/* -------------------- NAV BAR-------------------- */ | ||
|
||
/* navbar logo needs to be shrunk a bit */ | ||
html .navbar-brand img { | ||
height: calc(var(--pst-header-height) / 3); | ||
width: auto; | ||
} | ||
|
||
/* navbar logo needs to be inverted for visibility in light theme */ | ||
html[data-theme="light"] .navbar-brand img { | ||
filter: invert(1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.