Skip to content

chore(deps): update dependency io_bazel_stardoc to v0.7.0 #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
io_bazel_stardoc http_archive minor 0.6.2 -> 0.7.0

Release Notes

bazelbuild/stardoc (io_bazel_stardoc)

v0.7.0

Compare Source

This release requires Bazel 7 or newer.

By default - when using Bzlmod for dependency management - Stardoc now uses
@stardoc as its repo name.

For compatibility with the legacy WORKSPACE-based setup (which used
@io_bazel_stardoc as the repo name) and ease of migration, you may load
Stardoc via

bazel_dep(name = "stardoc", repo_name = "io_bazel_stardoc", ...)

in your MODULE.bazel file.

New Features

  • Add support for a table of contents template (#​203). This is disabled by
    default, but Stardoc comes with an example template that you can use. To
    enable, set table_of_contents_template, for example:
    stardoc(
        ...,
        table_of_contents_template = "@​stardoc//stardoc:templates/markdown_tables/table_of_contents.vm",
    )
  • Add support for a footer template (#​206). This is disabled by default; to
    enable, set footer_template to a .vm file, which you will need to provide.
  • Add support for providing stamping to Stardoc templates (#​205). To use,
    use $util.formatBuildTimestamp and $stamping in a template file
    (footer_template - see above - is recommended for this); for example:
    Built on `$util.formatBuildTimestamp($stamping.volatile.BUILD_TIMESTAMP, "UTC", "yyyy-MM-dd HH:mm")`
    
  • Render documentation for provider init callbacks (#​224)
  • Properly render *args, *, and **kwargs in summaries (#​231). This requires
    Bazel 8 (prerelease 2024060 or newer).
  • Include load statement in summaries (#​216)

Incompatible Changes

  • The legacy extractor has been removed (#​212). Stardoc always uses the
    starlark_doc_extract-based extractor. The stardoc, semantic_flags, and
    use_starlark_doc_extract arguments to stardoc() macro have been removed.
  • Stardoc uses Bzlmod by default for dependency management (#​213). This means
    that by default, Stardoc now uses @stardoc as its repo name.

Contributors

Alex Humesky, Alexandre Rostovtsev, Fabian Meumertzheim, Grzegorz Lukasik,
Xùdōng Yáng, Yun Peng


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) June 20, 2024 19:51
@renovate renovate bot merged commit 198a5e9 into main Jun 20, 2024
@renovate renovate bot deleted the renovate/io_bazel_stardoc-0.x branch June 20, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants