-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from bdpedigo/doc-overhaul
Doc overhaul
- Loading branch information
Showing
85 changed files
with
3,489 additions
and
4,923 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 5.11.0 | ||
current_version = 5.14.0 | ||
commit = True | ||
tag = True | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
name: build status | ||
on: | ||
schedule: | ||
- cron: "8 15 * * *" # 7:08am PST | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/dev.yml |
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,60 @@ | ||
name: dev docs | ||
|
||
on: | ||
# run this workflow when dev checks pass | ||
push: | ||
branches: | ||
- master | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# This workflow contains a single job called "docs" | ||
docs: | ||
name: Build and deploy (dev) docs | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.11"] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Get repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get gh-pages branch | ||
run: git fetch origin gh-pages --depth=1 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Update pip | ||
run: python -m pip install --upgrade pip | ||
|
||
- name: Cache for virtual environment | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./.venv | ||
key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('doc_requirements.txt') }} | ||
|
||
- name: Install dependencies | ||
run: pip install -r doc_requirements.txt | ||
|
||
- name: Configure git for github-actions[bot] | ||
run: | | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
# - name: Build and push versioned docs with mike | ||
# run: | | ||
# poetry run mike deploy --push --update-aliases dev | ||
# poetry run mike set-default stable --push | ||
|
||
- name: Build and push docs | ||
run: | | ||
mkdocs gh-deploy --force --remote-branch gh-pages --remote-name origin |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.