Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation update and versioning (#627)
* Updated docs and added docs versioning - Updated full mkdocs-material dependencies. - Added mike to use docs versioning. - Fixed docstrings for new Return parsing. * Updated docs workflows - Publish dev on every dev commit. - Publish new latests version on release (using release name as tag). * Test fixes & update CHANGELOG.md * Updated docs docsdev page [skip ci] * Tidy ci-docs workflow comments [skip ci] * Remove vaex from docs dependencies - [skip ci] * Removed MarkupSafe dependency - [skip ci] * Add index.md to date exclude list - [skip ci] * Bumped minimum mkdocs-material to 8.2.4 * Updated announcement bar and CHANGELOG.md - [skip ci]
- Loading branch information
Showing
34 changed files
with
621 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: ci docs release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
- uses: Gr1N/setup-poetry@v4 | ||
- name: Set release notes tag | ||
run: | | ||
export RELEASE_TAG_VERSION=${{ github.event.release.tag_name }} | ||
echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION:1}" >> $GITHUB_ENV | ||
- name: Install system dependencies | ||
run: sudo apt-get update && sudo apt-get install -y build-essential libpq-dev libgraphviz-dev | ||
- name: Cache Python dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pypoetry/virtualenvs | ||
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | ||
- name: Install python dependencies | ||
run: poetry install | ||
- name: Build and deploy docs | ||
run: poetry run mike deploy --push --update-aliases ${RELEASE_TAG_VERSION} latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.