-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mdbook and GitHub pages deployment (#319)
Co-authored-by: Mark Mandel <[email protected]>
- Loading branch information
1 parent
4d0bd0d
commit c187b5a
Showing
25 changed files
with
86 additions
and
25 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Deploy docs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- pr/** # just for testing | ||
tags: | ||
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- run: echo snapshot=$(echo ${{ github.ref }} | sed -E 's|refs/[^/]+/||') >> $GITHUB_ENV | ||
- run: echo docs_dir=docs-build/${{ env.snapshot }} >> $GITHUB_ENV | ||
- run: echo documentation directory=${{ env.docs_dir }} | ||
- run: brew install mdbook | ||
- run: mkdir -p ${{ env.docs_dir }} | ||
- run: $(cd docs && mdbook build -d ../${{ env.docs_dir }}/book) | ||
- run: cargo doc --workspace --no-deps | ||
- run: mv target/doc ${{ env.docs_dir }}/api | ||
- uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: docs-build | ||
CLEAN: false |
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 |
---|---|---|
|
@@ -28,6 +28,7 @@ dependencies-src.zip | |
quilkin-*.zip | ||
|
||
/quilkin.yaml | ||
/docs/book | ||
|
||
### Rust template | ||
# Generated by Cargo | ||
|
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,7 @@ | ||
[book] | ||
language = "en" | ||
multilingual = false | ||
src = "src" | ||
title = "Quilkin Book" | ||
|
||
[output.html] |
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,22 @@ | ||
# Summary | ||
|
||
- [Introduction](./introduction.md) | ||
- [Quickstart]() | ||
- [Netcat](./quickstart-netcat.md) | ||
- [Agones + Xonotic](./quickstart-agones-xonotic.md) | ||
- [Usage](./using.md) | ||
- [Session](./session.md) | ||
- [Proxy](./proxy.md) | ||
- [Proxy Configuration](./proxy-configuration.md) | ||
- [Filters](./filters.md) | ||
- [Capture Bytes](./filters/capture_bytes.md) | ||
- [Compress](./filters/compress.md) | ||
- [Debug](./filters/debug.md) | ||
- [Load Balancer](./filters/load_balancer.md) | ||
- [Local Rate Limit](./filters/local_rate_limit.md) | ||
- [Token Router](./filters/token_router.md) | ||
- [Writing Custom Filters](./filters/writing_custom_filters.md) | ||
- [Integrations](./integrations.md) | ||
- [Administration](./admin.md) | ||
- [FAQ](./FAQ.md) | ||
- [xDS](./xds.md) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...ensions/filters/writing_custom_filters.md → docs/src/filters/writing_custom_filters.md
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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