From dc2ce2fd136f4afc64955e23605ae115707dfd0f Mon Sep 17 00:00:00 2001
From: Walter Lozano <walter.lozano@collabora.com>
Date: Fri, 22 Jan 2021 15:24:41 +0000
Subject: [PATCH] Fix links in application-layout

Fix several link issues found in application-layout.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
---
 content/designs/application-layout.md | 32 ++++++++++++++-------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/content/designs/application-layout.md b/content/designs/application-layout.md
index 6ad54c90f..501f2a081 100644
--- a/content/designs/application-layout.md
+++ b/content/designs/application-layout.md
@@ -82,8 +82,8 @@ functionality that is not necessarily long-term stable.
 ### Variable files
 
 * The programs in application bundles may save variable data
-  (configuration, state and/or cached files) for each [user]. ([Applications
-  design] §3, "Data Storage")
+  (configuration, state and/or cached files) for each [user]
+  ([Applications design - Data Storage]).
     * *Configuration* is any setting or preference for which there is a
       reasonable default value. If configuration is deleted, the expected
       result is that the user is annoyed by the preference being reset,
@@ -105,7 +105,7 @@ functionality that is not necessarily long-term stable.
       it from a backup.
 * The programs in application bundles may save variable data
   (configuration, state and/or cached files) that are shared between all
-  [users][user]. ([Applications design] §3, "Data Storage")
+  [users][user] ([Applications design - Data storage]).
 * [Newport needs to be able to write downloaded files][bug 283] to a
   designated directory owned by the application bundle.
     * Because Newport is a platform service, its AppArmor profile will
@@ -120,7 +120,7 @@ functionality that is not necessarily long-term stable.
   vulnerabilities considerably more difficult to exploit.
 * Large media files such as music and videos should normally be
   shared between all [users][user] and all multimedia application
-  bundles. ([Multi-user design] §3, "Requirements")
+  bundles. ([Multi-user design - Requirements])
 
 ### Upgrade, rollback, reset and uninstall
 
@@ -1313,20 +1313,22 @@ writing, no implementations of this idea are known.
 <!-- Other documents -->
 
 [Apertis Application Bundle Specification]: https://appdev.apertis.org/documentation/bundle-spec.html
-[Applications design]: applications.md
-[Applications design document]: applications.md
+[Applications design]: {{< ref "applications.md" >}}
+[Applications design document]: {{< ref "applications.md" >}}
+[Applications design - Data storage]: {{< ref "applications.md#data-storage" >}}
 [Application Entry Points]: {{< ref "application-entry-points.md" >}}
 [App store approval]:  {{< ref "app_store_approval.md" >}} 
 [Interface discovery]:  {{< ref "interface_discovery.md" >}} 
-[Multimedia design]: multimedia.md
-[Multimedia design document]: multimedia.md
-[Multi-user design]: multiuser.md
-[Multi-user design document]: multiuser.md
-[Preferences and Persistence design document]: preferences-and-persistence.md
-[System Update and Rollback design]: system-updates-and-rollback.md
-[System Update and Rollback design document]: system-updates-and-rollback.md
-[Security design]: security.md
-[Security design document]: security.md
+[Multimedia design]: {{< ref multimedia.md >}}
+[Multimedia design document]: {{< ref multimedia.md >}}
+[Multi-user design]: {{< ref multiuser.md >}}
+[Multi-user design document]: {{< ref multiuser.md >}}
+[Multi-user design - Requirements]: {{< ref "multiuser.md#requirements" >}}
+[Preferences and Persistence design document]: {{< ref preferences-and-persistence.md >}}
+[System Update and Rollback design]: {{< ref system-updates-and-rollback.md >}}
+[System Update and Rollback design document]: {{< ref system-updates-and-rollback.md >}}
+[Security design]: {{< ref security.md >}}
+[Security design document]: {{< ref security.md >}}
 
 <!-- Glossary -->
 
-- 
GitLab