| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Closes #4140.
PiperOrigin-RevId: 177515494
|
|
|
|
|
|
| |
The serve-docs.sh script uses pygments for formatting code fragments which fails with "no lexer for alias 'shell' found"
PiperOrigin-RevId: 176503221
|
|
|
|
|
|
|
|
|
| |
Using $* is an abomination. Use properly quoted $@ instead in the
example merge.sh script. While at it, fix the syntax highlighting
(merge.sh is shell code not Python).
RELNOTES: Improved merge.sh script in cookbook.
PiperOrigin-RevId: 172789316
|
|
|
|
| |
PiperOrigin-RevId: 168818956
|
| |
|
|
|
|
| |
PiperOrigin-RevId: 168218117
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 162738376
|
|
|
|
|
| |
Change-Id: Ibbc41193ca3f577fbbd1674e9dd1c7f04a246e93
PiperOrigin-RevId: 162612615
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 162518452
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new docs/ directory in the bazel source tree will only contain the Bazel
docs site, which is hosted at docs.bazel.build. This change deletes the
marketing site and blog, which have been migrated to the bazel-website and
bazel-blog GitHub repositories respectively.
This change also updates the serve-docs.sh and ci/build.sh under scripts/ in
preparation for publishing the docs site.
Note that to help make reviews more manageable, this change is limited to
moving files to their new locations. Here are the follow-up changes:
* Update all links in docs to remove versions/master in paths and to add
correct bazel.build subdomain when linking to pages on the marketing site
or the blog.
* Set up versioned directories on GCS bucket and add tooling for versioning
docs
This change is also coordinated with
https://bazel-review.googlesource.com/c/11568/ to have the PublishSite job
publish to docs.bazel.build rather than www.bazel.build.
Issue #2397
RELNOTES: None
PiperOrigin-RevId: 157612651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a new `redirect` Jekyll layout.
* Replace all pages under docs/ with redirects to corresponding page under
versions/master/.
* Prepend links on Documentation sidebar, including generated navs for the
Skylark Library and Build Encyclopedia, with prefix for versioned directory.
* Add code to both the internal jekyll-config.sh and external jekyll-tree.sh
to add redirect pages for the Skylark Library and Build Encyclopedia.
* Bring the branched User Manual doc up to date with latest changes.
--
MOS_MIGRATED_REVID=131568800
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks design docs links
*** Original change description ***
Move Bazel docs into versioned directory.
* Move all Bazel docs (excluding main page, search page, and blog)
into versions/master directory.
* Replace all original pages with redirects.
* Add Jekyll config with default_version setting to specify the default
version to redirect docs to.
* Add Jekyll config with version_prefix setting specific to pages under
each version directory.
* Update layouts to generate links to pages for the same version with the
version_prefix.
* Update Blaze rel...
***
--
MOS_MIGRATED_REVID=128690580
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move all Bazel docs (excluding main page, search page, and blog)
into versions/master directory.
* Replace all original pages with redirects.
* Add Jekyll config with default_version setting to specify the default
version to redirect docs to.
* Add Jekyll config with version_prefix setting specific to pages under
each version directory.
* Update layouts to generate links to pages for the same version with the
version_prefix.
* Update Blaze release script to copy docs from
third_party/bazel/site/versions/master
Changes to follow this CL:
* Separate navigation from layouts so that navigation can be versioned
as well.
* Add tool for cutting a release of Bazel docs and copies them into a new
version directory.
Bug: #579
--
MOS_MIGRATED_REVID=128510319
|
|
|
|
|
|
|
|
|
|
|
|
| |
I think `cc_binary = cc_binary` was a typo because I don't see what it
was referring to, and prohibiting anybody else from depending on an
internal rule that's effectively an implementation detail seems like a
good practice.
--
Change-Id: I9f51e6844bede6564c980699996b22c3d0978981
Reviewed-on: https://bazel-review.googlesource.com/#/c/3740/
MOS_MIGRATED_REVID=128336843
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126572660
|
|
|
|
|
|
|
| |
attributes as their parameters (instead of using an attribute map).
--
MOS_MIGRATED_REVID=126298988
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126104630
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123071294
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123016395
|
|
|
|
|
|
|
| |
markdown.
--
MOS_MIGRATED_REVID=116007304
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115492703
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115346303
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115033052
|
|
|
|
|
|
|
|
| |
The example implies that this works for an existing binary, but if the rule is a file then it doesn't work. This changes it so that users will know that the allow_files option exists and they likely want it in this case.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/892
MOS_MIGRATED_REVID=114849501
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is to avoid confusion between rule(), which declares a new build
rules, and native.rule(), which can only be used in macros to inspect
the BUILD file processed so far.
native.{rule,rules} is maintained and marked deprecated to smooth the
transition for early adopters.
--
MOS_MIGRATED_REVID=113250194
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112598805
|
|
|
|
|
|
|
| |
Fixes #790
--
MOS_MIGRATED_REVID=112563137
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rule.
Add native.rules(), which returns all previously defined rules.
These primitives can be used to write Skylark extensions that aggregate over the contents of a BUILD file, eg.
def instantiate_if_needed(name):
n = name + "_wrapped"
if not native.rule(n):
py_test(name = n , ... )
def archive_cc_src_files(tag):
all_src = []
for r in native.rules().values():
if tag in r["tags"] and r["kind"] == "cc_library":
all_src.append(r["srcs"])
native.genrule(cmd = "zip $@ $^", srcs = all_src, outs = ["out.zip"])
RELNOTES: Support aggregation over existing rules in Skylark extensions
through native.rules and native.rule.
--
MOS_MIGRATED_REVID=112249050
|
|
|
|
| |
MOS_MIGRATED_REVID=105884504
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96202821
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95732949
|
|
|
|
|
|
|
| |
ctx.attr gives the same result.
--
MOS_MIGRATED_REVID=94077958
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94023360
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93889255
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92937527
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92915630
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92826821
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move sidebar nav on docs and community pages to left side so that the sidebar shows at the top of the page in mobile. Improve appearance of sidebar nav.
* Highlight navbar link depending on current page.
* Switch Markdown renderer to Redcarpet to enable Pygments highlighting of fenced code blocks (```python etc.) such as on Skylark Cookbook page.
* Change ```build to ```python on Skylark cookbook page.
* Minor aesthetic tweaks to Install page
* Make style of Feedburner widget consistent with rest of page.
* Remove use of site_root from layouts and pages since it is no longer necessary after kchodorow@ added JS to redirect from github.google.com/bazel to bazel.io
--
MOS_MIGRATED_REVID=92494349
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91182325
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90708017
|
|
--
MOS_MIGRATED_REVID=90252678
|