-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial work to add a mdbook documentation style #856
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Doru Blânzeanu <[email protected]>
Signed-off-by: Doru Blânzeanu <[email protected]>
if: ${{ github.ref == 'refs/heads/main' }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs/book |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this build the docs on https://containerd.github.io/runwasi/docs/book
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, what it does is:
- it generates the
website
at that path - takes the files and commits them to
gh-pages
branch which can be selected as source for a Github Page.
The problem is it will use the same URL: https://containerd.github.io/runwasi
So, we need to somehow merge the benchmarks with the book also
I looked briefly for ways to define a different path, but it doesn't seem to work. The only other option would be to use a custom domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devigned FYI - can we use the runwasi.dev
website?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -0,0 +1,6 @@ | |||
[book] | |||
authors = ["Runwasi Team"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
authors = ["Runwasi Team"] | |
authors = ["Runwasi Authors"] |
On top of the work mentioned in #848, this adds a workflow that deploys the documentation on change