Skip to content

Commit 05e178f

Browse files
committed
Update docs.
1 parent e0c0a99 commit 05e178f

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

doc-source/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,10 @@ def setup(app):
7979

8080

8181
nitpicky = True
82+
needspace_amount = r"5\baselineskip"
83+
favicons = [{
84+
"rel": "icon",
85+
"href": "https://python-coincidence.github.io/assets/coincidence.ico",
86+
"sizes": "48x48",
87+
"type": "image/vnd.microsoft.icon"
88+
}]

doc-source/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,15 @@ Installation
129129
Contents
130130
---------
131131

132+
.. html-section::
133+
132134
.. toctree::
133135
:hidden:
134136

135137
Home<self>
136138

137139
.. toctree::
138140
:maxdepth: 3
139-
:caption: Documentation
140141

141142
usage
142143
hooks
@@ -150,6 +151,7 @@ Contents
150151

151152
Contributing Guide <https://contributing-to-coincidence.readthedocs.io/en/latest/>
152153

154+
153155
.. start links
154156
155157
.. only:: html

doc-source/requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ extras-require>=0.2.0
33
furo>=2020.11.19b18
44
html-section>=0.1.0
55
seed-intersphinx-mapping>=0.3.1
6-
sphinx<3.4.0,>=3.0.3
6+
sphinx>=3.0.3
77
sphinx-copybutton>=0.2.12
88
sphinx-debuginfo>=0.1.0
9+
sphinx-favicon>=0.2
910
sphinx-licenseinfo>=0.1.1
10-
sphinx-notfound-page>=0.7.1
11+
sphinx-notfound-page>=0.5
1112
sphinx-prompt>=1.1.0
1213
sphinx-pyproject>=0.1.0
1314
sphinx-tabs>=1.1.13
14-
sphinx-toolbox>=2.13.0
15+
sphinx-toolbox>=3.0.0a4
1516
sphinxcontrib-httpdomain>=1.7.0
1617
sphinxemoji>=0.1.6
1718
toctree-plus>=0.5.0

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ extensions = [
5454
"sphinx_toolbox.more_autosummary",
5555
"sphinx_toolbox.documentation_summary",
5656
"sphinx_toolbox.tweaks.param_dash",
57+
"sphinxcontrib.toctree_plus",
5758
"sphinx_toolbox.tweaks.latex_layout",
5859
"sphinx_toolbox.tweaks.latex_toc",
5960
"sphinx.ext.intersphinx",
@@ -64,11 +65,12 @@ extensions = [
6465
"notfound.extension",
6566
"sphinx_copybutton",
6667
"sphinxcontrib.default_values",
67-
"sphinxcontrib.toctree_plus",
6868
"sphinx_debuginfo",
6969
"sphinx_licenseinfo",
7070
"seed_intersphinx_mapping",
7171
"html_section",
72+
"sphinx_toolbox.more_autosummary.column_widths",
73+
"sphinx-favicon",
7274
]
7375
sphinxemoji_style = "twemoji"
7476
gitstamp_fmt = "%d %b %Y"

repo_helper.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ entry_points:
2828

2929
sphinx_conf_epilogue:
3030
- nitpicky = True
31+
- needspace_amount = r"5\baselineskip"
32+
- 'favicons = [{"rel": "icon", "href": "https://python-coincidence.github.io/assets/coincidence.ico", "sizes": "48x48", "type": "image/vnd.microsoft.icon"}]'
3133

3234
intersphinx_mapping:
3335
- '"tox": ("https://tox.readthedocs.io/en/latest/", None)'
@@ -48,3 +50,7 @@ exclude_files:
4850

4951
mypy_deps:
5052
- types-first
53+
54+
extra_sphinx_extensions:
55+
- sphinx_toolbox.more_autosummary.column_widths
56+
- sphinx-favicon

tox_recreate_hook/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def rmdir(path: PathLike) -> str:
4848
4949
.. attention::
5050
51-
On Windows-like systems using ``\`` as a path separator
51+
To support Windows-like systems using ``\`` as a path separator
5252
you may need to use a *raw string* for the path as the ``toxinidir``
5353
substitution may contain backslashes:
5454

0 commit comments

Comments
 (0)