From 04b2cfd1268caf3f9062b9651e8bd561fddb6dd7 Mon Sep 17 00:00:00 2001
From: Mathias Chouet <mathias.chouet@irstea.fr>
Date: Thu, 16 Apr 2020 17:07:41 +0200
Subject: [PATCH] Section nubs: link to Embankment elevation doc

---
 docs/en/calculators/hsl/section_parametree.md     | 1 +
 src/app/calculators/bief/config.json              | 5 ++++-
 src/app/calculators/courberemous/config.json      | 5 ++++-
 src/app/calculators/regimeuniforme/config.json    | 5 ++++-
 src/app/calculators/sectionparametree/config.json | 5 ++++-
 5 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/docs/en/calculators/hsl/section_parametree.md b/docs/en/calculators/hsl/section_parametree.md
index d7af9a25e..e3e8ad8f0 100644
--- a/docs/en/calculators/hsl/section_parametree.md
+++ b/docs/en/calculators/hsl/section_parametree.md
@@ -27,6 +27,7 @@ The calculated hydraulic quantities are:
 - Conjugate depth
 - Tractive force (Pa)
 
+<div style="position: relative"><a id="hauteur-de-berge-debordement-et-ecoulement-en-charge" style="position: absolute; top: -60px;"></a></div>
 ## Bank height, overflow and closed-conduit flow
 
 The sections are all provided with a bank height which is used at three levels in the free surface hydraulics calculation tools:
diff --git a/src/app/calculators/bief/config.json b/src/app/calculators/bief/config.json
index 5dec17342..399d8a25f 100644
--- a/src/app/calculators/bief/config.json
+++ b/src/app/calculators/bief/config.json
@@ -42,7 +42,10 @@
                 "help": "hsl/strickler.html"
             },
             "Long",
-            "YB",
+            {
+                "id": "YB",
+                "help": "hsl/section_parametree.html#hauteur-de-berge-debordement-et-ecoulement-en-charge"
+            },
             "ZF1",
             "ZF2"
         ]
diff --git a/src/app/calculators/courberemous/config.json b/src/app/calculators/courberemous/config.json
index d075ff431..455e9d73b 100644
--- a/src/app/calculators/courberemous/config.json
+++ b/src/app/calculators/courberemous/config.json
@@ -30,7 +30,10 @@
                 "help": "hsl/strickler.html"
             },
             "Long",
-            "YB",
+            {
+                "id": "YB",
+                "help": "hsl/section_parametree.html#hauteur-de-berge-debordement-et-ecoulement-en-charge"
+            },
             "ZF1",
             "ZF2"
         ]
diff --git a/src/app/calculators/regimeuniforme/config.json b/src/app/calculators/regimeuniforme/config.json
index c463a3ccb..ab18abfb1 100644
--- a/src/app/calculators/regimeuniforme/config.json
+++ b/src/app/calculators/regimeuniforme/config.json
@@ -30,7 +30,10 @@
                 "help": "hsl/strickler.html"
             },
             "If",
-            "YB"
+            {
+                "id": "YB",
+                "help": "hsl/section_parametree.html#hauteur-de-berge-debordement-et-ecoulement-en-charge"
+            }
         ]
     },
     {
diff --git a/src/app/calculators/sectionparametree/config.json b/src/app/calculators/sectionparametree/config.json
index 68fb2773e..30410690a 100644
--- a/src/app/calculators/sectionparametree/config.json
+++ b/src/app/calculators/sectionparametree/config.json
@@ -30,7 +30,10 @@
                 "help": "hsl/strickler.html"
             },
             "If",
-            "YB"
+            {
+                "id": "YB",
+                "help": "hsl/section_parametree.html#hauteur-de-berge-debordement-et-ecoulement-en-charge"
+            }
         ]
     },
     {
-- 
GitLab