ui: allow docHelp override using config.json#4745
Conversation
4b86656 to
ad99722
Compare
|
@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
config.json can have a property named 'docHelpMappings' which can be used to override docHelp suffixes.
In config.json admin can add mappings as follows:
"docHelpMappings": {
"virtual_machine.html": "some.html",
"some_string": "override_string"
}
UI will use these mappings and will make appropriate replacements in the documentation links for different sections and forms.
Addresses apache#4731
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
UI build: ✔️ |
ad99722 to
d9729bc
Compare
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. [S] |
|
@rhtyd moved overriding call in router.js and ActionButton.vue. Working fine. Please check |
|
UI build: ✔️ |
|
LGTM I need to test this manually before merging, are the upstream doc PR raised @shwstppr (to https://github.com/apache/cloudstack-documentation ?) |
|
@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Manually tested - LGTM |
Description
config.json can have a property named 'docHelpMappings' which can be used to override docHelp suffixes.
In config.json admin can add mappings as follows:
UI will use these mappings and will make appropriate replacements in the documentation links for different sections and forms.
Addresses #4731
Documentation PR: apache/cloudstack-documentation#199
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Made changes in
config.json