Skip to content

Commit 63e7323

Browse files
Follow requirements.txt
1 parent 7aafad9 commit 63e7323

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ jobs:
2222
python-version: '3.x'
2323
- name: Install Sphinx
2424
run: |
25-
pip install --upgrade setuptools
26-
pip install sphinx
27-
pip install sphinx_rtd_theme
28-
pip install sphinxemoji
29-
pip install sphinxext.opengraph
25+
pip install -r requirements.txt
3026
- name: Build Pages
3127
run: python -msphinx . docs
3228
- name: Upload artifact

conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
'sphinx_rtd_theme',
77
'sphinxemoji.sphinxemoji',
88
'sphinxext.opengraph',
9+
'sphinx_favicon',
910
]
1011

1112
templates_path = ['_templates']
@@ -14,6 +15,9 @@
1415
html_theme = 'sphinx_rtd_theme'
1516
html_static_path = ['_static']
1617
html_extra_path = ['CNAME', '.nojekyll']
17-
html_favicon = "/_static/favicon.ico"
18+
19+
favicons = [
20+
{"href": "favicon.ico"},
21+
]
1822

1923
ogp_image = "/_static/aws-jq.png"

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ MarkupSafe==2.1.3
1010
packaging==23.2
1111
Pygments==2.17.2
1212
requests==2.31.0
13+
setuptools==75.1.0
1314
snowballstemmer==2.2.0
1415
Sphinx==7.2.6
16+
sphinx-favicon==1.0.1
1517
sphinx-rtd-theme==2.0.0
1618
sphinxcontrib-applehelp==1.0.7
1719
sphinxcontrib-devhelp==1.0.5

0 commit comments

Comments
 (0)