From 5ed1fa18d6a818fec277d160187790b7a561456a Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sun, 10 Sep 2023 19:58:30 +0200 Subject: [PATCH] fix: fix links to other files Signed-off-by: Philip Molares --- docs/content/how-to/develop/setup.md | 2 +- docs/content/index.md | 16 ++++++++-------- docs/content/references/config/customization.md | 16 ++++++++-------- docs/content/references/config/general.md | 2 +- docs/content/tutorials/first-note.md | 6 +++--- docs/content/tutorials/setup.md | 14 +++++++------- docs/content/tutorials/user.md | 6 +++--- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/docs/content/how-to/develop/setup.md b/docs/content/how-to/develop/setup.md index cc2a01326..35cb46862 100644 --- a/docs/content/how-to/develop/setup.md +++ b/docs/content/how-to/develop/setup.md @@ -158,5 +158,5 @@ We recommend to use our pre-configured [Caddy][caddy] configuration. [hedgedoc-repo]: https://github.com/hedgedoc/hedgedoc [yarn]: https://yarnpkg.com/getting-started/install [caddy]: https://caddyserver.com/ -[config-docs]: /references/config/ +[config-docs]: ../../references/config/index.md [frontend-setup]: ./frontend.md diff --git a/docs/content/index.md b/docs/content/index.md index 77c0f882c..e4e0c9f80 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -58,18 +58,18 @@ There are different ways how you can participate in the HedgeDoc project: your own features. [hedgedoc-tour]: https://tour.hedgedoc.org -[install-guide]: /tutorials/setup/ -[config-reference]: /references/config/ +[install-guide]: tutorials/setup.md +[config-reference]: references/config/index.md -[faq]: /faq/ +[faq]: faq/index.md [community-forum]: https://community.hedgedoc.org/ [chat]: https://chat.hedgedoc.org [issue-tracker]: https://github.com/hedgedoc/hedgedoc/issues/new/choose -[tutorials]: /tutorials/ -[how-to]: /how-to/ -[core-concepts]: /concepts/ -[references]: /references/ +[tutorials]: tutorials/index.md +[how-to]: how-to/index.md +[core-concepts]: concepts/index.md +[references]: references/index.md [weblate]: https://translate.hedgedoc.org -[how-to-dev]: /how-to/develop/ +[how-to-dev]: how-to/develop/setup.md diff --git a/docs/content/references/config/customization.md b/docs/content/references/config/customization.md index fe662ec56..412bbae26 100644 --- a/docs/content/references/config/customization.md +++ b/docs/content/references/config/customization.md @@ -43,11 +43,11 @@ For this demo we use the name `DEMO Corp` ![The name in the editor (dark)][name-editor-dark] *name used in the editor* -[links-frontpage]: /images/customization/links.png -[demo-logo]: /images/customization/demo_logo.png -[logo-front-page]: /images/customization/logo/frontpage.png -[logo-editor-light]: /images/customization/logo/editor_light.png -[logo-editor-dark]: /images/customization/logo/editor_dark.png -[name-front-page]: /images/customization/name/frontpage.png -[name-editor-light]: /images/customization/name/editor_light.png -[name-editor-dark]: /images/customization/name/editor_dark.png +[links-frontpage]: ../../images/customization/links.png +[demo-logo]: ../../images/customization/demo_logo.png +[logo-front-page]: ../../images/customization/logo/frontpage.png +[logo-editor-light]: ../../images/customization/logo/editor_light.png +[logo-editor-dark]: ../../images/customization/logo/editor_dark.png +[name-front-page]: ../../images/customization/name/frontpage.png +[name-editor-light]: ../../images/customization/name/editor_light.png +[name-editor-dark]: ../../images/customization/name/editor_dark.png diff --git a/docs/content/references/config/general.md b/docs/content/references/config/general.md index 0ee74b8f1..6ddc45079 100644 --- a/docs/content/references/config/general.md +++ b/docs/content/references/config/general.md @@ -11,4 +11,4 @@ | `HD_MAX_DOCUMENT_LENGTH` | 100000 | | The maximum length of any one document. Changes to this will impact performance for your users. | | `HD_PERSIST_INTERVAL` | 10 | `0`, `5`, `10`, `20` | The time interval in **minutes** for the periodic note revision creation during realtime editing. `0` deactivates the periodic note revision creation. | -[faq-entry]: /faq/#why-should-i-want-to-run-my-renderer-on-a-different-sub-domain +[faq-entry]: ../../faq/index.md#why-should-i-want-to-run-my-renderer-on-a-different-sub-domain diff --git a/docs/content/tutorials/first-note.md b/docs/content/tutorials/first-note.md index b9cdeb81c..749283fde 100644 --- a/docs/content/tutorials/first-note.md +++ b/docs/content/tutorials/first-note.md @@ -47,6 +47,6 @@ Also you can use [editor]: ../images/tutorial/note/editor.png [editor-filled]: ../images/tutorial/note/editor-filled.png -[hfm]: /references/hfm/ -[tutorials/first-presentation]: /tutorials/first-presentation/ -[config]: /references/config/ +[hfm]: ../references/hfm.md +[tutorials/first-presentation]: first-presentation.md +[config]: ../references/config/index.md diff --git a/docs/content/tutorials/setup.md b/docs/content/tutorials/setup.md index 9528588f9..057f350fd 100644 --- a/docs/content/tutorials/setup.md +++ b/docs/content/tutorials/setup.md @@ -71,12 +71,12 @@ about [reverse proxying][reverse-proxying]. [docker-docs]: https://docs.docker.com/ [docker-install]: https://docs.docker.com/engine/install/ -[tutorials/user]: /tutorials/user/ -[tutorials/first-note]: /tutorials/first-note/ -[tutorials/first-presentation]: /tutorials/first-presentation/ +[tutorials/user]: user.md +[tutorials/first-note]: first-note.md +[tutorials/first-presentation]: first-presentation.md -[reverse-proxying]: /how-to/reverse-proxy/ -[backups]: /how-to/backup/ -[auth-methods]: /how-to/auth/ +[reverse-proxying]: ../how-to/reverse-proxy.md +[backups]: ../how-to/backup.md +[auth-methods]: ../how-to/auth.md -[config]: /references/config/ +[config]: ../references/config/index.md diff --git a/docs/content/tutorials/user.md b/docs/content/tutorials/user.md index ccdcd5b9b..52b35fb4f 100644 --- a/docs/content/tutorials/user.md +++ b/docs/content/tutorials/user.md @@ -36,6 +36,6 @@ Congratulation you know have a working local user account for your HedgeDoc inst [register-button]: ../images/tutorial/user/register-button.png [register-form]: ../images/tutorial/user/register-form.png -[tutorials/first-note]: /tutorials/first-note/ -[tutorials/first-presentation]: /tutorials/first-presentation/ -[config]: /references/config/ +[tutorials/first-note]: first-note.md +[tutorials/first-presentation]: first-presentation.md +[config]: ../references/config/index.md