GramEditor/gram
38
986
Fork
You've already forked gram
88

docs: fix a few links #125

Merged
krig merged 1 commit from tjk/gram:fix-doc-links into main 2026年03月18日 07:26:42 +01:00
Contributor
Copy link

Without the ./ prefix, the links point to nonexistent subdirectories.

I found one of these while reading docs, and realized the relative path was the issue, so I searched for other occurrences and made the same fix.

Note 1: I don't have a test setup for the site build, but I'm assuming these fixes are correct because it's how they're linked elsewhere in the docs.

Note 2: There are a number of other broken links - anywhere there's a link attempting to point to a parent directory, like [this](../foo.md). However, after looking through Blogatto -> maud -> mork -> Commonmark, I can't find how to link to parent directories; Blogatto only has examples like the ones in this PR, to the same directory. And I didn't want to suggest hardcoding paths to the docs site.

> Without the ./ prefix, the links point to nonexistent subdirectories. I found one of these while reading docs, and realized the relative path was the issue, so I searched for other occurrences and made the same fix. Note 1: I don't have a test setup for the site build, but I'm assuming these fixes are correct because it's how they're linked elsewhere in the docs. Note 2: There are a number of other broken links - anywhere there's a link attempting to point to a parent directory, like `[this](../foo.md)`. However, after looking through Blogatto -> maud -> mork -> Commonmark, I can't find how to link to parent directories; Blogatto only has examples like the ones in this PR, to the same directory. And I didn't want to suggest hardcoding paths to the docs site.
Without the ./ prefix, the links point to nonexistent subdirectories.
krig referenced this pull request from a commit 2026年03月18日 07:26:42 +01:00
Owner
Copy link

Thank you!

I'll look at the ../ links, had missed them.. They probably don't work in the integrated documentation either.

Thank you! I'll look at the `../` links, had missed them.. They probably don't work in the integrated documentation either.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram!125
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "tjk/gram:fix-doc-links"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?