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

Use slugs to avoid broken links #333

Open
tilfischer opened this issue Apr 17, 2024 · 2 comments
Open

Use slugs to avoid broken links #333

tilfischer opened this issue Apr 17, 2024 · 2 comments
Assignees

Comments

@tilfischer
Copy link

Dear Chemotion Documentation Maintainers,

Here and there, I find broken links to the Chemotion Documenation. An example is the Readme of https://github.com/StarmanMartin/EfwBuilder . We also faced this issues with the NFDI4Chem Knowledge Base and somehow solved this by adding slugs.

I am not the expert who has actually implemented this, but it seems to be built in to Docusaurus. @jliermann : Could you provide guidance?

Best,
Tillmann

@jliermann
Copy link
Contributor

Hi @tilfischer ,

what we did for the KB was that every page has a slug which provides a unique routing endpoint, like /pagename. By that, we make sure that internal links persist even if we change the site's hierarchy. It will NOT solve the problem with broken external links. This has to be checked from time to time, for example with a tool like https://www.deadlinkchecker.com/

Best regards,
Johannes

@harivyasi
Copy link
Collaborator

Thanks @tilfischer for raising the issue and thanks @jliermann for the guidance. As implementing this will require significant time (adding some text to every page), I will do this in the next major revision of the docs. This should happen in next 2-3 months so I will keep the issue open as a reminder till then.

If you think this is urgent, or have a link that needs urgent fixing, do let me know :)

@harivyasi harivyasi self-assigned this Apr 19, 2024
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

No branches or pull requests

3 participants