diff --git a/doc/main.hh.in b/doc/main.hh.in
index 690a62c7aff4e271b5d5150892fa51b35a0b8189..123903505464a6e9f12523c790861abd4ba29eba 100644
--- a/doc/main.hh.in
+++ b/doc/main.hh.in
@@ -1,8 +1,6 @@
-namespace hpp {
-  namespace manipulation {
-    namespace graph {
 /**
  \mainpage hpp-manipulation documentation
+ \anchor hpp_manipulation_documentation
 
  \par Introduction
 
@@ -50,7 +48,3 @@ namespace hpp {
  thesis</a> for details about the algorithm.
 
  **/
-    }
-  }
-}
-