Skip to content
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

workspace hide does not init workspace #18

Open
danwos opened this issue Jul 10, 2019 · 0 comments
Open

workspace hide does not init workspace #18

danwos opened this issue Jul 10, 2019 · 0 comments

Comments

@danwos
Copy link
Member

danwos commented Jul 10, 2019

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

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

No branches or pull requests

1 participant