Repository navigation
Closed as not planned
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)bazel.buildstaleIssues or PRs that are stale (no activity for 30 days)team-DocumentationDocumentation improvements that cannot be directly linked to other team labelsteam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: documentation (cleanup)
Description
I'd like to collect ideas how to improve the bazel.build and docs.bazel.build websites. My main issue is that some things are harder to find or navigate than I think they could be. There are finer, more focused observations too.
I'm opening this bug with the intent of collecting these ideas -- mine and everyone else's -- and use it as a burn-down list of improvements. Please feel free to add your ideas. I'll keep updating the list as tasks are completed.
- Landing page:
- "Get Bazel" button:
- Rename to "Download Bazel $VERSION for $PLATFORM" to disambiguate meaning and provide direct download link.
- Autodetect user's platform, set the button's caption and link accordingly.
- Make this button equally prominent as current "Get Started" button.
- Rename "Get Started" button to "See Tutorials".
- Add a "Take a tour" button left of "Download Bazel" that takes you to a page that introduces Bazel in a nutshell (i.e. one-pager), using a couple screenshots or animations and little text. Reading the entire tour page should require no more than a minute.
- Add a non-button link to download Bazel for other platforms, or download older versions.
- "Get Bazel" button:
- Navigation pane:
- Remove the "Experimental Features" page. It contains niche information.
- Installing on Windows:
- Getting Bazel section: make "Download Bazel" a link, pointing to the latest version on GitHub.
- Build Encyclopedia, User Manual, Query Manual:
- Version these with Bazel, allow selecting older versions.
Update(2018/05/16):
- Move the language-specific tutorials to GitHub, link to them from the end of the installation guide.
- Document where to install software, what versions to use.
- Provide project skeletons on GitHub that users can clone and customize. Example of this concept: https://github.com/golang-standards/project-layout
- Document runfiles and the runfile libraries (#4279).
- Document how to use DLLs on Windows (#3205).
Update(2018/05/17):
- Move the list of supported rulesets to the top level for improved visibility. Currently, the rulesets are hidden under 2 levels of nesting (Build Encyclopedia > Rules)
Update(2018/06/11):
- from @petemounce: I would love to see a worked example of how to create a rules library - create a rule, iterate it, test it, ship it, integrate it elsewhere. I'm particularly interested to try to create rules for https://packer.io and https://gohugo.io/ .
Reacted by Laurent Le Brun, Jin and Darth Binamira
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)bazel.buildstaleIssues or PRs that are stale (no activity for 30 days)team-DocumentationDocumentation improvements that cannot be directly linked to other team labelsteam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: documentation (cleanup)
Activity
laszlocsomor commentedon May 16, 2018
/cc @spomorski @laurentlb
laurentlb commentedon May 16, 2018
/cc @jin
I agree!
sergetron commentedon May 16, 2018
Thank you for starting this initiative! I agree with the points above and will be adding some of my own.
jin commentedon May 16, 2018
Nice! I have another low hanging fruit FR, based off this Twitter conversation: the list of supported languages are deeply nested in the sidebar under "Build Encyclopedia > Rules". I don't think we should hide the polyglot-ness of Bazel, so perhaps promote the list to a top level sidebar section?
Compare this to Buck's documentation sidebar, where you can see all of the rulesets at a glance.
laszlocsomor commentedon May 17, 2018
@spomorski : Thank you in advance! I believe you have edit rights, feel free to update my first post.
@jin: Good idea! Please update the original post.
petemounce commentedon Jun 5, 2018
I would love to see a worked example of how to create a rules library - create a rule, iterate it, test it, ship it, integrate it elsewhere. I'm particularly interested to try to create rules for https://packer.io and https://gohugo.io/ .
HI-MarkPrice commentedon Jul 17, 2018
One glaring issue on the 'Installing Bazel on Windows' page is that it says you don't need to download a separate JDK 8 install. It also refers to versions on the release page that don't have the JDK integrated -- no such files exist:
Note: Bazel includes an embedded JDK so you don't need to install one separately. If you want to download Bazel without an embedded JDK, look for bazel-<version>-without-jdk-windows-x86_64.exe on the release page.laszlocsomor commentedon Jul 17, 2018
Thanks!
Yes, the page is outdated. There's no JDK-less version anymore. All Windows versions (e.g. https://github.com/bazelbuild/bazel/releases/download/0.15.2/bazel-0.15.2-windows-x86_64.exe) contain an embedded JDK, that's indeed only there to run Bazel itself.
I'll fix these docs tomorrow, or you're welcome to send a PR and assign me as a reviewer if you want to fix it yourself.
docs: update Windows installation and setup docs
docs: update Windows installation and setup docs
docs: update Windows installation and setup docs
7 remaining items
sergetron commentedon Aug 8, 2018
sergiocampama commentedon Aug 8, 2018
@HI-MarkPrice there are examples in the rules_apple repo: https://github.com/bazelbuild/rules_apple/blob/master/examples/macos/HelloWorld/BUILD
did you find those are missing anything?
HI-MarkPrice commentedon Aug 8, 2018
Huh. I honestly didn't even see the examples folder inside of the apple_rules repo. I started from the README.md (glossing over the iOS example because I'm not doing iOS) and followed the link to the reference documentation and then onto the Info.Plist documentation at https://github.com/bazelbuild/rules_apple/blob/master/doc/common_info.md#infoplist-handling
I also looked at the actual rule definition for macos_application. Neither of these helped & being a non-Python user I couldn't figure out what to do to make it work, so I reverted back to reading the Skylark language spec & the Concepts and Terminology pages.
It looks like I might be able to get a bit further with the macos example in the repo. Fingers crossed.
jin commentedon Mar 9, 2020
cc @gregestren
github-actions commentedon Mar 17, 2024
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.
github-actions commentedon Jun 15, 2024
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post
@bazelbuild/triagein a comment here and we'll take a look. Thanks!