commit | 9a1c5d3335879cb8cd77964367aa638380ec576b | [log] [tgz] |
---|---|---|
author | arostovtsev <arostovtsev@google.com> | Tue Jun 16 10:16:20 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jun 16 10:17:50 2020 -0700 |
tree | 58dc52909eb9553b26e1b45019695bb5d2acbfc7 | |
parent | 41cb9438e5f65a84e27d67c6d5346435aa77792f [diff] |
Do not replace .md with .html in non-relative links in docs. Until now, we had docs pointing to non-existent .html files in github and even wrongly replaced README.md with README.html in some code examples. For example, in configurable-attributes doc, we had: <a href="https://github.com/bazelbuild/bazel-skylib/blob/master/docs/selects_doc.html"><code class="highlighter-rouge">selects</code></a> After the fix, we will have: <a href="https://github.com/bazelbuild/bazel-skylib/blob/master/docs/selects_doc.md"><code class="highlighter-rouge">selects</code></a> Full recursive diff of `./scripts/serve-docs.sh --target` output with the result of this fix: https://gist.github.com/tetromino/fa590eff74db10ac0815773cb46d821b Note that parsing markdown or html with sed is generally impossible to get right, but since we're already doing it, we may for now continue; the alternative would be to add an intelligent markdown and html parser to the pipeline. Fixes https://github.com/bazelbuild/bazel/issues/6285 RELNOTES: None. PiperOrigin-RevId: 316705091
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only 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