-
Notifications
You must be signed in to change notification settings - Fork 988
Closed
Description
Steps to Reproduce
- Click the
Documentation
menu option - Notice you're over at https://coder.com/docs
Expected
We have somewhere 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 in 4efde58
/** * environmentPlugin sets process.env.* variables so that they're available in * the application. */ const environmentPlugin = new EnvironmentPlugin({ 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
Metadata
Metadata
Assignees
Labels
siteArea: frontend dashboardArea: frontend dashboard