Feature Request: Support for Globally Defining Variables #2820
Gregb87
started this conversation in
Feature Requests
Replies: 0 comments
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.
-
I had assumed that this would be a standard feature.
That you can define variables globally in one location (eg, docs.json), and then just reference the variable (eg, {product.name} ) wherever you want across the docs source.
For example:
When using {product.name}, this thing can be done....Seems that is not the case and that you currently have to create a component and then import/export that to any page you want to use them.
We use variables extensively throughout our docs and I feel it would be much easier to manage by having them globally defined and then simply referenced in the source (as per example above) where needed.
Beta Was this translation helpful? Give feedback.
All reactions