-
Notifications
You must be signed in to change notification settings - Fork 1
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
Publish docs to GH pages #20
Conversation
@@ -7,7 +7,7 @@ allow-direct-references = true | |||
|
|||
[project] | |||
name = "multiversx-sdk" | |||
version = "0.1.0" | |||
version = "0.9.0" |
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.
Sounds good, since it's latest from here + 1:
@@ -0,0 +1,35 @@ | |||
@ECHO OFF |
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.
:windows: 🙈
But it's OK, we can keep it.
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.
well, it's generated :)
@@ -139,3 +139,5 @@ typings/** | |||
!libbls.dll | |||
|
|||
examples/output | |||
|
|||
./docs/_build/* |
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.
Indeed, it's OK to keep the RST files, but exclude the built site 👍
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
rm -rf ./gh-pages-docs/* |
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.
So delete & re-add files. Sounds good.
on: | ||
push: | ||
branches: main | ||
pull_request: |
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.
Maybe drop this trigger? Or should we keep it for some time? OK to keep it for a few days / weeks, though.
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.
we can remove it in the next PR. I was thinking that maybe we want to check the docs if anyone changes it, but I guess we can do that locally, as well.
The published docs can be found here.