Skip to content

Commit

Permalink
Theme update fix: sphinx-panels to sphinx-design transition (#61)
Browse files Browse the repository at this point in the history
* Update Python to 3.11, Sphinx to 5.0, sphinx_book_theme to 1.0.0

* Updated RTD Python to 3.11

* Update sphinx-book-theme to 1.0.0. (1.1.0 is not yet supported by latest jupyter book)

* Update Copyright year in docs/_config.yml and docs/conf.py

* Add sphinx-design and change 'tabbed' directives to 'tab-set-code'

* Fix the depreations, layout changes since book-theme 0.1.10

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove sphinx-book-theme upper version pinning

* Fix RTD

* Fix sphinx-tabs

* Fix RTD by removing conda

* Add ci fodler and docs.yml

* Fix docs

* Add environment.yml fil

* Fix publish

* Remove environment and update ci.yml a bit

* Change conda list to pip list

* Remove sphinx inline tabs per review suggestion

* Separate pypi publishing from ci.yaml

* Migrate PyPI publishing to build invocations

* Update MANIFEST.in

* Theme update - Update all the layout sections/components and css features (#59)

* Re-populate layout

* Remove docs-navbar block from layout

* Remove docs-sidebar block from layout

* Remove topbar.html block from layout

* Remove _templates/prev-next.html block from layout

* Add super() call to content block in layout

* Add super() call to content block in layout

* Cut the block content

* Add banner and shim back

* Add super() call back

* Include _templates/prev-next.html

* Add shim back

* Add more into layout

* Remove block docs_sidebar

* Remove include topbar.html

* Convert _templates/ to components/

* Remove super() call

* Convert  components/ to _templates/components/

* Footer and prev-next from parent

* prev-next from parent

* More layout

* More layout

* Fix super.super() call in layout

* More layout

* docs_navbar

* docs_navbar

* docs_navbar

* docs_navbar

* docs_navbar

* docs_navbar

* footer and silenced elements

* docs_navbar

* docs_navbar

* shim and banner

* --breakpoint-md to --bs-breakpoint-md

* --breakpoint-md to --bs-breakpoint-md

* footer

* remove footer and more

* Add back footer

* footer

* footer

* footer

* footer

* footer

* docs_body

* docs_main super call

* footer

* footer

* bd-footer

* bd-footer

* bd-footer

* bd-footer

* remove footer

* add back footer

* bd-footer

* bd-footer super

* footer

* footer

* footer

* footer

* footer

* footer

* footer.html

* footer.html

* footer.html debug

* footer.html debug

* footer

* footer

* sections/footer

* footer

* footer

* footer-logos.html

* footer-info.html

* revert footer-info.html footer-logos.html

* footer.html

* footer.html

* footer.html

* footer.html

* footer.html

* footer.html

* footer

* footer

* footer

* footer

* footer

* footer

* footer

* layout

* css

* css colors

* css colors

* css colors

* layout banner

* css colors

* css colors

* css colors

* css colors

* css colors

* footer.html

* css

* css

* css

* css

* css

* scss

* css

* css

* css

* css and scss

* sphinx basic scss

* sphinx basic scss

* sphinx basic scss

* css colors

* css colors

* css colors

* css colors

* Update docs

* Fix navbar colors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix navbar colors

* Update layout and theme.scss to fix issues on foundations pages

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Move pypi.yaml to under github/workflows

* Correct an email to projectpythia's

* Change pst-color-text-muted to fix too light navbar links

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove a panels optione from conf.y

* Update setup.py

* Update setup.py

* Update requirements.txt

* Update setup.py

* Update setup.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
erogluorhan and pre-commit-ci[bot] authored Mar 29, 2024
1 parent 3c55d78 commit acf6dd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"sphinx_copybutton",
"sphinx_design",
"sphinx_external_toc",
"sphinx_panels",
"sphinx_tabs.tabs",
"sphinx_thebe",
"sphinx_togglebutton",
Expand Down Expand Up @@ -90,8 +89,6 @@

numfig = True

panels_add_bootstrap_css = False

source_suffix = {
".rst": "restructuredtext",
}
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ jupyter-book
matplotlib
pandas
sphinx-click
sphinx-design
sphinx-panels
sphinx_design
sphinx-tabs
sphinxcontrib-youtube
sphinxext-opengraph
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
zip_safe=True,
include_package_data=True,
install_requires=[
"sphinx-book-theme>=1.0.0",
"sphinx>=5.0",
"sphinx-book-theme>=1.0.0",
"sphinx_design",
],
packages=find_packages(),
entry_points={"sphinx.html_themes": ["sphinx_pythia_theme = sphinx_pythia_theme"]},
Expand Down

0 comments on commit acf6dd9

Please sign in to comment.