Skip to content

Commit

Permalink
docs(rtd): generate Reference Pages from workflow yaml files on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Dec 8, 2023
1 parent ab675b1 commit af4a0f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ build:
- python -m poetry export -o req-docs.txt -E docs
# post_install:
# - python -m pip install -e .
# pre_build:
# - python ./scripts/visualize-ga-workflow.py > ./docs/cicd_mermaid.md

pre_build:
- chmod +x ./scripts/gen-workflow-ref.py
- ./scripts/gen-workflow-ref.py ./.github/workflows/docker.yml > ./docs/ref_docker.md
- ./scripts/gen-workflow-ref.py ./.github/workflows/pypi_env.yml > ./docs/ref_pypi_env.md


# Build documentation in the "docs/" directory with mkdocs
Expand Down

0 comments on commit af4a0f5

Please sign in to comment.