File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 --bandit-report bandit-report.json \
5555 --output docs-quality-report.json
5656
57+ - name : Prepare local docs root for link checking
58+ run : ln -s . site/avito_python_api
59+
5760 - name : Upload docs reports
5861 uses : actions/upload-artifact@v4
5962 with :
6972
7073 - name : Check links
7174 uses : lycheeverse/lychee-action@v2
75+ env :
76+ GITHUB_TOKEN : ${{ github.token }}
7277 with :
73- args : --exclude "avito\.ru" --retry-wait-time 5 --max-retries 3 --timeout 30 site/
78+ args : --root-dir "${{ github.workspace }}/site" -- exclude "avito\.ru" --exclude "^https://p141592\.github\.io/avito_python_api/ " --retry-wait-time 5 --max-retries 3 --timeout 30 site/
7479
7580 deploy :
7681 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 22export
33
44REGISTRY =10.11.0.9:5000
5+ MKDOCS_ENV=DISABLE_MKDOCS_2_WARNING =true
56
67check : test typecheck lint build
78
@@ -42,10 +43,10 @@ release:
4243 poetry publish --no-interaction
4344
4445docs-serve :
45- poetry run mkdocs serve
46+ $( MKDOCS_ENV ) poetry run mkdocs serve
4647
4748docs-strict :
48- poetry run mkdocs build --strict
49+ $( MKDOCS_ENV ) poetry run mkdocs build --strict
4950 poetry run python scripts/check_readme_domain_coverage.py
5051 poetry run pytest tests/docs/
5152
@@ -62,7 +63,8 @@ docs-report:
6263 poetry run python scripts/build_docs_quality_report.py
6364
6465docs-check : docs-strict
65- lychee --exclude " avito\.ru" --retry-wait-time 5 --max-retries 3 --timeout 30 site/
66+ ln -sfn . site/avito_python_api
67+ lychee --root-dir " $( PWD) /site" --exclude " avito\.ru" --exclude " ^https://p141592\.github\.io/avito_python_api/" --retry-wait-time 5 --max-retries 3 --timeout 30 site/
6668
6769qa-docs :
6870 poetry run pydocstyle \
You can’t perform that action at this time.
0 commit comments