diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2e02bdb..ebaa7ff 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,11 +25,11 @@ jobs: pip install -e . - name: Build docs - run: cd docs && zensical build --clean -f ../zensical.toml + run: cd docs && zensical build --clean - name: Upload build artifact if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: actions/upload-artifact@v4 with: name: docs-build - path: docs/_build/ + path: docs/site/ diff --git a/.gitignore b/.gitignore index a74c7ff..a519bcb 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ AGENTS.md # Docs build output docs/_build/ +docs/site/ diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3cfc5f2..0cd492b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,7 +10,7 @@ build: - pip install --upgrade pip - pip install zensical - pip install -e . - - cd docs && zensical build --clean -f ../zensical.toml + - cd docs && zensical build --clean && cp -r site $READTHEDOCS_OUTPUT/html python: install: diff --git a/zensical.toml b/docs/zensical.toml similarity index 98% rename from zensical.toml rename to docs/zensical.toml index e2306cd..b084fec 100644 --- a/zensical.toml +++ b/docs/zensical.toml @@ -1,4 +1,5 @@ [project] +docs_dir = "." site_name = "DNANet" site_description = "A deep learning framework for forensic DNA profile analysis" site_author = "Netherlands Forensic Institute (NFI)"