aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/serve-docs.sh
Commit message (Collapse)AuthorAge
* Make serve-docs script more robustGravatar kchodorow2017-04-24
| | | | | | | | | | * Make quit & reload actually kill the server, to prevent bind errors. * Added an arg to bind to $HOSTNAME, instead of just localhost, for ease of code review. * Makes option parsing a little more robust. * Moves "build the jekyll tree" out of the "serve forever" loop. PiperOrigin-RevId: 153840306
* scripts/serve-docs.sh: ask bazel for the genfiles path Gravatar Klaus Aehlig2017-03-01
| | | | | | | | | | | | ...instead of assuming bazel-genfiles in `pwd`. In this way, the script will also work with --symlink-prefix=/ set in the rc file. -- Change-Id: I848a2e9791b4b8a8c1d6d0cea1f10117717935bd Reviewed-on: https://cr.bazel.build/9118 PiperOrigin-RevId: 148894206 MOS_MIGRATED_REVID=148894206
* Change our URL to bazel.buildGravatar Damien Martin-Guillerez2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137500893
* Display all allowed types for SkylarkSignature Params that allow multipleGravatar David Chen2016-07-05
| | | | | | | | | | | | | | | | | | | types. Fixes #921 Certain parameters, such as the `executable` and `command` parameters of ctx.action, allow multiple types. However, the allowed types are not enumerated in the SkylarkSignature annotation, causing the generated Skylark Library document to not display any type information for those params. This change adds a new field, `allowedTypes`, to `SkylarkSignature` that is a list of `ParamType` objects. If the param can accept multiple types, then `type` is set to `Object.class`, and `allowedTypes` is set to the list of types that can be accepted. -- MOS_MIGRATED_REVID=126617047
* Teach serve-docs.sh to generate a static web site.Gravatar Dmitry Lomov2016-06-27
| | | | | | | -- Change-Id: Ic75d8f1d05b0ccba2faaad6527ab2719612325d8 Reviewed-on: https://bazel-review.googlesource.com/#/c/3892/ MOS_MIGRATED_REVID=125779082
* Update serve-docs.sh to allow easily rebuilding the docs and restarting ↵Gravatar Alex Humesky2016-06-23
| | | | | | | jekyll by pressing "r". -- MOS_MIGRATED_REVID=125593474
* Make serve-doc script work with the version of jekyll that comes with apt-getGravatar Kristina Chodorow2016-06-21
| | | | | -- MOS_MIGRATED_REVID=125449782
* Add generated docs to Jekyll tree build target. Add script for bringing upGravatar David Chen2016-05-09
local instance of bazel.io site. * Add a new genrule rule that runs the new jekyll-tree.sh to do the following: * Combine the generated docs for the Build Encyclopedia and Skylark Library with the static site docs * Combine the README.md files for the Docker and Packaging rules with the Jekyll tree * Process the generated docs, replaces instances of "blaze" with "bazel", etc. * Add scripts/serve-docs.sh script that can be used to bring up a local instance of the bazel.io website. As of this patch, it is possible to construct the full Bazel.io site tree from the master branch. -- MOS_MIGRATED_REVID=121813688