| commit | bcad22120cfa63cf60368eaabc5dfa4e0eaef9fe | [log] [tgz] |
|---|---|---|
| author | Jingwen Chen <jingwen@google.com> | Tue Dec 18 14:56:55 2018 -0800 |
| committer | Copybara-Service <copybara-piper@google.com> | Tue Dec 18 14:58:44 2018 -0800 |
| tree | fc3585bfd6e18dbe0b7037712a2d71e956a7ff1e | |
| parent | 7d174b2bca3b5329786b56dcc609bccebbaeea23 [diff] |
Linkify all flags in the Command Line Reference This updates the option html emitter to add anchor links and id tags to each generated flag in the command line reference. It also fixes its color to be consistently red in the code block, instead of the standard Bazel green for links. Live demo: https://bazel-docs-staging.netlify.com/versions/master/command-line-reference.html#flag--all_incompatible_changes https://bazel-docs-staging.netlify.com/versions/master/command-line-reference.html#flag--experimental_oom_more_eagerly_threshold When not hovering:  When hovering:  and that generates the link: `https://docs.bazel.build/versions/<version>/command-line-reference.html#flag--experimental_oom_more_eagerly_threshold` Expanded flags are also linkified:  There may be a concern that we don't guarantee that flags are only generated once, and can be duplicated, but because flag definitions don't change, linking to the first instance of the flag is safe. Fixes https://github.com/bazelbuild/bazel/issues/3502 Change-Id: I6775feaa48558029b943b3206891e8b6860bb5d9 RELNOTES: None. Closes #6954. Change-Id: I37057365b0a117e269bdaa56bdec8153fe0a5b85 PiperOrigin-RevId: 226065220
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.