diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 7d6eeb1..5359729 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -31,12 +31,12 @@ jobs: - name: Install Hatch run: pipx install hatch + - name: Generate reference doc + run: hatch run doc:ref + - name: Generate images run: hatch run doc:img - - name: Generate reference doc - run: hatch run doc:ref - - name: Setup Pages uses: actions/configure-pages@v4 diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 21fe9e0..9bd6e83 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -11,4 +11,5 @@ plugins: python: paths: [..] +docs_dir: "." site_dir: "../_site/" diff --git a/pyproject.toml b/pyproject.toml index 103e2d4..0870800 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ dependencies = ["mkdocs", "mkdocstrings"] [tool.hatch.envs.doc.scripts] img = "cd docs; python sankey_doc_examples.py" -ref = "cd docs; mkdocs build" +ref = "cd docs; mkdocs -v build" [tool.hatch.envs.test] dependencies = [