aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
Commit message (Collapse)AuthorAge
* Restore docs for javahotswap command.Gravatar dslomov2017-07-05
| | | | | RELNOTES: None. PiperOrigin-RevId: 160955162
* For topic about generate_workspace tool, fixed broken links and did some ↵Gravatar Googler2017-07-05
| | | | | | rewording. PiperOrigin-RevId: 160955003
* New flag `--incompatible_checked_arithmetic` to use checked arithmetics.Gravatar laurentlb2017-07-05
| | | | | | | RELNOTES: Evaluation will soon use checked arithmetics and throw an error instead of overflow/underflow. PiperOrigin-RevId: 160834366
* Update to latest version of the SVG logoGravatar steren2017-07-05
| | | | | | | (with polished markup) RELNOTES: None PiperOrigin-RevId: 160832281
* Improve the Skylark rule naming documentationGravatar steren2017-07-05
| | | | | RELNOTES: None PiperOrigin-RevId: 160824541
* Describe the tool `generate_workspace` in a separate topic. Update ↵Gravatar Googler2017-07-03
| | | | | | instructions for generating a WORKSPACE file. PiperOrigin-RevId: 160673799
* We dropped support for JDK7Gravatar steren2017-07-03
| | | | | | | Also, the JDK7 version actually did not work in 0.5.1. RELNOTES: None PiperOrigin-RevId: 160645551
* Reorganize Windows install instructionsGravatar steren2017-07-03
| | | | | | | | * move Compile requirement and instructions to the "compile from source" page * remove warning for old versions of Bazel RELNOTES: None PiperOrigin-RevId: 160641070
* Fix TOC in this topic. Our markdown doesn't use [TOC] to create a table of ↵Gravatar Googler2017-06-30
| | | | | | | | contents. This change was verified with a local build. PiperOrigin-RevId: 160533900
* Update aspect documentation to reflect aspect parameters.Gravatar Googler2017-06-29
| | | | | RELNOTES: none PiperOrigin-RevId: 160467549
* Remove misleading documentation about 'transitive-deps' targetGravatar Jeremy Apthorp2017-06-28
| | | | | | | This target is not actually generated by generate_workspace. Change-Id: Idcaa138bf56021b281138d60a06befa8c9579b1d PiperOrigin-RevId: 160295136
* Bazel docs: Fix Edit buttonGravatar steren2017-06-28
| | | | | | | | | | The new doc website has a new URL structure. This change adapts the page extraction code. It also restores the CSS for the edit button which got deleted during refactoring. Fix #3272 RELNOTES: None PiperOrigin-RevId: 160279009
* Create and example of how to change the default on inherited attributesGravatar Pweaver (Paul Weaver)2017-06-28
| | | | | | | | I found it confusing how to create a test rule with a different default size and had to dig through a lot of example code to figure this out. This pull request adds and example to the docs. Closes #3233. PiperOrigin-RevId: 160276727
* Use relative paths in links in docs.Gravatar dzc2017-06-26
| | | | | | | | | | | | | | | | This change fixes links among Bazel docs to use relative paths links instead of absolute path (either full URL or absolute from site root). This way, versioned documentation will link to other pages within the same versioned directory rather than to the site root, which will point to the latest version of the page from HEAD. Future improvements may include adding a lint tool to check links in documentation to ensure that the correct convention is followed such that all links to pages within a version of the docs will point to pages within the same version. RELNOTES: None PiperOrigin-RevId: 160117865
* Remove trailing closing parenthesisGravatar dannark2017-06-26
| | | | | RELNOTES: None PiperOrigin-RevId: 160103230
* Add missing wordGravatar steren2017-06-26
| | | | | RELNOTES: None PiperOrigin-RevId: 159945909
* Forbid duplicate keys in dictionary literalsGravatar laurentlb2017-06-26
| | | | | | | RELNOTES: When using the dictionary literal syntax, it is now an error to have duplicated keys (e.g. {'ab': 3, 'ab': 5}). PiperOrigin-RevId: 159945431
* Rework jekyll-tree build to add redirects from site root.Gravatar dzc2017-06-26
| | | | | | | | | | | | | | As described in the commit message for 5596d3b, the new docs.bazel.build site will have one directory per released version and a master directory for the latest documentation at HEAD. This change reworks the jekyll-tree script to construct a final Jekyll tree containing the documentation at HEAD with documentation under /versions/master and redirect pages at the site root for each documentation page. TESTED=scripts/serve-docs.sh RELNOTES: None PiperOrigin-RevId: 159920553
* Remove Support page from docs.Gravatar dzc2017-06-26
| | | | | RELNOTES: None PiperOrigin-RevId: 159920547
* Update logo. Update Header and Footer to use new style from bazel-website.Gravatar steren2017-06-26
| | | | | | | Refactor CSS structure to only contain shared and docs CSS RELNOTES: None PiperOrigin-RevId: 159837919
* Use targets' labels' package identifier for query output=packageGravatar mschaller2017-06-22
| | | | | | | | | | Subinclude targets' packages are the package containing the load statement. Subinclude targets' labels are the bzl files they refer to. The latter has the appropriate package to display for --output=package. Fixes #3122. PiperOrigin-RevId: 159750840
* Automated rollback of commit 7dec00574aa91327693f6ba7e90bff5bc834253e.Gravatar ajmichael2017-06-22
| | | | | | | | | *** Reason for rollback *** Tickled a hidden bug in Blaze query. RELNOTES: None PiperOrigin-RevId: 159718294
* Delete the 'upcoming' changes section.Gravatar laurentlb2017-06-22
| | | | | | | It's partially redundant with the 'Backward-incompatible changes' section. RELNOTES: None. PiperOrigin-RevId: 159705909
* Introduce --incompatible_depset_is_not_iterableGravatar laurentlb2017-06-21
| | | | | | | RELNOTES: Iterating on a `depset` object is deprecated. If you need an iterable, call the `.to_list()` method first. PiperOrigin-RevId: 159672887
* Update install documentation with latest Bazel version numberGravatar steren2017-06-20
| | | | | | | | | Also remove warning about macOS bug in 0.5.0 and instructions about JDK7 Fixes https://github.com/bazelbuild/bazel/issues/3222 RELNOTES: None PiperOrigin-RevId: 159569520
* Fix a link rot.Gravatar Googler2017-06-16
| | | | | RELNOTES: None PiperOrigin-RevId: 159195321
* Clarify a remark on upcoming changesGravatar brandjon2017-06-16
| | | | | RELNOTES: None PiperOrigin-RevId: 159098919
* Remove reference to Python-preprocessing in the documentationGravatar laurentlb2017-06-16
| | | | | RELNOTES: None. PiperOrigin-RevId: 159044239
* Fix couple of code blocks, doc paths in docgen templates.Gravatar dzc2017-06-16
| | | | | | | | | * Replace ```shell with ```sh to fix jekyll build errors * Fix paths in docgen templates for new docs site directory structure. * Add jekyll build output directories to gitignore. RELNOTES: None PiperOrigin-RevId: 159020213
* Introduce --incompatible_load_argument_is_label (1st argument of load must ↵Gravatar laurentlb2017-06-14
| | | | | | | | | be a label). RELNOTES: First argument of 'load' should be a label. Path syntax is deprecated (label should start with '//' or ':'). PiperOrigin-RevId: 158971314
* Introduce --incompatible_comprehension_variables_do_not_leakGravatar laurentlb2017-06-14
| | | | | | | | | | | | | When the flag is activated, variables in list comprehensions do not leak anymore. Even if a variable was defined before the loop, it's not accessible after the loop. This change allows us to detect any breakage and ensures that no user is accessing loop variables after the loop. This will make possible for us to change the behavior and follow Python 3 semantics in the future. RELNOTES: None. PiperOrigin-RevId: 158895514
* docs: fix outputBase pathGravatar Thiago Farina2017-06-13
| | | | | | | | The path was missing the user's name, that in this example, is just 'user' for the sake of simplicity. Change-Id: I7558c066c28f8a605bd4b4e336b41c09585dfa57 PiperOrigin-RevId: 158749926
* Don't call function names keyword in the query reference because they are not.Gravatar lberki2017-06-13
| | | | | RELNOTES: None. PiperOrigin-RevId: 158721043
* Document the --experimental_extra_action_top_level_only command line option.Gravatar lberki2017-06-09
| | | | | RELNOTES: None. PiperOrigin-RevId: 158497633
* Small edits to overview topic.Gravatar Googler2017-06-09
| | | | PiperOrigin-RevId: 158433594
* Re-add some accidentally deleted docs.Gravatar ajmichael2017-06-09
| | | | | | | | These were accidentally deleted in https://github.com/bazelbuild/bazel/commit/7dec00574aa91327693f6ba7e90bff5bc834253e. RELNOTES: None PiperOrigin-RevId: 158404948
* Removed docs for nonexistent optionGravatar Mike Morearty2017-06-08
| | | | | | | | | | Removed `--local_genrule_timeout_seconds` from the documentation. This option does not exist in the codebase, and is apparently a holdover from internal docs for blaze. Fixes #3131 Closes #3140. PiperOrigin-RevId: 158390228
* Fix paths in Bazel docs, removing references to versions/master.Gravatar dzc2017-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up to https://github.com/bazelbuild/bazel/commit/22b85a2a3c79c6f3aef1e0a61e485bb135be4551. This change updates paths and URLs to Bazel docs, removing the versions/master directory and changing bazel.build/docs to docs.bazel.build. For clarification on the convention of the docs site, links referencing docs.bazel.build/foo.html will be redirected to docs.bazel.build/versions/master/foo.html. The versions/master directory will contain the documentation pages pushed from HEAD. Once versioned documentation is ready, then docs.bazel.build/foo.html will instead be redirected to docs.bazel.build/x.y.z/foo.html, where x.y.z is the directory for the latest stable Bazel version. Follow-ups to this change: * Add script that will be used by the daily push job that pushes the latest documentation from HEAD to docs.bazel.build. This script will do the following: * Build the Jekyll tree, run jekyll build, and modify the resulting site tree, moving the docs/ directory into versions/master. * Add redirects for each of the site pages from the root of the site to the corresponding page in versions/master. * This should give us the minimum viable product for the new docs site. * Add script for cutting a release of the docs and pushing to a new versioned directory on the docs.bazel.build bucket. RELNOTES: None PiperOrigin-RevId: 158347197
* Make PackageOutputFormatter use PackageIdentifier instead of package name.Gravatar ajmichael2017-06-08
| | | | | | | Fixes #3122. RELNOTES: bazel query --output package now displays packages from external repository with the format "@reponame//package". Packages in the main repository continue to have the format "package". PiperOrigin-RevId: 158327492
* Update the C++ tutorial to match the format of the Java tutorial and to use ↵Gravatar Googler2017-06-08
| | | | | | | | | | | | | a sample project hosted on GitHub. This depends on pull request #23 in bazelbuild/examples which uploads the C++ sample project. Staged at: [] [] PiperOrigin-RevId: 158297121
* Bring the Bazel mobile app tutorial up to date.Gravatar Googler2017-06-08
| | | | | | | | | | | | | | This depends on pull request #23 in bazelbuild/examples which modifies the tutorial\WORKSPACE and tutorial\ios-app\BUILD files to match this CL. Staged at: [] [] [] [] RELNOTES: None. PiperOrigin-RevId: 158296117
* Update the Java tutorial for flow, readability, and to use a GitHub-hosted ↵Gravatar Googler2017-06-08
| | | | | | | | | | | companion project. This depends on pull request #23 in bazelbuild/examples which uploads the required Java companion project. Staged at [] RELNOTES: None. PiperOrigin-RevId: 158287971
* Missed updating this title when changing the name of this section in ↵Gravatar Googler2017-06-08
| | | | | | previous change. PiperOrigin-RevId: 158278265
* Update bzl style, local variables don't start with underscoreGravatar laurentlb2017-06-08
| | | | | | | The underscore prefix is meaningful only for global variables (to make them package private). RELNOTES: None. PiperOrigin-RevId: 158277028
* Introduce --incompatible_disallow_toplevel_if_statement to forbid top-level ↵Gravatar laurentlb2017-06-08
| | | | | | | | | | if statements. RELNOTES: In .bzl files, top-level `if` statements are deprecated and will be forbidden in the future. Move them in a function body instead (or use a conditional expression instead: `x if condition else y`). PiperOrigin-RevId: 158276986
* Fix the link to RuleClassProvider.java in Bazel documentation.Gravatar ivucica2017-06-08
| | | | PiperOrigin-RevId: 158267493
* Section about Bazel concepts should be titled as such (rather than "BUILD ↵Gravatar Googler2017-06-06
| | | | | | file" and "Bazel: Build Files and Terminology"). PiperOrigin-RevId: 158149353
* Document --nouse_action_cacheGravatar Googler2017-06-05
| | | | | RELNOTES: None. PiperOrigin-RevId: 157833033
* Remove "supports-workers" tag from ApkBuilder execution info.Gravatar philwo2017-06-05
| | | | | | The C++ implementation of SingleJar, which is available in Bazel, but not yet the default, doesn't support persistent worker mode, so this causes issues when you try to use it. PiperOrigin-RevId: 157831362
* Update documentation for --output_filter and --auto_output_filterGravatar ulfjack2017-06-02
| | | | PiperOrigin-RevId: 157809651