Skip to content

Commit a3d8f44

Browse files
authored
Update sphinxtheme to pull from pypi package (#1091)
1 parent 5fb337c commit a3d8f44

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ jobs:
4848
4949
- name: Install docs requirements and project
5050
run: |
51-
pip install -r docs/requirements.txt
52-
pip install -e .
51+
pip install -e .[docs]
5352
5453
- name: Setup Pages
5554
uses: actions/configure-pages@v5

.github/workflows/docs-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
3737
- name: Install docs requirements and project
3838
run: |
39-
pip install -r docs/requirements.txt
40-
pip install -e .
39+
pip install -e .[docs]
4140
4241
- name: Build documentation
4342
run: |

docs/requirements.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@ dev = [
3333
"pre-commit",
3434
"hypothesis"
3535
]
36+
docs = [
37+
"docutils==0.18.1,<0.21",
38+
"linkify-it-py",
39+
"myst-parser",
40+
"pillow",
41+
"pytorch_sphinx_theme2==0.2.0",
42+
"sphinx==7.2.6",
43+
"sphinx-autobuild",
44+
"sphinx-autodoc-typehints",
45+
"sphinx-design==0.6.1",
46+
"sphinx-gallery==0.14.0",
47+
"sphinx-sitemap==2.7.1",
48+
"sphinxcontrib-mermaid==1.0.0",
49+
"sphinxcontrib.katex==0.9.10",
50+
"sphinxext-opengraph",
51+
"torch"
52+
]
3653

3754
[project.urls]
3855
Homepage = "https://github.com/pytorch/helion"

0 commit comments

Comments
 (0)