Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Links Auto-Update When Page Moves? #81

Open
wesleyboar opened this issue Sep 11, 2024 · 0 comments
Open

Can Links Auto-Update When Page Moves? #81

wesleyboar opened this issue Sep 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wesleyboar
Copy link
Collaborator

wesleyboar commented Sep 11, 2024

Problem

A link to a page must be update if the page is moved.

Upcoming changes (internal project) may move many pages.

Requests

  • Links should auto-update if page moves.
  • May require new way to write links.
  • Should not break existing links.

Ideas

A. Install Plugin

Is there a plugin that can do this?

plugin notes
mkdocs-ezlinks-plugin not active, not compatible with mkdocs v1.4
👍 mkdocs-autorefs active

B. Maintain Redirects

  1. Install https://github.com/mkdocs/mkdocs-redirects.
  2. When moving a page, always create a redirect.

C. Program a Solution

@wesleyboar wesleyboar added the enhancement New feature or request label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant