Skip to content

bazel.build website improvements #5208

Closed as not planned
Closed as not planned

Description

@laszlocsomor

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.
  • 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):

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):

Activity

  1. laszlocsomor commented on May 16, 2018

    @laszlocsomor
    ContributorAuthor
  2. laurentlb commented on May 16, 2018

    @laurentlb
    Contributor

    /cc @jin

    I agree!

  3. sergetron commented on May 16, 2018

    @sergetron
    Contributor

    Thank you for starting this initiative! I agree with the points above and will be adding some of my own.

  4. jin commented on May 16, 2018

    @jin
    Member

    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.

  5. laszlocsomor commented on May 17, 2018

    @laszlocsomor
    ContributorAuthor

    @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.

  6. petemounce commented on Jun 5, 2018

    @petemounce
    Contributor

    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/ .

  7. HI-MarkPrice commented on Jul 17, 2018

    @HI-MarkPrice

    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.

  8. laszlocsomor commented on Jul 17, 2018

    @laszlocsomor
    ContributorAuthor

    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.

  9. 7 remaining items

  10. sergetron commented on Aug 8, 2018

    @sergetron
    Contributor
  11. sergiocampama commented on Aug 8, 2018

    @sergiocampama
    Contributor
  12. HI-MarkPrice commented on Aug 8, 2018

    @HI-MarkPrice

    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.

  13. added
    team-Bazel
    on Feb 19, 2019
  14. added
    team-OSS
    and removed
    team-Bazel
    on Jul 23, 2019
  15. added
    P2
    on Jul 29, 2019
  16. jin commented on Mar 9, 2020

    @jin
    Member
  17. added
    P3
    and removed
    P2
    on Dec 8, 2020
  18. added
    team-Documentation
    on Jan 11, 2023
  19. github-actions commented on Mar 17, 2024

    @github-actions

    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.

  20. added
    stale
    on Mar 17, 2024
  21. github-actions commented on Jun 15, 2024

    @github-actions

    This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post @bazelbuild/triage in a comment here and we'll take a look. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3bazel.buildstaleteam-Documentationteam-OSStype: documentation (cleanup)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions