diff --git a/.github/workflows/docs-test.yaml b/.github/workflows/docs-test.yaml new file mode 100644 index 0000000..d586240 --- /dev/null +++ b/.github/workflows/docs-test.yaml @@ -0,0 +1,18 @@ +name: docs-test metrics-operator +on: + pull_request: [] + +jobs: + generate-docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Create conda environment + run: conda create --quiet -c conda-forge --name docs sphinx-material + - name: Generate Docs + run: | + export PATH="/usr/share/miniconda/bin:$PATH" + source activate docs + cd ./docs + pip install -r requirements.txt + make html \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt index 7054e96..fafca2d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,6 @@ sphinx markupsafe -sphinx_immaterial==0.11.7 +sphinx_immaterial numpy pydantic pandas