* stable-2.14:
Apply buildifier to .bzl files.
Update Bower to 1.8.2
Bump commons-io version to 2.2
Change-Id: Ic90865db76a0e34f0f8fef33b83ec7b2fd75c875
Buildifier is now also used for formatting .bzl files.
This change was created by running buildifier 0.12 over our source tree.
Change-Id: I9f15112d4fe23e5cec0700cfe47f1ca649f61d2a
The + operator on dicts is deprecated and will be removed from future
version of Bazel.
Change-Id: I9f3db02f13c1c56c3afc4cc94b142513f0ae3908
(cherry picked from commit 4c8be85fcfc83582fad77684cff6044e828d4cb6)
* stable-2.14:
Bazel: Fix build on Alpine Linux
Make bzl files compatible with mutating behavior of += on lists
Change-Id: I242c26fa7ef5c532c78bd5dc06d9f332e6a51f00
It seems that unzip implementation on Alpine Linux doesn't create target
directory. That caused documentation index generation fail with this
error message:
unzip: can't change directory to \
'bazel-out/k8-fastbuild/bin/Documentation/html.zip_tmpdir/Documentation/':
No such file or directory.
Change-Id: I6226bef5758b045ac55a7126d89fc47dac474d54
When invoking Documentation/replace_macros.py, bazel removes environment
using 'env -e', the python script includes '#!env python' shebang, the
result is python not found.
Alignment with js.bzl resolves the issue, explicit python removed.
Change-Id: If33baa7e7449f1a8a4a06cceefeb82dad2dc1577
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Changing the TOC for the documentation to use a floating left navigation
instead of at the top of the page. This will improve content
discoverability and readability.
Change-Id: Ibbdaddbdc2e18a3fe35c126f4074cd9e079449ee
Implement genasciidoc rule for bazel. It's a filegroup containing all
the html and resource files.
Also implement genasciidoc_zip rule for bazel, which is similar to
buck's genasciidoc rule to produce a zip file containing all asciidoctor
generated and resource files.
TEST PLAN:
bazel build Documentation
buck build Documentation:html
diff -u bazel-bin/Documentation/install.html buck-out/gen/Documentation/html__tmp/Documentation/install.html
Change-Id: I3065355800a982c6956d3bb634204baaa60c045e