diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index d6c3f3421..04b7f7054 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -16,6 +16,7 @@ jobs: - name: Deploy docs uses: mhausenblas/mkdocs-deploy-gh-pages@master env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REQUIREMENTS: docs/requirements.txt CUSTOM_DOMAIN: docs.calitp.org CONFIG_FILE: docs/mkdocs.yml + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile.dev b/Dockerfile.dev index 19a446046..4303c106d 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -2,7 +2,8 @@ FROM benefits_client:latest USER root +COPY docs/requirements.txt docs/requirements.txt + RUN apt-get install -qq --no-install-recommends curl git jq ssh && \ - pip install --no-cache-dir flake8 debugpy pre-commit \ - mkdocs mkdocs-material mkdocs-awesome-pages-plugin \ - fontawesome_markdown mdx_truly_sane_lists mkdocs-macros-plugin + pip install --no-cache-dir flake8 debugpy pre-commit && \ + pip install --no-cache-dir -r docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..6e3c4fdcf --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,6 @@ +fontawesome_markdown +mdx_truly_sane_lists +mkdocs +mkdocs-awesome-pages-plugin +mkdocs-macros-plugin +mkdocs-material