.. autobazel-workspace:: some_path
:hide:
.. autobazel-package:: //ab/c
will throw the error:
WARNING: No workspace was defined before the autobazel-package definition of //bazel/tools/sphinx.
Please define one, which can than be used as reference for calculating file paths.
Or use option :root-path: to document something withouta bazel workspace.
Without :hide: everything is working.
So it looks like that internally no workspace gets setup if :hide: is used.
will throw the error:
Without :hide: everything is working.
So it looks like that internally no workspace gets setup if :hide: is used.