diff --git a/.gitignore b/.gitignore index b2d6de30624f651a6c584d4faefafceac6302be1..51d2e0f9105c3a182f45b7aaafb6aee53ca00ced 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ /node_modules # Production -/build +/docs/_build # Generated files .docusaurus diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3628c0c2cbd8fb55fdb319b7eba7efaf50a4757..65f249862c4660bcf258035aa37740be2401ec67 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,12 +6,12 @@ stages: docs-build: stage: build - image: python:latest + image: python:3.10 script: - pip install -U jupyter-book - jupyter-book clean docs + - jupyter-book toc from-project docs > docs/_toc.yml - jupyter-book build docs - - ls artifacts: paths: - docs/_build/ diff --git a/index.md b/docs/index.md similarity index 100% rename from index.md rename to docs/index.md