Skip to content

Commit

Permalink
update docs and migrate to mkdocs/mike
Browse files Browse the repository at this point in the history
  • Loading branch information
philosowaffle committed Oct 8, 2023
1 parent e6c05a5 commit 642208a
Show file tree
Hide file tree
Showing 43 changed files with 938 additions and 1,309 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/jekyll-gh-pages.yml

This file was deleted.

21 changes: 20 additions & 1 deletion .github/workflows/publish-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,23 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet }}
os: ${{ matrix.os }}
framework: ${{ matrix.framework }}
framework: ${{ matrix.framework }}

publish-gh-pages:
name: Publish GH Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Configure Git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "philosowaffle"
- uses: actions/setup-python@v4
with:
python-version: 3.x

- run: pip install mkdocs-material mike
- run: mike deploy --push master
working-directory: ./mkdocs
21 changes: 21 additions & 0 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,24 @@ jobs:
allowUpdates: true
replacesArtifacts: true
bodyFile: ${{ github.workspace }}/vNextReleaseNotes.md

publish-gh-pages:
name: Publish GH Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Configure Git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "philosowaffle"
- uses: actions/setup-python@v4
with:
python-version: 3.x

- run: pip install mkdocs-material mike
- run: mike deploy --push --update-aliases v${{ github.event.inputs.version }} latest
working-directory: ./mkdocs
- run: mike set-default --push latest
working-directory: ./mkdocs
1 change: 0 additions & 1 deletion .github/workflows/sync_peloton_to_garmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
cat <<EOT > /app/configuration.local.json
{
"App": {
"OutputDirectory": "/app/output",
"EnablePolling": false
},
"Format": {
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,6 @@ configuration.local.json
.vs/
/.vscode/settings.json
/src/ClientUI/ClientUI.csproj.user

# docs
/mkdocs/site
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.9"
services:
p2g:
container_name: p2g
image: philosowaffle/peloton-to-garmin:stable
image: philosowaffle/peloton-to-garmin:console-stable
environment:
- TZ=America/Chicago
volumes:
Expand Down
4 changes: 0 additions & 4 deletions docs/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions docs/.markdownlint.json

This file was deleted.

30 changes: 0 additions & 30 deletions docs/Gemfile

This file was deleted.

Loading

0 comments on commit 642208a

Please sign in to comment.