aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/skylark
Commit message (Collapse)AuthorAge
* Restructure site/ directory into docs/ which only contains Bazel documentation.Gravatar dzc2017-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Replace doc pages with redirects to versioned doc pages.Gravatar David Chen2016-08-29
| | | | | | | | | | | | | | * 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
* Rollback of commit 3e8bcae69a0718cf6972be086706b1841e0ed6b7.Gravatar Damien Martin-Guillerez2016-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | *** 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 Bazel docs into versioned directory.Gravatar David Chen2016-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Typo fixes in markdown and javadoc as suggested by intellij typo inspection.Gravatar Googler2016-07-27
| | | | | -- MOS_MIGRATED_REVID=128476121
* Allow lists to be modified while a For loop is iterating over them.Gravatar Jon Brandvein2016-07-26
| | | | | | | | This does not affect the loop's iteration. Similar work is needed for comprehension For clauses. -- MOS_MIGRATED_REVID=128357769
* Fixup newly added cookbook exampleGravatar Brian Silverman2016-07-25
| | | | | | | | | | | | 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
* Fix a couple of links in documentationGravatar Googler2016-07-07
| | | | | -- MOS_MIGRATED_REVID=126803908
* Add allow_single_file in attr.label, deprecate single_file.Gravatar Laurent Le Brun2016-07-05
| | | | | -- MOS_MIGRATED_REVID=126620866
* Deprecate DATA_CFG and HOST_CFG, use string 'data' and 'host' instead.Gravatar Laurent Le Brun2016-07-04
| | | | | -- MOS_MIGRATED_REVID=126572660
* Make java_classpath flag non-experimentalGravatar Liam Miller-Cushon2016-07-01
| | | | | -- MOS_MIGRATED_REVID=126310706
* Skylark documentation update: callback functions have to list the required ↵Gravatar Florian Weikert2016-07-01
| | | | | | | attributes as their parameters (instead of using an attribute map). -- MOS_MIGRATED_REVID=126298988
* Some cleanup in skylark cookbook/macros docGravatar Laurent Le Brun2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126104630
* Clarify documentation of type() - behavior might change in the future.Gravatar Laurent Le Brun2016-06-24
| | | | | | | Also, update difference with Python that was dropped from commit 1c88f9cfafcd7f8856066a0ca4531ca2fc92c5bd -- MOS_MIGRATED_REVID=125711726
* Document more differences with Python: nested functions and for loopsGravatar Laurent Le Brun2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125694309
* Fix invalid jekyll markdown by replacing it with explicit HTML.Gravatar Tobias Werth2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125669112
* Remove word "Skylark" from documentation.Gravatar Laurent Le Brun2016-06-23
| | | | | | | Text becomes somewhat clearer without using this codename. -- MOS_MIGRATED_REVID=125561237
* Show Skylark syntax exampleGravatar Laurent Le Brun2016-06-22
| | | | | -- MOS_MIGRATED_REVID=125452649
* Add some docs on what rules and files areGravatar Kristina Chodorow2016-06-21
| | | | | -- MOS_MIGRATED_REVID=125449364
* Add license types to the documentationGravatar Kristina Chodorow2016-06-21
| | | | | | | Fixes #642. -- MOS_MIGRATED_REVID=125351602
* Convert internal BUILD file style guide to markdown.Gravatar Laurent Le Brun2016-06-21
| | | | | -- MOS_MIGRATED_REVID=125343317
* Improve Skylark mutability documentation.Gravatar Laurent Le Brun2016-06-21
| | | | | -- MOS_MIGRATED_REVID=125336857
* Replace --aspect with --aspects.Gravatar Yue Gan2016-06-13
| | | | | | | Fixes #1375. -- MOS_MIGRATED_REVID=124706979
* Add documentation about where to put new Skylark rulesGravatar Kristina Chodorow2016-06-10
| | | | | -- MOS_MIGRATED_REVID=124565078
* Fix typo in documentation for macros.Gravatar Googler2016-06-03
| | | | | -- MOS_MIGRATED_REVID=123927381
* More formatting.Gravatar Dmitry Lomov2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123777645
* Even more formatting.Gravatar Dmitry Lomov2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123751907
* More formattingGravatar Dmitry Lomov2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123748542
* Fix formatting.Gravatar Dmitry Lomov2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123743221
* Fix more typos in aspect docsGravatar Googler2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123731717
* Fix typo in docs.Gravatar Dmitry Lomov2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123726587
* Changes to aspects documentation.Gravatar Dmitry Lomov2016-06-01
| | | | | | | Added aspects to navigation bar and converted images to png. -- MOS_MIGRATED_REVID=123666975
* Add aspects documentation.Gravatar Dmitry Lomov2016-05-31
| | | | | | | RELNOTES: Aspects documentation added. -- MOS_MIGRATED_REVID=123582693
* Fix typo in skylark cookbookGravatar Googler2016-05-24
| | | | | -- MOS_MIGRATED_REVID=123071294
* Docs demonstrating a macro combining Skylark and native rules.Gravatar Googler2016-05-24
| | | | | -- MOS_MIGRATED_REVID=123016395
* Update skylark docs to use build labels consistently for skylark loadsGravatar Googler2016-04-21
| | | | | -- MOS_MIGRATED_REVID=120339643
* Adds Skylark Remote Repository documentationGravatar Damien Martin-Guillerez2016-03-24
| | | | | | | Fixes #1043 -- MOS_MIGRATED_REVID=118039426
* Expose runfiles symlink functionality in SkylarkGravatar Googler2016-03-11
| | | | | | | | | | | | | | | | | | | | | The Skylark rule context object has a runfiles method. This adds two optional parameters to that method, "symlinks" and "root_symlinks", that expose functionality from the underlying Runfiles java class. With this functionality, one can construct links in the runfiles tree where the source and destination of the link have different names and/or relative directories. This might be useful for things like AppEngine rules where a file in a subdirectory of the source tree needs to appear in the root directory of the runfiles tree. If either new parameter is used, the runfiles is subject to stricter validity checking. This checking propagates to other runfiles that depend on it. RELNOTES: Added "root_symlinks" and "symlinks" parameters to Skylark runfiles() method. -- MOS_MIGRATED_REVID=116879064
* Clean up attribute documentation hoping to make it clearer. Specifically ↵Gravatar Dave MacLachlan2016-03-02
| | | | | | | | | that labels and label_lists are actually of type Target, and adding more cross linking to various documentation to make it easier to peruse. Tested all of the links to make sure they work. -- MOS_MIGRATED_REVID=116076080
* Add some cross referencing to the cookbook and standardize header style for ↵Gravatar Dave MacLachlan2016-03-01
| | | | | | | markdown. -- MOS_MIGRATED_REVID=116007304
* Global cleanup change.Gravatar Googler2016-02-28
| | | | | -- MOS_MIGRATED_REVID=115695111
* Fix load() examples to use build targets instead of file paths.Gravatar Googler2016-02-25
| | | | | -- MOS_MIGRATED_REVID=115492703
* Looks to me like the example was slightly broken, I think this fixes it.Gravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115346303
* Doc update for Skylark syntax, mention 'is' is not supportedGravatar Laurent Le Brun2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115209664
* Minor style fixes.Gravatar Googler2016-02-19
| | | | | -- MOS_MIGRATED_REVID=115033052
* Add allow_files to cookbook example for using a binary.Gravatar Eric Dobson2016-02-17
| | | | | | | | 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
* Update Skylark homepageGravatar Laurent Le Brun2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114428005
* Fix invalid language for fenced code block.Gravatar David Chen2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114372166
* Rollback of commit eb01c21f94fbd6119c2f73796f63f789fd765910.Gravatar David Chen2016-02-11
| | | | | | | | | | | | | | | | *** Reason for rollback *** This change broke internal docs and is no longer needed because the documentation pipeline will automatically take care of converting these to .html for the external site. *** Original change description *** Fix links in http://bazel.io/docs/skylark/ -- MOS_MIGRATED_REVID=114364411
* Add instrumented file provider support to Skylark rules.Gravatar Googler2016-02-10
| | | | | | | RELNOTES: Add instrumented file provider support to Skylark rules. -- MOS_MIGRATED_REVID=114255963