From 517cb1dacc6c08bee1b637a51b68619f482f0088 Mon Sep 17 00:00:00 2001 From: Nora Loose Date: Fri, 18 Aug 2023 14:59:47 -0600 Subject: [PATCH] Change website build from singlehtml to html --- .github/workflows/publish-website.yml | 6 +++--- website/CONTRIBUTING.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml index 748abcb..96fe6d1 100644 --- a/.github/workflows/publish-website.yml +++ b/.github/workflows/publish-website.yml @@ -22,13 +22,13 @@ jobs: environment_file: 'website/environment.yml' environment_name: climsim-docs-env path_to_notebooks: 'website' - build_command: 'cp -r ../README.md demo_notebooks .; jupyter-book build . --builder singlehtml' + build_command: 'cp -r ../README.md demo_notebooks .; jupyter-book build .' # this is a bit hacky, but the only way to 'inject' a shell command before the build. - output_path: '_build/singlehtml' + output_path: '_build/html' deploy: needs: build #Trying this out to see if the auth problem is fixed # uses: ./.github/workflows/deploy-book.yaml #hack until https://github.com/ProjectPythia/cookbook-actions/pull/45 is merged. uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main with: - publish_dir: "website/_build/singlehtml" + publish_dir: "website/_build/html" diff --git a/website/CONTRIBUTING.md b/website/CONTRIBUTING.md index 605a1bb..b5bf02b 100644 --- a/website/CONTRIBUTING.md +++ b/website/CONTRIBUTING.md @@ -28,7 +28,7 @@ conda activate climsim-docs-env and run the following command to build the website locally ```bash -jupyter-book build . --builder singlehtml +jupyter-book build . ``` -The HTML content will be built in a folder called `_build` and can be viewed by opening the file `_build/singlehtml/index.html` in a browser. +The HTML content will be built in a folder called `_build` and can be viewed by opening the file `_build/html/index.html` in a browser.