aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen
Commit message (Collapse)AuthorAge
* Skylark documentation: use the same table of content everywhere.Gravatar Laurent Le Brun2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102029410
* Move global objects to RuntimeGravatar Francois-Rene Rideau2015-08-31
| | | | | | | | Move away global constants and global namespaces out of Environment and into a new file Runtime. -- MOS_MIGRATED_REVID=101940218
* Push local and shard_count documentation.Gravatar Ulf Adams2015-08-28
| | | | | -- MOS_MIGRATED_REVID=101768878
* Move presentation-specific logic from BE docgen into Velocity templates. MakeGravatar David Chen2015-08-18
| | | | | | | documentation of predefined attributes consistent with new look and feel. -- MOS_MIGRATED_REVID=100905320
* Split Skylark Library into multiple pages, one per module. Add collapsibleGravatar David Chen2015-08-18
| | | | | | | | submenus to sidebar, and expand and highlight the link for the current page. Collapse sidebar on mobile and expose button for toggling sidebar. -- MOS_MIGRATED_REVID=100836792
* Build-encyclopedia: Update load documentationGravatar Laurent Le Brun2015-08-13
| | | | | -- MOS_MIGRATED_REVID=100568149
* Move MethodLibrary from packages to syntaxGravatar Francois-Rene Rideau2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99396919
* RELNOTES[INC]: Remove built-in support for cc_public_libraryGravatar Han-Wen Nienhuys2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99180853
* Improved format of Skylark documentation:Gravatar Florian Weikert2015-07-21
| | | | | | | | - Default values of optional method parameters are displayed - Removed leading * in argument list -- MOS_MIGRATED_REVID=98730004
* Use Apache Velocity for templating for generating Build Encyclopedia. ↵Gravatar David Chen2015-06-26
| | | | | | | | | | | | | Refactor code used for extracting documentation from rule classes into separate class. Todo after this CL: * Use RuleDocumentation and RuleDocumentationAttribute directly in .vm templates to further simplify BuildEncyclopediaProcessor code * Use VTL #include for including common attribute documentation * Split BE into multiple pages * Use templating for Skylark Library -- MOS_MIGRATED_REVID=96865477
* Improve readability of Build Encyclopedia summary table on bazel.io.Gravatar David Chen2015-06-19
| | | | | | | Add Bootstrap styles to all tables on Test Encyclopedia for bazel.io. -- MOS_MIGRATED_REVID=96388455
* Make it possible to put the Crosstool proto in BUILD files.Gravatar Lukacs Berki2015-06-09
| | | | | | | This is needed so that Bazel can access Android NDK if it's outside of the workspace. The current limitation is that we Bazel can pretend that there is a BUILD file there, but cannot do the same with a CROSSTOOL file. We could fix that limitation, but given that Crosstool is the only conceivable use case, let's fix it by changing the Blaze-Crosstool interface. -- MOS_MIGRATED_REVID=95517408
* Minor doc update (wrt exports_files and BUILD files).Gravatar Laurent Le Brun2015-06-03
| | | | | | | The paragraph is not very useful, and not entirely true. -- MOS_MIGRATED_REVID=95006327
* Add main to print list of rules.Gravatar Han-Wen Nienhuys2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94762936
* Don't reference cc_public_library in the Bazel build encyclopedia.Gravatar Greg Estren2015-05-15
| | | | | -- MOS_MIGRATED_REVID=93332951
* Implements an attribute 'features' that allows overriding package levelGravatar Manuel Klimek2015-04-30
| | | | | | | | | | | | | | | | | | | | | | | | features. Features on the rule level modify features that are enabled at the package level. Note that this behavior is different from how the current command line / package level interaction is, but we probably want to change the command line behavior. Alternative implementations considered: a) using package-level features as default value for the rule attribute; this would make it hard for future transitions; adding a completely new feature to a package should not require updating all rules that have overrides b) putting all positive features and all negative features from command-line, package, and rule attribute into a positive and negative set, and subtract the negative from the positive set; this is how the command-line features worked previously, but it makes it impossible to enable a features that is disabled at the package level just for one rule. RELNOTES: Add 'features' attribute on the rule level. -- MOS_MIGRATED_REVID=92448449
* Migrate SkylarkBuiltin annotations to SkylarkSignature instead.Gravatar Francois-Rene Rideau2015-04-21
| | | | | -- MOS_MIGRATED_REVID=91603959
* More skylark function cleanupsGravatar Francois-Rene Rideau2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91407816
* Enable accepting external contributions to the BE's static parts.Gravatar Laszlo Csomor2015-04-14
| | | | | -- MOS_MIGRATED_REVID=91084448
* Configurable attributes: support embeddable selects. With thisGravatar Greg Estren2015-04-14
| | | | | | | | | | | | | | | | change, the following syntax: deps = [':always'] + select({':a': [':adep'], ':b': [':bdep']}) or deps = select({':a': [':adep'], ':b': [':bdep']}) + select({':c': [':cdep'], ':d': [':ddep']}) works. -- MOS_MIGRATED_REVID=91016337
* Skylark builtin function cleanupsGravatar Francois-Rene Rideau2015-04-13
| | | | | | | | | | Clean up related to Skylark builtin functions. Replace "hidden" field of some annotations with a "documented" field (with reversed semantics). -- MOS_MIGRATED_REVID=90827020
* Blaze docs: open-source the Skylark API documentation.Gravatar Laszlo Csomor2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89499954
* Bazel docs: add missing section about $(location) expansion.Gravatar Laszlo Csomor2015-03-25
| | | | | | | Also fix a typo in contributing.md. -- MOS_MIGRATED_REVID=89411635
* Make Bazel's documentation nicer.Gravatar Laszlo Csomor2015-03-24
| | | | | | | | | | Remove cross-links between "Using Bazel" documents. The navigation panel on the left side is enough. Also fix a broken list in install.md -- MOS_MIGRATED_REVID=89310507
* Create the Bazel homepage.Gravatar Laszlo Csomor2015-03-24
| | | | | | | Also fix several broken links. -- MOS_MIGRATED_REVID=89296840
* Remove default_obsolete reference (since the attributeGravatar Greg Estren2015-03-23
| | | | | | | has been removed). -- MOS_MIGRATED_REVID=89149128
* Skylark: proper anchor is generated for Boolean types in the documentation.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89123292
* Skylark: documentation is updated. SkylarkFileType.java is moved to the ↵Gravatar Googler2015-03-20
| | | | | | | ../lib/rules package. Unused code is removed. Anchor for lists is fixed in the doc. -- MOS_MIGRATED_REVID=89117189
* Replace @BlazeRule with a getMetadata() method. This lets us avoid Java ↵Gravatar Googler2015-03-20
| | | | | | | | | | | | | | | | | Reflection, and saves ~15% of initialization time in []RuleClassProvider.create(). Before change: Over 14 samples, average = 976 median = 969.9 After change: Over 14 samples, average = 811.5 median = 813.9 -- MOS_MIGRATED_REVID=89036261
* Skylark: documentation for targets is added and improved.Gravatar Googler2015-03-20
| | | | | -- MOS_MIGRATED_REVID=89032399
* Remove "obsolete" and "default_obsolete" from the BUILD language.Gravatar Greg Estren2015-03-18
| | | | | | | | Anyone who needs this kind of functionality in the future can redefine it through user-defined constraints. -- MOS_MIGRATED_REVID=88871811
* Add missing "implicit output" section for Bazel's java_test.Gravatar Laszlo Csomor2015-03-16
| | | | | | | | | Also some cosmetic changes in the BE template: remove strikethrough style when mouse hovers over text marked as describing something deprecated, to make it easier to read. -- MOS_MIGRATED_REVID=88723528
* Fix Build Encyclopedia docgen: allow overriding rule definitions.Gravatar Laszlo Csomor2015-03-13
| | | | | | | | This is important if a base rule definition is available but the specific rule class wants to override it. -- MOS_MIGRATED_REVID=88533474
* Attribute synopsis's are cleaned up. The BE generator prints a warning in ↵Gravatar Googler2015-03-13
| | | | | | | case of a missing synopsis (except for deprecated attributes). -- MOS_MIGRATED_REVID=88436777
* Glob documentation is updated.Gravatar Googler2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88325408
* Make the BE docgen's code a bit nicer.Gravatar Laszlo Csomor2015-03-10
| | | | | | | | | Remove unused section (Generating rules) and simplify the code that reads basic rule definitions (name, type, family) in for example: <!-- #BLAZE_RULE (NAME = cc_binary, TYPE = BINARY, FAMILY = C / C++) --> -- MOS_MIGRATED_REVID=88200584
* RELNOTES[NEW]: The "args" attribute of *_binary and *_test rules now support ↵Gravatar Damien Martin-Guillerez2015-03-06
| | | | | | | | | expanding $(location //some/deps) *_binary and *_test rules were supporting make variables substitution but not location expansion like genrule() does. Now the $(location //some/label) where //some/label is the label of a dependency of the rule will be replaced at runtime by the actual location of that dependency. In the same manner $(locations //some/label) will be replaced by the space separated list of files of the //some/label dependency. A longer usage explanation is provided in the build encyclopedia. -- MOS_MIGRATED_REVID=87927345
* Removed unsupported common attributes documentationGravatar Damien Martin-Guillerez2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87809723
* Build encyclopedia: moved the HTML out of the java class into templatesGravatar Damien Martin-Guillerez2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87704425
* Undocument some MakeVars in Bazel's BE.Gravatar Laszlo Csomor2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87698761
* Add documentation for workspace()Gravatar Kristina Chodorow2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87622845
* Generate Build Encyclopedia and Skylark API doc for Bazel.Gravatar Laszlo Csomor2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87515939
* The BE generator now warns if rules are undocumented.Gravatar Laszlo Csomor2015-03-05
| | | | | | | | It also caches files that it already processed, since that may legally happen if there are multiple overlapping directory trees are specified as input. -- MOS_MIGRATED_REVID=87492930
* Remove the "begin-block" comments from the very beginning of the BE.Gravatar Laszlo Csomor2015-03-04
| | | | | -- MOS_MIGRATED_REVID=87335844
* Annotate the public/confidential/shared parts of the BE template.Gravatar Laszlo Csomor2015-02-26
| | | | | | | | | Rewrite some examples that used internal labels to be safe for external version. Also remove some obsolete parts such as no-longer existent Make variables. -- MOS_MIGRATED_REVID=87241538
* Cosmetic changes moved out of []Gravatar Francois-Rene Rideau2015-02-11
| | | | | | | | These shouldn't affect the semantic of the program in any significant way, but will hush the linter and other such metaprograms. -- MOS_MIGRATED_REVID=86089271
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957