diff --git a/doc/documentation.dox b/doc/documentation.dox
deleted file mode 100644
index b3dbe721..00000000
--- a/doc/documentation.dox
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
-@mainpage libssh main documentation
-@section Introduction
-
-*/
diff --git a/doc/mainpage.dox b/doc/mainpage.dox
new file mode 100644
index 00000000..95f6529f
--- /dev/null
+++ b/doc/mainpage.dox
@@ -0,0 +1,12 @@
+/**
+ * @mainpage
+ * This manual documents the libssh C API.
+ *
+ * There are several other places to look for libssh information, such as the
+ * tutorial
+ * and the specification; those can be found at the libssh website.
+ *
+ * To be continued...
+ */
+
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 42d0daa7..1b751842 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -30,18 +30,6 @@
#ifndef _LIBSSH_PRIV_H
#define _LIBSSH_PRIV_H
-/**
- * @mainpage
- * This manual documents the libssh C API.
- *
- * There are several other places to look for libssh information, such as the
- * tutorial
- * and the specification; those can be found at the libssh website.
- *
- * To be continued...
- */
-
#include "config.h"
#ifdef _MSC_VER