Skip to content

docs: fix broken links in the muya and website package READMEs - #5668

Merged
Jocs merged 1 commit into
marktext:developfrom
xThreeh:docs/fix-package-readme-links
Oct 8, 2026
Merged

Jocs merged 1 commit into
marktext:developfrom
xThreeh:docs/fix-package-readme-links

Conversation

@xThreeh

@xThreeh xThreeh commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Five relative links in the package READMEs point at files that don't exist:

  • packages/muya/README.md links IMuyaOptions and MUYA_DEFAULT_OPTIONS to ./packages/core/src/..., a path from before muya moved into this repo. They now point to ./src/types.ts and ./src/config/index.ts, where both are defined.
  • The muya and website READMEs link LICENSE next to themselves; there is only the root LICENSE, so they now use ../../LICENSE.
  • packages/website/content/docs/README.md links "Installation instructions" to ../README.md#download-and-installation, which doesn't exist under content/. It now links end-user/INSTALLATION.md, which works on GitHub and which rewriteHref maps to the installation page on marktext.me.

I left assets/marktext-interface-2.png in the docs README alone: it only resolves on the site, where it is served from public/docs/assets.

Type of change

  • Bug fix (non-breaking, fixes an issue)
  • New feature (non-breaking, adds functionality)
  • Breaking change (causes existing functionality to change)
  • Documentation update

Test plan

  • New tests added (or explain why not needed): docs-only change.
  • Checked that every new link target exists on develop and ran markdown-link-check on the three files.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@Jocs
Jocs merged commit 2029829 into marktext:develop Oct 8, 2026
12 checks passed
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