Skip to content

Commit 0c34bd0

Browse files
authoredOct 29, 2021
Merge pull request #10 from python-ed-open-doc/t9-update-sphinx-rtd-theme
#9 sphinxを更新、read the docs themeを設定
2 parents b1fb5f5 + 98cac99 commit 0c34bd0

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed
 

Diff for: ‎constraints.txt

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
alabaster==0.7.12
22
attrs==21.2.0
33
Babel==2.9.1
4-
certifi==2021.5.30
5-
charset-normalizer==2.0.4
4+
certifi==2021.10.8
5+
charset-normalizer==2.0.7
66
docutils==0.17.1
7-
idna==3.2
7+
idna==3.3
88
imagesize==1.2.0
9-
Jinja2==3.0.1
9+
Jinja2==3.0.2
1010
markdown-it-py==1.1.0
1111
MarkupSafe==2.0.1
1212
mdit-py-plugins==0.2.8
13-
myst-parser==0.15.1
13+
myst-parser==0.15.2
1414
packaging==21.0
1515
Pygments==2.10.0
16-
pyparsing==2.4.7
17-
pytz==2021.1
18-
PyYAML==5.4.1
16+
pyparsing==3.0.3
17+
pytz==2021.3
18+
PyYAML==6.0
1919
requests==2.26.0
2020
snowballstemmer==2.1.0
21-
Sphinx==4.1.2
21+
Sphinx==4.2.0
22+
sphinx-rtd-theme==1.0.0
2223
sphinxcontrib-applehelp==1.0.2
2324
sphinxcontrib-devhelp==1.0.2
2425
sphinxcontrib-htmlhelp==2.0.0
2526
sphinxcontrib-jsmath==1.0.1
2627
sphinxcontrib-qthelp==1.0.3
2728
sphinxcontrib-serializinghtml==1.1.5
28-
urllib3==1.26.6
29+
urllib3==1.26.7

Diff for: ‎requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Sphinx
22
myst-parser
3+
sphinx-rtd-theme

Diff for: ‎source/conf.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# The theme to use for HTML and HTML Help pages. See the documentation for
5353
# a list of builtin themes.
5454
#
55-
html_theme = "alabaster"
55+
html_theme = "sphinx_rtd_theme"
5656

5757
# Add any paths that contain custom static files (such as style sheets) here,
5858
# relative to this directory. They are copied after the builtin static files,
@@ -63,3 +63,10 @@
6363
".rst": "restructuredtext",
6464
".md": "markdown",
6565
}
66+
67+
html_context = {
68+
'display_github': True,
69+
'github_user': 'python-ed-open-doc',
70+
'github_repo': 'python-starter-guide',
71+
'github_version': 'main/source/',
72+
}

0 commit comments

Comments
 (0)