diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..0b5afd9d0 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,34 @@ +name: Deploy Jupyter Book to GitHub Pages + +on: + push: + branches: + - options-doc + +permissions: + contents: write + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.10" + + - name: Install Jupyter Book and sphinx-tags + run: pip install -U jupyter-book sphinx-tags + + - name: Build Jupyter Book + run: jupyter-book build DISCOVER/ + + - name: Deploy to gh-pages branch + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: DISCOVER/_build/html + publish_branch: gh-pages diff --git a/DISCOVER/404.md b/DISCOVER/404.md new file mode 100644 index 000000000..d9bf0529b --- /dev/null +++ b/DISCOVER/404.md @@ -0,0 +1,51 @@ +# š« 404 - Page Not Found + +
Oops! It looks like the page you're looking for has wandered off.
+ +Maybe it was deleted, renamed, or never existed in the first place.
+ +--- + +### What can you do? + +- Return to the homepage +- Raise an issue + +--- + + + + diff --git a/DISCOVER/bad-page.md b/DISCOVER/bad-page.md deleted file mode 100644 index 22d45975b..000000000 --- a/DISCOVER/bad-page.md +++ /dev/null @@ -1,16 +0,0 @@ -# š« 404 - Page Not Found - -Oops! It looks like the page you're looking for has wandered off. - -Maybe it was deleted, renamed, or never existed in the first place. - ---- - -### What can you do? - -- [Return to the homepage](./intro.md) -- Found a broken link? [Raise an issue](https://github.com/numfocus/DISCOVER-Cookbook/issues) - ---- - -If you think this is an error, let us know by creating an issue. Thanks for helping us keep everything on track!