Skip to content

Link .node-version file to relative path #23165

Closed

Description

@PtJade-Ceramic

The feature request

Link .node-version file to relative path so that it open the local file in place especially when in IDE rather than open that hosted on the website.

Proposed solution

-You can verify that your installed version matches the one currently used by GitHub Desktop by looking at [our .node-version file](https://github.com/desktop/desktop/blob/development/.node-version). Usually the same major version is enough but if you're running into problems building Desktop please try installing that exact version.
+You can verify that your installed version matches the one currently used by GitHub Desktop by looking at [our .node-version file](../../.node-version). Usually the same major version is enough but if you're running into problems building Desktop please try installing that exact version.

Additional context

You can verify that your installed version matches the one currently used by GitHub Desktop by looking at [our .node-version file](https://github.com/desktop/desktop/blob/development/.node-version). Usually the same major version is enough but if you're running into problems building Desktop please try installing that exact version.

Activity

  1. desktop-triage commented on Nov 11, 2026

    @desktop-triage

    Triage summary: This is a documentation enhancement request — the .node-version reference in docs/contributing/setup-windows.md currently links to the absolute GitHub URL (https://github.com/desktop/desktop/blob/development/.node-version) rather than a relative path, so clicking it in an IDE/markdown previewer opens the hosted file instead of the local one. No existing behavior is broken; this only affects link ergonomics. No duplicate issue was found after searching for related keywords (node-version, relative link, documentation link).

    Initial hypothesis: The link in question is confirmed to still exist verbatim in the current development branch at docs/contributing/setup-windows.md#L21 (commit 3774e47a8a2ca975a643b016cf2dcd7eb2de9b34), where it reads [our .node-version file](https://github.com/desktop/desktop/blob/development/.node-version). Because this is an absolute URL pointing at the development branch rather than a relative path (e.g. ../../.node-version), any tool that renders the markdown locally (VS Code preview, GitHub Desktop's own doc viewer if any, or an offline clone) will resolve the link to the remote hosted copy instead of the file on disk. Converting it to a relative link, as proposed, would let the link resolve correctly both on GitHub and locally — this is a straightforward low-risk doc fix.

    Requesting the enhancement label for this documentation improvement.

    Generated by Issue Triage (skills-driven) for #23165 · auto · 32.1 AIC · ⊞ 4.7K · ◷

  2. added
    docs
    on Nov 17, 2026
  3. babakks commented on Nov 17, 2026

    @babakks
    Member

    Thanks for the suggestion, @PtJade-Ceramic! 🙏

    This makes sense. GitHub recommends relative links for files within a repository, and resolves them correctly in its web interface. Using ../../.node-version here should preserve web navigation while also allowing compatible IDEs to open the local file.

  4. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Issues marked as ideal for external contributors label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

  5. added a commit that references this issue on Nov 17, 2026
    e2f039f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions