Skip to content

Commit

Permalink
Add favicon and cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-m-dev committed Sep 23, 2024
1 parent c336279 commit 7c683c9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
with:
python-version: '3.10'

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements_docs.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install --upgrade pip
Expand All @@ -43,12 +51,16 @@ jobs:
- name: Build and Deploy Legacy Docs
run: |
mike deploy legacy --config-file mkdocs_legacy.yml --push
mike deploy --config-file mkdocs_legacy.yml --push --branch gh-pages legacy
- name: Build and Deploy Latest Docs
run: |
mike deploy latest --push
mike deploy --push --branch gh-pages latest
- name: Set Default Version
run: |
mike set-default latest --push
mike set-default latest --push --branch gh-pages
- name: Create alias for Latest Docs
run: |
mike alias latest stable --push --branch gh-pages
Binary file added docs/assets/favicon.ico
Binary file not shown.
Binary file added docs/legacy/assets/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docs/scripts/build_mkdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ extra_css:
theme:
name: material
logo: assets/tpot-logo.jpg
favicon: assets/favicon.ico
features:
- toc.integrate
- navigation.top
Expand Down
1 change: 1 addition & 0 deletions mkdocs_legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ site_dir: target/legacy_site
theme:
name: material
logo: assets/tpot-logo.jpg
favicon: assets/favicon.ico
features:
- toc.integrate
- navigation.top
Expand Down

0 comments on commit 7c683c9

Please sign in to comment.