aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/tutorial
Commit message (Collapse)AuthorAge
* docs: update Windows installation and setup docsGravatar Laszlo Csomor2018-07-26
| | | | | | | | | | | | | | Also update the Java Tutorial page to say you have to install the JDK and set JAVA_HOME. See https://github.com/bazelbuild/bazel/issues/5208 Change-Id: I14b792589c39f03572518aaff6f6f8e5ca8a65c8 Closes #5617. Change-Id: I45c841189b0c220365ab9aeeb67f26b32059be4a PiperOrigin-RevId: 206156529
* Fix xdot command example in cpp tutorialGravatar Naresh2018-06-12
| | | | | | | | | | | | [Documentation fix] In recent versions of xdot, piping the output of `bazel query` no longer displays the visualization due to an unrelated change in xdot. So, use redirection instead of pipe. Closes #5316. PiperOrigin-RevId: 200220180
* docs: fix broken link on tutorial/java.htmlGravatar Laszlo Csomor2018-06-12
| | | | | | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/5358 Change-Id: I0c9eca59349069a41e3613600df25ed2b678b34c Closes #5363. Change-Id: I0c9eca59349069a41e3613600df25ed2b678b34c PiperOrigin-RevId: 200182247
* docs(tutorial/cpp): fix link to other tutorialsGravatar Kelsey Z2018-05-31
| | | | | | | | iOS and android now have separated tutorials, fix a dead-link in the documentation Closes #5298. PiperOrigin-RevId: 198723211
* Fix typo in cpp.mdGravatar ????2018-05-28
| | | | | | | | | Hi, I fixed a typo in the tree representation of tutorial directories/files at `cpp.md`. Closes #5276. PiperOrigin-RevId: 198297573
* Add instructions to view graph locally via xdotGravatar Gabriel Staples2018-04-30
| | | | | | | | No one with sensitive data wants to get in the habit of pasting output into web pages online. This is very helpful to those who'd like to generate and view the graphs locally. Closes #4964. PiperOrigin-RevId: 194785337
* Update version references of rules_apple in Bazel.Gravatar kaipi2018-03-28
| | | | | | minus some minor specific features. PiperOrigin-RevId: 190784717
* Fixed broken links to user manual in docsGravatar Jingwen Chen2018-03-05
| | | | | | | | The user manual filename has been renamed from `bazel-user-manual.html` to `user-manual.html`. Closes #4662. PiperOrigin-RevId: 187877241
* Update iOS tutorial to reference latest releaseGravatar Sergio Campama2018-03-01
| | | | | | Closes #4712. PiperOrigin-RevId: 187486082
* Fix link to cpp-use-cases.mdGravatar Yves Junqueira2018-01-03
| | | | | | Closes #4352. PiperOrigin-RevId: 180659440
* Fix wrong description library -> binaryGravatar Passw2017-12-22
| | | | | | Closes #4344. PiperOrigin-RevId: 179962459
* Fix the link to C++ build use cases in the C++ tutorialGravatar Googler2017-12-11
| | | | | RELNOTES: None. PiperOrigin-RevId: 178622747
* Tweak the grammar of some titles in bazel documentation.Gravatar ahumesky2017-12-08
| | | | | RELNOTES: None. PiperOrigin-RevId: 178406494
* Fix typo in tutorial build rulesGravatar Zain Asgar2017-11-28
| | | | | | Closes #4166. PiperOrigin-RevId: 177160857
* Update ios-app.mdGravatar Dave MacLachlan2017-11-17
| | | | | | | | | | Move from git_repository to http_archive and add more details to the documentation. Will update bazelbuild/examples with https://github.com/bazelbuild/examples/pull/44 Closes #3968. PiperOrigin-RevId: 176113916
* Clarify the direction of visibility in the tutorialGravatar Peter Laird2017-10-13
| | | | | | | | The original text makes it sound like greeter target needs visibility to the runner target. It is the other way around. Closes #3866. PiperOrigin-RevId: 171958509
* Update the Bazel iOS tutorial to pull the latest Apple build rules.Gravatar Googler2017-09-25
| | | | PiperOrigin-RevId: 169698060
* Fix target label.Gravatar Googler2017-09-20
| | | | PiperOrigin-RevId: 169301145
* Create the "C++ and Bazel" and "Java and Bazel" pages.Gravatar Googler2017-09-14
| | | | PiperOrigin-RevId: 168687598
* Update Bazel android tutorial to reflect more possible usages of ↵Gravatar dannark2017-09-06
| | | | | | | android_sdk_repository and android_ndk_repository without api_level. RELNOTES: None PiperOrigin-RevId: 167655738
* Rename bazel-user-manual.html into user-manual.htmlGravatar dmarting2017-09-04
| | | | PiperOrigin-RevId: 167477112
* Fix typo in C++ tutorial: "target that that builds"Gravatar Alex2017-08-17
| | | | | | Closes #3554. PiperOrigin-RevId: 165426323
* Fix broken link to cc_binaryGravatar Yi Cheng2017-08-09
| | | | | | | | | Invalid url https://docs.bazel.build/versions/master/tutorial/docs/be/c-cpp.html#cc_binary Valid url: https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary Closes #3511. PiperOrigin-RevId: 164698249
* Split the mobile app tutorial into separate Android and iOS tutorials and ↵Gravatar Googler2017-08-09
| | | | | | | eliminate the backend server tutorial. RELNOTES: None. PiperOrigin-RevId: 164653190
* Add a TOC to the C++ tutorial.Gravatar Googler2017-08-07
| | | | | RELNOTES: None. PiperOrigin-RevId: 164283165
* Add TOC to Java tutorial.Gravatar Googler2017-08-07
| | | | | RELNOTES: None. PiperOrigin-RevId: 164278379
* Automated rollback of commit 08e34e37663ec0fa2e957e44c7e1e0a2afc205ea.Gravatar Googler2017-07-21
| | | | | | | | | | | | | | | | *** Reason for rollback *** Rolling this back as it was the example BUILD file that was incorrect, not the tutorial itself. Submitted an updated BUILD file in commit 6abf4b9. *** Original change description *** the build file and bash example out of synch comparing to the latest code in the java tutorial repo Closes #3419. PiperOrigin-RevId: 162635241
* the build file and bash example out of synchGravatar Shlomi Shemesh2017-07-20
| | | | | | | | comparing to the latest code in the java tutorial repo Closes #3419. PiperOrigin-RevId: 162599972
* 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
* 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
* 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
* 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
* 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
* Adding redirects for old pages that were served and indexed. Gravatar Steren Giannini2017-03-10
| | | | | | | | | | | Fixes #2551 Closes #2565. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2565 PiperOrigin-RevId: 149755159 MOS_MIGRATED_REVID=149755159
* 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
* Clean up minor issues in C++/Java tutorialsGravatar David Herman2016-07-22
| | | | | | | | | | | | Hello, I work for Google but am currently contributing this as an individual. I'm interested in learning Bazel on the side, and as I'm going through the docs, I thought I'd submit code reviews for misc. Bazel site cleanup that I came across (especially for guides that act as a first impression for new users). Let me know if you'd prefer I submit this patch in a different way. Thanks! Closes #1530. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1530 MOS_MIGRATED_REVID=128174882
* - Move Java-specific content to Java landing pageGravatar Yun Peng2016-06-27
| | | | | | | | - Turn C++ Basic into a C++ language landing page - Reorganized tutorial menu -- MOS_MIGRATED_REVID=125796335
* Fix mismatch between docs and backend/BUILD in master in examples/tutorial.Gravatar Eric Paniagua2016-04-18
| | | | | | | | The tutorial is broken when using the original BUILD source copied from the docs, and this change fixes it. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1137 MOS_MIGRATED_REVID=120102063
* Remove deprecated Skylark rulesGravatar Kristina Chodorow2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117968196
* Fix a small typo.Gravatar Googler2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117130300
* Upgrade Apache Commons Collections to v3.2.2Gravatar Googler2016-03-04
| | | | | | | | | | | | | | Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of vulnerability that exists. By merely existing on the classpath, this library causes the Java serialization parser for the entire JVM process to go from being a state machine to a turing machine. A turing machine with an exec() function! https://commons.apache.org/proper/commons-collections/security-reports.html http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/ -- MOS_MIGRATED_REVID=116309858
* Add documentation on how to build for an iOS device, use a provisioning ↵Gravatar Dave MacLachlan2016-02-22
| | | | | | | profile, and install an app on a device. -- MOS_MIGRATED_REVID=115175241
* Tutorial: change load statement to use the new syntax.Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | This the tutorial part of change for https://github.com/bazelbuild/examples/issues/10. -- MOS_MIGRATED_REVID=114677244
* Updates the bazel appengine tutorial docs to match the updates to the ↵Gravatar Alex Humesky2016-02-04
| | | | | | | workspace file in the repo. -- MOS_MIGRATED_REVID=113822978
* Add titles to Bazel documentation pages.Gravatar David Chen2016-01-20
| | | | | | | Fixes #790 -- MOS_MIGRATED_REVID=112563137