Skip to content

Commit 19351a9

Browse files
committed
Update docs config.
1 parent 4cfdcde commit 19351a9

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

doc-source/_templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
{% extends "!base.html" %}
33
{% block extrahead %}
44
<link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
5+
<link rel=icon href=https://python-formate.github.io/assets/formate.ico sizes="48x48" type="image/vnd.microsoft.icon">
56
{% endblock %}

doc-source/configuration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Example
177177
.. code-block:: toml
178178
179179
[tool.snippet-fmt]
180-
directives = ['code', 'code-block', 'sourcecode']
180+
directives = [ "code", "code-block", "sourcecode",]
181181
182182
[tool.snippet-fmt.languages.python]
183183
reformat = true
@@ -187,6 +187,7 @@ Example
187187
reformat = true
188188
189189
[tool.snippet-fmt.languages.toml]
190+
190191
[tool.snippet-fmt.languages.ini]
191192
192193
This will:

doc-source/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental.git
33
default-values>=0.5.0
44
extras-require>=0.2.0
55
furo>=2020.11.19b18
6+
html-section>=0.1.0
67
seed-intersphinx-mapping>=0.3.1
78
sphinx>=3.0.3
89
sphinx-copybutton>=0.2.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ extensions = [
6868
"sphinx_debuginfo",
6969
"sphinx_licenseinfo",
7070
"seed_intersphinx_mapping",
71+
"html_section",
7172
"attr_utils.autoattrs",
7273
"sphinx_click",
7374
"sphinx_toolbox.pre_commit",
74-
"sphinx_toolbox_experimental.html_section",
7575
"sphinx_toolbox_experimental.autosummary_widths",
7676
"sphinx_toolbox_experimental.missing_xref",
7777
"sphinx_packaging",

repo_helper.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ enable_conda: false
1414
use_whey: true
1515
min_coverage: 95
1616
sphinx_html_theme: furo
17-
#preserve_custom_theme: true
17+
preserve_custom_theme: true
1818
mypy_version: "0.910"
1919
docs_fail_on_warning: true
2020

@@ -42,7 +42,6 @@ extra_sphinx_extensions:
4242
- attr_utils.autoattrs
4343
- sphinx_click
4444
- sphinx_toolbox.pre_commit
45-
- sphinx_toolbox_experimental.html_section
4645
- sphinx_toolbox_experimental.autosummary_widths
4746
# - sphinx_toolbox_experimental.changelog
4847
- sphinx_toolbox_experimental.missing_xref

0 commit comments

Comments
 (0)