Skip to content

Commit fb63d04

Browse files
committed
🔧 Add sphinx-lint
* 🔧 Install sphinx-lint * 🔧 Update pre-commit config * 🔧 Update readthedocs config * 🚚 Move content to docs directory
1 parent 3643d7f commit fb63d04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+13
-2
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ repos:
2424
hooks:
2525
- id: flake8
2626
language_version: python3
27+
- repo: https://github.com/sphinx-contrib/sphinx-lint
28+
rev: v0.7.0
29+
hooks:
30+
- id: sphinx-lint
31+
args: [--jobs=1]
32+
types: [rst]

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77

88
# Build documentation in the docs/ directory with Sphinx
99
sphinx:
10-
configuration: conf.py
10+
configuration: docs/conf.py
1111

1212
# Build PDF & ePub
1313
formats:

README.rst

Lines changed: 2 additions & 1 deletion

constraints.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,22 @@ numpy==1.24.2
2323
packaging==23.0
2424
Pillow==9.4.0
2525
platformdirs==2.6.2
26+
polib==1.2.0
2627
pre-commit==3.0.4
2728
Pygments==2.14.0
2829
pyparsing==3.0.9
2930
python-dateutil==2.8.2
3031
pytz==2022.7.1
3132
PyYAML==6.0
33+
regex==2023.10.3
3234
requests==2.28.2
3335
six==1.16.0
3436
snowballstemmer==2.2.0
3537
soupsieve==2.3.2.post1
3638
Sphinx==5.3.0
3739
sphinx-basic-ng==1.0.0b1
3840
sphinx-copybutton==0.5.1
41+
sphinx-lint==0.7.0
3942
sphinx_design==0.3.0
4043
sphinxcontrib-applehelp==1.0.4
4144
sphinxcontrib-devhelp==1.0.2
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)