-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Deploy devel build of docs to https://nim-lang.github.io/Nim #8992
Conversation
552cd8e
to
ad1013a
Compare
Don't merge this yet. I realized that I can use the TRAVIS_COMMIT env var instead of calculating NIMVER as I do in the PR. I'll update this PR tomorrow and request a merge again. |
Ok, also the entry point is generated from |
I didn't follow, so why isn't an
I'll have to look at that file to see how to do that.. the 2 dynamic components in that note are the commit hash and the date of publishing. We need to derive those in the |
Yes, I think so.
Not necessarily but you can leave this problem to me. |
ad1013a
to
308710c
Compare
@Araq OK, I now copy the overview.html as index.html. I have already removed the sed command. As discussed, it would be nice if you can note the git commit used to generate the documentation somewhere on the page. I see that the footer already has the published time.. may be add the commit hash to it too? This PR is now ready for merging. |
To make this PR functional, @Araq or anyone who has admin rights to this repo will need to get the GitHub API token for repo level permissions from https://github.com/settings/tokens. The token will be visible only once. So once you get it, copy it.
Now go to Travis CI settings in a different browser tab, and create an env var named GITHUB_OAUTH_TOKEN (as that's what this PR uses) and paste that copied token value there. Ensure that this env var value is not made public (by default, it's not public).
/cc @LemonBoy