Skip to content

Commit

Permalink
add pydata theme to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Mar 3, 2024
1 parent b5186f0 commit 4b01281
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ build:
tools:
python: "3.11"

# python:
# version: 3.11
# install:
# - requirements: docs/requirements.txt
# - method: pip
# path: .
python:
version: 3.11
install:
- requirements: docs/requirements.txt
- method: pip
path: .
# extra_requirements:
# - docs

Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pydata_sphinx_theme>=0.6.3
13 changes: 12 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
# import pydata_sphinx_theme

project = "unicloud"
copyright = "2024, Mostafa Farrag"
Expand All @@ -25,5 +26,15 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "alabaster"
html_theme = "pydata_sphinx_theme"

# Set the theme name
# Optionally, you can customize the theme's configuration
html_theme_options = {
"navigation_depth": 4,
"show_prev_next": False,
"show_toc_level": 2,
# Add any other theme options here
}

html_static_path = ["_static"]

0 comments on commit 4b01281

Please sign in to comment.