Skip to content

Commit

Permalink
update doc theme
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener committed Mar 31, 2023
1 parent d67d485 commit cd63098
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 211 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
pip install wheel numpy Cython
pip install biom-format
pip install -e .
pip install "sphinx>=4.5" "nbsphinx>=0.8.11" "sphinx-book-theme>=0.3.3" sphinx-autoapi recommonmark
pip install "sphinx>=6.0" "nbsphinx>=0.9.0" furo sphinx-autoapi recommonmark
- name: Build docs
run: |
cp NEWS.md docs/source
Expand Down
11 changes: 9 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# The full version, including alpha/beta/rc tags.
release = micom.__version__

html_theme = "sphinx_book_theme"
html_theme = "furo"
html_title = "version " + release
html_logo = "micom.png"

Expand All @@ -81,7 +81,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -120,6 +120,13 @@
# Output file base name for HTML help builder.
htmlhelp_basename = "micomdoc"

html_theme_options = {
"light_css_variables": {
"font-stack": "Open Sans, Liberation Sans, sans-serif, Arial",
"font-stack--monospace": "Fira Sans Mono, Inconsolata, monospace, Courier",
},
}


# -- Options for LaTeX output ---------------------------------------------

Expand Down

0 comments on commit cd63098

Please sign in to comment.