Skip to content

Commit

Permalink
Update static.yml conf.py pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TY-Cheng committed Oct 16, 2024
1 parent 522bee1 commit 04c8ca8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
deploy:
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.12"]

runs-on: ubuntu-latest
# Give commit access to the workflow
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install sphinx sphinx-pyproject furo torch scipy numpy
python -m pip install sphinx sphinx-pyproject furo
# Build the docs using Sphinx
- name: Sphinx build
run: |
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
html_theme = config.get("html_theme", "furo")
html_title = f"{project} v{version}"
html_theme_options = {
"sidebar_hide_name": True,
# "sidebar_hide_name": True,
# "light_logo": "../torchvinecopulib.png",
# "dark_logo": "../torchvinecopulib.png",
# "sticky_navigation": True,
"navigation_with_keys": True,
# "navigation_with_keys": True,
# "footer_text": f"© {copyright}",
# "navigation_depth": 4,
# "titles_only": False,
Expand Down
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,11 @@ classifiers = [
"Topic :: Scientific/Engineering",
]

[tool.sphinx-pyproject]
extensions = [
"sphinx.ext.githubpages",
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.sphinx-pyproject.build]
[tool.sphinx-pyproject]
source-dir = "docs"
build-dir = "docs/_build"
all_files = true
Expand Down

0 comments on commit 04c8ca8

Please sign in to comment.