File tree 5 files changed +15
-5
lines changed
5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,15 @@ jobs:
20
20
- uses : actions/setup-python@v5
21
21
with :
22
22
python-version : 3.x
23
+ - name : Check docs links
24
+ uses : umbrelladocs/action-linkspector@v1
25
+ with :
26
+ github_token : ${{ secrets.github_token }}
27
+ reporter : github-pr-review
28
+ fail_on_error : true
23
29
- name : Check docs build
24
30
run : |
25
31
pip install -r requirements/build-docs.txt
26
- linkcheckMarkdown docs/ -v -r
27
- linkcheckMarkdown README.md -v -r
28
- linkcheckMarkdown CHANGELOG.md -v -r
29
32
cd docs
30
33
mkdocs build --strict
31
34
- name : Check docs examples
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ venv.bak/
101
101
102
102
# mkdocs documentation
103
103
/site
104
+ docs /site
104
105
105
106
# mypy
106
107
.mypy_cache /
Original file line number Diff line number Diff line change
1
+ dirs :
2
+ - ./docs
3
+ files :
4
+ - README.md
5
+ - CHANGELOG.md
6
+ useGitIgnore : true
7
+ modifiedFilesOnly : false
Original file line number Diff line number Diff line change 2
2
mkdocs-git-revision-date-localized-plugin
3
3
mkdocs-material==9.4.0
4
4
mkdocs-include-markdown-plugin
5
- linkcheckmd
6
5
mkdocs-spellcheck[all]
7
6
mkdocs-git-authors-plugin
8
7
mkdocs-minify-plugin
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def clean_user_data(verbosity: int = 1):
87
87
start_time = timezone .now ()
88
88
user_model = get_user_model ()
89
89
all_users = user_model .objects .all ()
90
- all_user_pks = all_users .values_list (user_model ._meta .pk .name , flat = True ) # type: ignore
90
+ all_user_pks = all_users .values_list (user_model ._meta .pk .name , flat = True )
91
91
92
92
# Django doesn't support using QuerySets as an argument with cross-database relations.
93
93
if user_model .objects .db != UserDataModel .objects .db :
You can’t perform that action at this time.
0 commit comments