Question on support for needs_global_options
using TOML
#1495
Unanswered
MrChocolateMoose
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Heya, yep it already exists; you can put all sphinx-needs configuration in the toml (assuming none require dynamic python code) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Does that already answer your question? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Sphinx-Needs Community,
I have ported over my configuration file to use a toml file using
needs_from_toml
My use case is to set default properties on my needs (in one case based upon the directory structure so that I do not need to manually annotate many needs with fields).
I can successfully do it using
needs_global_options
.I am wondering if there is equivalent syntax to be able to use this inside the toml file instead of in the
conf.py
.Does this functionality exist or is it planned? Is there a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions