Skip to content

Commit

Permalink
Docs/versioned docs (#236) (#237)
Browse files Browse the repository at this point in the history
* Docs/versioned docs (#236)

* 🔧 build: add mkdocs to project

* 📝 docs: rewrite getting started page to mkdocs structure
note:
mkdocstrings still has to be added to support linking to library code

* 📝 docs: translate dash app integration page to mkdocs structure

* 📝 docs: translate FAQ page to mkdocs structure

* 🔧 build: add mkdocstrings dependency

* 🔧 build: add mkdocs-gen-files dependency

* 🔧 build: add automatic code API reference page creation

* 📝 docs: fix links to API documentation

* 📝 build: add mkdocs-section-index

* 📝 docs: fix registering documentation

* 📝 docs: fix docs for figure_resampler dir

* 📝 docs: fix aggregation documentation

* 📝 docs: add versioning to documentation

* 🔥 chore: remove old documentation

* 👷 build: add mkdocs CI/CD step

* 🔧 build: add QOL docs extensions

* 📝 docs: add buttons for github, PyPi and DOI

* ➖ chore: remove old sphinx dependencies

* 🎨 chore: format code documentation

* ✏️ chore: remove random text in docstring

* 🎨 chore: format code

* 👷 build: replace tag push with PR push

* Docs/versioned docs (#238)

* 🔧 build: add mkdocs to project

* 📝 docs: rewrite getting started page to mkdocs structure
note:
mkdocstrings still has to be added to support linking to library code

* 📝 docs: translate dash app integration page to mkdocs structure

* 📝 docs: translate FAQ page to mkdocs structure

* 🔧 build: add mkdocstrings dependency

* 🔧 build: add mkdocs-gen-files dependency

* 🔧 build: add automatic code API reference page creation

* 📝 docs: fix links to API documentation

* 📝 build: add mkdocs-section-index

* 📝 docs: fix registering documentation

* 📝 docs: fix docs for figure_resampler dir

* 📝 docs: fix aggregation documentation

* 📝 docs: add versioning to documentation

* 🔥 chore: remove old documentation

* 👷 build: add mkdocs CI/CD step

* 🔧 build: add QOL docs extensions

* 📝 docs: add buttons for github, PyPi and DOI

* ➖ chore: remove old sphinx dependencies

* 🎨 chore: format code documentation

* ✏️ chore: remove random text in docstring

* 🎨 chore: format code

* 👷 build: replace tag push with PR push

* 👷 build: fix mike deployment

* Docs/versioned docs (#239)

* 🔧 build: add mkdocs to project

* 📝 docs: rewrite getting started page to mkdocs structure
note:
mkdocstrings still has to be added to support linking to library code

* 📝 docs: translate dash app integration page to mkdocs structure

* 📝 docs: translate FAQ page to mkdocs structure

* 🔧 build: add mkdocstrings dependency

* 🔧 build: add mkdocs-gen-files dependency

* 🔧 build: add automatic code API reference page creation

* 📝 docs: fix links to API documentation

* 📝 build: add mkdocs-section-index

* 📝 docs: fix registering documentation

* 📝 docs: fix docs for figure_resampler dir

* 📝 docs: fix aggregation documentation

* 📝 docs: add versioning to documentation

* 🔥 chore: remove old documentation

* 👷 build: add mkdocs CI/CD step

* 🔧 build: add QOL docs extensions

* 📝 docs: add buttons for github, PyPi and DOI

* ➖ chore: remove old sphinx dependencies

* 🎨 chore: format code documentation

* ✏️ chore: remove random text in docstring

* 🎨 chore: format code

* 👷 build: replace tag push with PR push

* 👷 build: fix mike deployment

* Docs/versioned docs (#240)

* 🔧 build: add mkdocs to project

* 📝 docs: rewrite getting started page to mkdocs structure
note:
mkdocstrings still has to be added to support linking to library code

* 📝 docs: translate dash app integration page to mkdocs structure

* 📝 docs: translate FAQ page to mkdocs structure

* 🔧 build: add mkdocstrings dependency

* 🔧 build: add mkdocs-gen-files dependency

* 🔧 build: add automatic code API reference page creation

* 📝 docs: fix links to API documentation

* 📝 build: add mkdocs-section-index

* 📝 docs: fix registering documentation

* 📝 docs: fix docs for figure_resampler dir

* 📝 docs: fix aggregation documentation

* 📝 docs: add versioning to documentation

* 🔥 chore: remove old documentation

* 👷 build: add mkdocs CI/CD step

* 🔧 build: add QOL docs extensions

* 📝 docs: add buttons for github, PyPi and DOI

* ➖ chore: remove old sphinx dependencies

* 🎨 chore: format code documentation

* ✏️ chore: remove random text in docstring

* 🎨 chore: format code

* 👷 build: replace tag push with PR push

* 👷 build: fix mike deployment

* 👷 build: fix git gh-pages fetching

* 🖍️ review

* 👷 build: create docs on tag push

---------

Co-authored-by: Niels Praet <[email protected]>
Co-authored-by: Niels Praet <[email protected]>
  • Loading branch information
3 people authored Jul 12, 2023
1 parent 2125b66 commit e73cc8d
Show file tree
Hide file tree
Showing 40 changed files with 1,315 additions and 1,351 deletions.
34 changes: 0 additions & 34 deletions .github/deploy-gh-pages.sh

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/deploy-docs.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Deploy docs

on:
push:
tags:
- "*"

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Install Poetry
uses: snok/install-poetry@v1

- name: Cache Poetry
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}-python-3.8

- run: poetry --version

- name: Install dependencies
run: poetry install

- name: fetch from gh-pages
run: git fetch origin gh-pages --depth=1

- name: Configure Git user
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Deploy with mike
run: |
poetry run mike deploy -b gh-pages --update-aliases --push "${{ github.ref_name }}" "latest"
188 changes: 0 additions & 188 deletions docs/sphinx/FAQ.rst

This file was deleted.

20 changes: 0 additions & 20 deletions docs/sphinx/Makefile

This file was deleted.

55 changes: 0 additions & 55 deletions docs/sphinx/aggregation.rst

This file was deleted.

Loading

0 comments on commit e73cc8d

Please sign in to comment.