-
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.
- Loading branch information
Showing
533 changed files
with
50,963 additions
and
6,548 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish Develop Docs | ||
|
||
# Workflow Trigger | ||
on: | ||
# Triggers the workflow in the event there is a push to develop | ||
push: | ||
branches: | ||
- develop | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
name: Build & Publish Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get the sources | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Python | ||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | ||
with: | ||
python-version: 3.13.1 | ||
- name: Install Python Dependencies | ||
run: pip install -r requirements.txt | ||
working-directory: ./docs | ||
- name: Install Required Libraries | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y pngquant | ||
- name: Configure Git | ||
run: | | ||
git config --global user.name "Build Server" | ||
git config --global user.email "[email protected]" | ||
- name: Build & Publish | ||
run: mike deploy --push develop | ||
working-directory: ./docs |
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,38 @@ | ||
name: Publish Release Docs | ||
|
||
# Workflow Trigger | ||
on: | ||
# Triggers the workflow in the event there is a release created | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
name: Build & Publish Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get the sources | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Python | ||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | ||
with: | ||
python-version: 3.13.1 | ||
- name: Install Python Dependencies | ||
run: pip install -r requirements.txt | ||
working-directory: ./docs | ||
- name: Install Required Libraries | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y pngquant | ||
- name: Configure Git | ||
run: | | ||
git config --global user.name "Build Server" | ||
git config --global user.email "[email protected]" | ||
- name: Build & Publish | ||
run: mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest | ||
working-directory: ./docs |
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,38 @@ | ||
name: PushPreview | ||
|
||
# Workflow Trigger | ||
on: | ||
# Triggers the workflow if a pull request is labeled with 'preview' | ||
pull_request_target: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
preview: | ||
runs-on: ubuntu-latest | ||
if: github.event.label.name == 'preview' | ||
steps: | ||
- name: Get the sources | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
- name: Comment | ||
run: | | ||
gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "⚙️ Hang tight! PushPreview is currently building your preview. We'll share the URL as soon as it's ready." | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Install Python | ||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | ||
with: | ||
python-version: 3.13.1 | ||
- name: Set BASE_URL | ||
run: echo "BASE_URL=/github/${{ github.repository }}/${{ github.event.number }}/" >> $GITHUB_ENV | ||
- name: Build site | ||
run: | | ||
cd docs | ||
pip install -r requirements.txt | ||
mkdocs build | ||
- name: Generate preview | ||
uses: PushLabsHQ/pushpreview-action@cf958f7be2bf55d3f56d351bb9abf56b4c6b9a50 # 1.0.6 | ||
with: | ||
source-directory: ./docs/site | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
pushpreview-token: ${{ secrets.PUSHPREVIEW_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
{ | ||
"dotnet.defaultSolution": "src\\Cake.Issues.sln" | ||
"dotnet.defaultSolution": "src\\Cake.Issues.sln", | ||
"yaml.schemas": { | ||
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml" | ||
}, | ||
"yaml.customTags": [ | ||
"!ENV scalar", | ||
"!ENV sequence", | ||
"!relative scalar", | ||
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg", | ||
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji", | ||
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format", | ||
"tag:yaml.org,2002:python/object/apply:pymdownx.slugs.slugify mapping" | ||
] | ||
} |
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.