Skip to content

Commit 04b8e24

Browse files
committed
Fix docs
1 parent 835d598 commit 04b8e24

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ repos:
3939
rev: v0.20.0
4040
hooks:
4141
- id: yamlfmt
42-
- repo: https://github.com/dzhu/rstfmt
43-
rev: v0.0.14
42+
- repo: https://github.com/sphinx-contrib/sphinx-lint
43+
rev: v1.0.2
4444
hooks:
45-
- id: rstfmt
45+
- id: sphinx-lint
4646
ci:
4747
autoupdate_schedule: weekly
4848
skip:

docs/extra.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ represents the name of the field in the form. The value represents the
3838
name of the field in the model (used in `queryset`).
3939

4040
.. code:: python
41-
:emphasize-lines: 17
41+
:emphasize-lines: 17
4242
4343
class AddressForm(forms.Form):
4444
country = forms.ModelChoiceField(
@@ -72,7 +72,7 @@ select2 depending of his selection in another one.
7272
Customize the form in a manner:
7373

7474
.. code:: python
75-
:emphasize-lines: 7
75+
:emphasize-lines: 7
7676
7777
class AddressForm(forms.Form):
7878
country = forms.ModelChoiceField(
@@ -113,7 +113,7 @@ Furthermore you may want to filter options on two or more select2
113113
selections (some code is dropped for clarity):
114114

115115
.. code:: python
116-
:emphasize-lines: 14
116+
:emphasize-lines: 14
117117
118118
class SomeForm(forms.Form):
119119
field1 = forms.ModelChoiceField(

0 commit comments

Comments
 (0)