- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Steps to Reproduce
- Click the
Documentation
menu option - Notice you're over athttps://coder.com/docs
Expected
We havesomewhere that we can link to (what TBD)✔️- This link is updated to point to that placeholder for v2 docs (or the real docs themselves)
Spec
- We will just link to
/docs
directory of this very repository - We will add an environment variable in webpack, something like
CODER_VERSION
or similar. If the environment variable is set, use that. Otherwise usemain
as the default. See Environment Plugin:Lines 10 to 18 in4efde58
/** * environmentPlugin sets process.env.* variables so that they're available in * the application. */ constenvironmentPlugin=newEnvironmentPlugin({ INSPECT_XSTATE:"", }) console.info(`--- Setting INSPECT_XSTATE to '${process.env.INSPECT_XSTATE||""}'`) console.info(`--- Setting NODE_ENV to '${process.env.NODE_ENV||""}'`) - The link can then be
https://github.com/coder/coder/tree/<CODER_VERSION>/docs