diff --git a/contributordoc.md b/contributordoc.md index ced4e173..72f4b1bb 100644 --- a/contributordoc.md +++ b/contributordoc.md @@ -15,15 +15,15 @@ * [Manifest](packaging_apps_manifest) * [Scripts](packaging_apps_scripts) * [Arguments management](packaging_apps_arguments_management) - * [Arguments format](#/packaging_apps_arguments_format) + * [Arguments format](packaging_apps_arguments_format) * [Nginx configuration](packaging_apps_nginx_conf) * [Multi-instance](packaging_apps_multiinstance) * [Helpers](packaging_apps_helpers) * [Trap usage](/packaging_apps_trap) * [Adding your app to the apps list](https://github.com/YunoHost/Apps/#contributing) - * [Advanced packaging features](#/packaging_apps_advanced) - * [Application actions](#/packaging_apps_actions) - * [Application configuration panel](#/packaging_apps_config_panel) + * [Advanced packaging features](/packaging_apps_advanced) + * [Application actions](/packaging_apps_actions) + * [Application configuration panel](/packaging_apps_config_panel) * Quality tests * [Package linter](https://github.com/YunoHost/package_linter) * [Package check](https://github.com/YunoHost/package_check) diff --git a/contributordoc_fr.md b/contributordoc_fr.md index 82b68782..d52744e4 100644 --- a/contributordoc_fr.md +++ b/contributordoc_fr.md @@ -15,15 +15,15 @@ * [Manifest](/packaging_apps_manifest) * [Scripts](/packaging_apps_scripts) * [Gestion des arguments](/packaging_apps_arguments_management) - * [Format des arguments](#/packaging_apps_arguments_format) + * [Format des arguments](/packaging_apps_arguments_format) * [Configuration nginx](/packaging_apps_nginx_conf) * [Multi-instance](/packaging_apps_multiinstance) * [Fonctions utiles](/packaging_apps_helpers) * [Utilisation de 'trap'](/packaging_apps_trap) * [Ajouter son application à la liste des apps](https://github.com/YunoHost/Apps/#contributing) - * [Feature de packaging avancées](#/packaging_apps_advanced) - * [Actions pour une application](#/packaging_apps_actions) - * [Panneau de configuration pour une application](#/packaging_apps_config_panel) + * [Feature de packaging avancées](/packaging_apps_advanced) + * [Actions pour une application](/packaging_apps_actions) + * [Panneau de configuration pour une application](/packaging_apps_config_panel) * Tests de qualité * [Package linter](https://github.com/YunoHost/package_linter) * [Package check](https://github.com/YunoHost/package_check) diff --git a/packaging_apps_actions.md b/packaging_apps_actions.md index b1bc92b6..91b3fd49 100644 --- a/packaging_apps_actions.md +++ b/packaging_apps_actions.md @@ -47,7 +47,7 @@ like the `manifest.toml`/`manifest.json`.
The arguments are written in **[YunoHost Arguments -Format](#/packaging_apps_arguments_format)** like in `manifest.toml/json` +Format](/packaging_apps_arguments_format)** like in `manifest.toml/json`
The general pattern looks like this: diff --git a/packaging_apps_advanced.md b/packaging_apps_advanced.md index c2bb905e..a4e8eef8 100644 --- a/packaging_apps_advanced.md +++ b/packaging_apps_advanced.md @@ -16,7 +16,7 @@ application, for example that could be: * start a procedure * regenerate a local cache -[Full documentation](#/packaging_apps_actions) +[Full documentation](packaging_apps_actions) Example in the admin: @@ -33,7 +33,7 @@ possible inside the application itself. This is generally also the place where you want to add the option to make an application public or not. -[Full documentation](#/packaging_apps_config_panel) +[Full documentation](packaging_apps_config_panel) Example in the admin: diff --git a/packaging_apps_config_panel.md b/packaging_apps_config_panel.md index a3afaf04..9e54e584 100644 --- a/packaging_apps_config_panel.md +++ b/packaging_apps_config_panel.md @@ -62,7 +62,7 @@ application, next to the manifest.json/toml. It looks like this:
The options are written in **[YunoHost Arguments -Format](#/packaging_apps_arguments_format)** like in `manifest.toml/json` +Format](/packaging_apps_arguments_format)** like in `manifest.toml/json`
```toml diff --git a/tests/uniformize_links.sh b/tests/uniformize_links.sh index 9a5ab061..e0e1613d 100644 --- a/tests/uniformize_links.sh +++ b/tests/uniformize_links.sh @@ -6,10 +6,10 @@ do sed -i -E 's@\(https://yunohost.org/#/(\w+)\)@(/\1)@g' $FILE # Replace (/foo_fr) to (foo) - sed -i -E 's@\(\/?((\w|-)+)_(en|fr|es|it|ar|de|oc)\)@(/\1)@g' $FILE + sed -i -E 's@\(\/?((\w|-)+)_(en|fr|es|it|ar|de|oc|ca)\)@(/\1)@g' $FILE # Replace href="/foo_fr" to href="foo" - sed -i -E 's@href="/?((\w|-)+)_(en|fr|es|it|ar|de|oc)"@href="/\1"@g' $FILE; + sed -i -E 's@href="/?((\w|-)+)_(en|fr|es|it|ar|de|oc|ca)"@href="/\1"@g' $FILE; done git checkout project_organization.md project_organization_fr.md diff --git a/tests/unreferenced_pages.sh b/tests/unreferenced_pages.sh index 92fa14e1..c1705fd6 100644 --- a/tests/unreferenced_pages.sh +++ b/tests/unreferenced_pages.sh @@ -5,7 +5,7 @@ HTML_TARGETS=$(grep -nr -o -E 'href="\/?(\w|-)+\"' ./*.md | sed -E 's@href="/?@@ ALL_TARGETS=$(echo $MARKDOWN_TARGETS $HTML_TARGETS) -PAGES=$(ls *.md | sed -E 's/(_(fr|it|de|ar|oc|es|ru))?.md//g' | sort | uniq) +PAGES=$(ls *.md | sed -E 's/(_(fr|it|de|ar|oc|es|ru|ca))?.md//g' | sort | uniq) returncode=0