You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: pulled docs publish their requirements.txt #244
The docs hook (docs/hooks.py) pulls the docs/ of tesk-api and tesk-core (docs-sources.yml) into TESK's site. Their docs/requirements.txt (for their own Read the Docs builds) ends up in the published site as a static file (/tesk-api/requirements.txt, /tesk-core/requirements.txt): both repositories list it in exclude_docs of their mkdocs.yml, but MkDocs only applies the exclude_docs of TESK's mkdocs.yml, and the hook adds every pulled file except Python files.
How?
In the hook, leave out the pulled files that the pulled repository's own exclude_docs matches (patterns relative to its docs/), and MkDocs' default exclusions (hidden files, a top-level templates/).
Test it, and document it in "Docs of tesk-api and tesk-core" in docs/development.md.
Acceptance criteria
The strict docs build publishes no requirements.txt of tesk-api or tesk-core.
Activity