From 2e5b38b4beeec3e9b790a5feb5e4c8c674bf5c58 Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 17 May 2022 16:02:41 +0200 Subject: [PATCH] Fix broken links due to lampepfl/dotty#15169 --- .../scala3-migration/scaladoc-settings-compatibility.md | 2 +- scala3/scaladoc.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_overviews/scala3-migration/scaladoc-settings-compatibility.md b/_overviews/scala3-migration/scaladoc-settings-compatibility.md index 5e1f2e6005..7bb96b90d8 100644 --- a/_overviews/scala3-migration/scaladoc-settings-compatibility.md +++ b/_overviews/scala3-migration/scaladoc-settings-compatibility.md @@ -60,7 +60,7 @@ Source links are used to point to source code at some remote repository like git Hopefully, the new syntax is almost superset of the old syntax. To migrate to the new scaladoc syntax, make sure that you don't use any of these variables: `€{TPL_OWNER}` or `€{FILE_PATH_EXT}`. Otherwise you have to rewrite your source link, using either other `variables` or you can use new -syntax, about which you can read more at [dotty docs](https://dotty.epfl.ch/docs/usage/scaladoc/settings.html) +syntax, about which you can read more in the [Scaladoc documentation]({% link _overviews/scala3-scaladoc/settings.md %}). Note that new syntax let you specify prefixes of your files paths to match specific url in case your sources are scattered in different directories or even different repositories. diff --git a/scala3/scaladoc.md b/scala3/scaladoc.md index 3b8e90b7d8..f6706ffdf0 100644 --- a/scala3/scaladoc.md +++ b/scala3/scaladoc.md @@ -5,7 +5,7 @@ title: New features for Scaladoc The new Scala version 3 comes with a completely new implementation of the documentation generator _Scaladoc_, rewritten from scratch. In this article you can find highlights of new features that are or will be introduced to Scaladoc. -For general reference, visit [Scaladoc manual](https://dotty.epfl.ch/docs/usage/scaladoc/) +For general reference, visit [Scaladoc manual]({% link _overviews/scala3-scaladoc/index.md %}). ## New features @@ -82,4 +82,4 @@ If you encounter a bug or have an idea for improvement, don't hesitate to create [scaladoc-docstrings]: {% link _overviews/scala3-scaladoc/docstrings.md %} [static-documentation]: {% link _overviews/scala3-scaladoc/static-site.md %} [built-in-blog]: {% link _overviews/scala3-scaladoc/blog.md %} -[social-links]: https://dotty.epfl.ch/docs/usage/scaladoc/settings.html#-social-links +[social-links]: {% link _overviews/scala3-scaladoc/settings.md %}#-social-links