fix: add missing proto_library load to support Bazel 8 (#263)

Add proto_library load; update rules_java and rules_jvm_external deps.

Use a consistent set of dependencies for both bzlmod and WORKSPACE, as
identified by bzlmod error messages. Remove various obsolete comments.

Fix WORKSPACE - we now explicitly need to call rules_java_dependencies() and
protobuf_deps(), thanks to recent java & proto changes, and need to force a newer rules_python transitive dep (which in turn needs a py_repositories() call).

Set --java_runtime_version in .bazelrc to unbreak the build if a newer jdk
(such as jdk-23) happens to be installed systemwide (this issue appears thanks
to the rules_java dependency version bump).

Remove ubuntu 18.04 from CI setup; it is unsupportable, since protobuf c++ code now fails to compile with g++ 7.5.0 - see https://buildkite.com/bazel/stardoc/builds/1777#01936ab9-3c44-4d95-904d-0bc29124c15e

---------

Co-authored-by: Alexandre Rostovtsev <arostovtsev@google.com>
8 files changed
tree: 361e9b3296b94972bd43effc25756a902d3bae84
  1. .bazelci/
  2. distro/
  3. docs/
  4. src/
  5. stardoc/
  6. test/
  7. .bazelignore
  8. .bazelrc
  9. .gitignore
  10. AUTHORS
  11. BUILD
  12. CHANGELOG.md
  13. CODEOWNERS
  14. CONTRIBUTING.md
  15. CONTRIBUTORS
  16. deps.bzl
  17. LICENSE
  18. maven_install.json
  19. MODULE.bazel
  20. README.md
  21. setup.bzl
  22. update-release-binary.sh
  23. update-stardoc-docs.sh
  24. update-stardoc-tests.sh
  25. version.bzl
  26. WORKSPACE
  27. WORKSPACE.bzlmod
README.md

Stardoc - Starlark Documentation Generator

Build status

Stardoc is a documentation generator for Bazel build rules written in Starlark.

Stardoc provides a Starlark rule (stardoc, see documentation) that can be used to build documentation for Starlark rules in Markdown. Stardoc generates one documentation page per .bzlfile.

Get Started

About Stardoc

Project Status

Skydoc deprecation

Stardoc is a replacement for the deprecated “Skydoc” documentation generator.

See Skydoc Deprecation for details on the deprecation and migration details.

Future plans

See our future plans for refactoring Stardoc to be more consistent with how Bazel evaluates .bzl files, and what it means for maintenance of this project.

Maintainer's guide

See the maintaner's guide for instructions for cutting a new release.