Replies: 1 comment
-
Definitely possible with some extra JavaScript |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 For API Docs, we have multiple domains, one per env.
I'm looking to create an experience where a user can select their region with a dropdown, and it will be registered in the URL as a /?region=A, and perhaps also in a cookie.
From there I'd like a javascript code (or similar) to change all markdowns that need domain to something like
The endpoint is: https://{{parse_endpoint(_region)}}:443/path/to/api
Would appreciate any help. New to mkdocs + mkdocs-material
Beta Was this translation helpful? Give feedback.
All reactions