From 2cc11ce79b3233f0e5dfa69bf3e89ab4df336122 Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Tue, 4 Oct 2016 12:03:05 +0200
Subject: [PATCH] ENH: add ref anchor for fancy classification results

---
 Documentation/Cookbook/rst/recipes/pbclassif.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Documentation/Cookbook/rst/recipes/pbclassif.rst b/Documentation/Cookbook/rst/recipes/pbclassif.rst
index a715b67421..c537dad6f2 100644
--- a/Documentation/Cookbook/rst/recipes/pbclassif.rst
+++ b/Documentation/Cookbook/rst/recipes/pbclassif.rst
@@ -417,6 +417,8 @@ class.
                                   -ref.vector.field  Class (name_of_label_field)
                                   -out               confusion_matrix.csv
 
+.. _fancy_classification_results:
+
 Fancy classification results
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -698,10 +700,9 @@ NoData and Undecided labels have a default value equal to 0.
 Example
 ~~~~~~~
 
-Resulting from the application presented in section
-[ssec:classificationcolormapping], and illustrated in Fig.
-[fig:MeanShiftVectorImageFilter], the Fig.
-[fig:ClassificationMapRegularizationApplication] shows a regularization
+Resulting from the application presented in section :ref:`fancy_classification_results`
+and illustrated in Fig. [fig:MeanShiftVectorImageFilter],
+the Fig.[fig:ClassificationMapRegularizationApplication] shows a regularization
 of a classification map composed of 4 classes: water, roads, vegetation
 and buildings with red roofs. The radius of the ball shaped structuring
 element is equal to 3 pixels, which corresponds to a ball included in a
-- 
GitLab