Skip to content

Convert internal documentation links to repository-relative paths - #1

Merged
ilarsf merged 8 commits into
mainfrom
copilot/update-internal-links-relative
Sep 5, 2026
Merged

ilarsf merged 8 commits into
mainfrom
copilot/update-internal-links-relative

Conversation

Copilot AI commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

This updates documentation links to avoid hardcoded absolute repository/site URLs for internal pages. Internal references now resolve relative to file location, while canonical external destinations remain absolute.

  • Scope

    • Updated only documentation sources:
      • README.md
      • CONTRIBUTING.md
  • Internal link normalization

    • Replaced absolute GitHub links to in-repo content with relative paths.
    • Examples:
      • https://github.com/FritscheLab/phewasFlow/blob/main/environment.yml → environment.yml
      • https://github.com/FritscheLab/phewasFlow/tree/main/inst/examples/slurm → inst/examples/slurm/
      • https://github.com/FritscheLab/phewasFlow#development → README.md#development
  • Vignette/docs references

    • README internal “learn more” style links now target checked-in vignette sources via relative paths under vignettes/.
    • Wording was adjusted to make source-vs-rendered destinations explicit where both are referenced.
  • Intentional absolutes preserved

    • Kept canonical absolute links that are not internal repository pages (e.g., GitHub issues, rendered hosted article link).
# before
[environment.yml](https://github.com/FritscheLab/phewasFlow/blob/main/environment.yml)
[README](https://github.com/FritscheLab/phewasFlow#development)

# after
[environment.yml](environment.yml)
[README](README.md#development)

Copilot AI and others added 7 commits September 5, 2026 02:06
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Co-authored-by: ilarsf <15234718+ilarsf@users.noreply.github.com>
Copilot AI changed the title [WIP] Update internal page links to use relative URLs Convert internal documentation links to repository-relative paths Sep 5, 2026
Copilot AI requested a review from ilarsf September 5, 2026 02:10
@ilarsf
ilarsf marked this pull request as ready for review September 5, 2026 02:14
@ilarsf
ilarsf merged commit 499a990 into main Sep 5, 2026
3 checks passed
@ilarsf
ilarsf deleted the copilot/update-internal-links-relative branch September 5, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants