Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sphinx_stardocs doesn't like
@rules_python_gazelle_plugin//modules_mapping:def_bzlwith:So I tried the alias thing and it worked 🤷. Having an alias for every
bzl_librarytarget is not feasible of course. Maybe a filegroup or a meta-targetbzl_library(srcs = ["$ALL_BZL_LIBRARY_TARGETS"])...With the alias, we are able to link with
{bzl:obj}. It goes to: http://localhost:8000/api/rules_python_gazelle_plugin%2B/modules_mapping/def.html#modules_mapping where%2Bis+:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think some of the automatic inference withing
sphinxdocsneeds to be updated, but I am not sure where, I'd need to dig, maybe @rickeylev knows of his hat.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error is due to a macro generating a target with the raw label value; it does this to create some helper targets to extract some info.
sphinxdocs/private/sphinx_stardoc.bzl, function
_name_to_label-- just needs to also replace@, too.