Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: Documentation in users menu goes to v1 #1037

Closed
Assignees
Kira-Pilot
Labels
siteArea: frontend dashboard
Milestone
@greyscaled

Description

@greyscaled

Steps to Reproduce

  1. Click theDocumentation menu option
  2. Notice you're over athttps://coder.com/docs

docs

Expected

  1. We havesomewhere that we can link to (what TBD) ✔️
  2. This link is updated to point to that placeholder for v2 docs (or the real docs themselves)

Spec

  1. We will just link to/docs directory of this very repository
  2. We will add an environment variable in webpack, something likeCODER_VERSION or similar. If the environment variable is set, use that. Otherwise usemain as the default. See Environment Plugin:
    /**
    * 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||""}'`)
  3. The link can then behttps://github.com/coder/coder/tree/<CODER_VERSION>/docs

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp