-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Requirement
We have a requests from different doc project for a dynamic page:
Take a URL like:
docs.scylladb.com/?node=x&user=y
And use it in the doc like:
"As a user Y you take the address of X and ..."
Implementation
The notation to write a substitution in the page's source code could look like:
"as a user ${ Y:developer} you take the address ..."
So, if the user does not provide a query param, the page will render a default value (developer) instead of ${Y}.
We need to make sure that no one can inject custom JS snippets or HTML tags like links to prevent others from injecting redirections or other malicious code.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request