Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
locally, and pushing a new version of the site to gh-pages
This is a pretty huge diff. It may be easier to digest by looking at the
site
branch on my fork: https://github.com/davidzchen/jsonnet/tree/siteThe motivation for using Jekyll is that it is the official static site generator that is supported by GitHub. With this new pipeline, the Jsonnet website will be served out of https://google.github.io/jsonnet rather than https://google.github.io/jsonnet/doc
The way the new pipeline for publishing the site works is the following (see
tools/scripts/push_docs.sh
):doc/
and the included Jsonnet files fromexamples/
andbenchmarks/
.git checkout gh-pages
I have also added a script that just builds the Jekyll tree, unzips it in a temp directory, and runs
jekyll serve
, which will bring up the site locally, viewable athttp://localhost:4000
.