From 892f1c6f874120fe7573828f3cd377f58574c46d Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 4 Jan 2020 12:04:47 +0100 Subject: [PATCH] Fix headers in Doxygen output. --- include/api.hpp | 6 ++++-- include/exceptions.hpp | 2 ++ include/instance.hpp | 2 ++ include/mastodonpp.hpp | 2 ++ include/request.hpp | 2 ++ include/return_types.hpp | 2 ++ 6 files changed, 14 insertions(+), 2 deletions(-) diff --git a/include/api.hpp b/include/api.hpp index 6c45ab2..f4d5a14 100644 --- a/include/api.hpp +++ b/include/api.hpp @@ -31,12 +31,14 @@ using std::variant; * @brief Holds API endpoints. * * @since 0.1.0 + * + * @headerfile api.hpp mastodonpp/api.hpp */ class API { public: /*! - * @brief An enumeration of all v1 API endpoints. + * @brief An enumeration of all v1 %API endpoints. * * The original `/` are substituted with `_`. * @@ -48,7 +50,7 @@ public: }; /*! - * @brief An enumeration of all v2 API endpoints. + * @brief An enumeration of all v2 %API endpoints. * * The original `/` are substituted with `_`. * diff --git a/include/exceptions.hpp b/include/exceptions.hpp index 21bdd21..a70e563 100644 --- a/include/exceptions.hpp +++ b/include/exceptions.hpp @@ -34,6 +34,8 @@ using std::string; * @brief Exception for libcurl errors. * * @since 0.1.0 + * + * @headerfile exceptions.hpp mastodonpp/exceptions.hpp */ class CURLException : public exception { diff --git a/include/instance.hpp b/include/instance.hpp index 6fdfc0d..cc9cd50 100644 --- a/include/instance.hpp +++ b/include/instance.hpp @@ -30,6 +30,8 @@ using std::string; * @brief Holds the hostname and access token of an instance. * * @since 0.1.0 + * + * @headerfile instance.hpp mastodonpp/instance.hpp */ class Instance { diff --git a/include/mastodonpp.hpp b/include/mastodonpp.hpp index 9d32d9c..1362ad3 100644 --- a/include/mastodonpp.hpp +++ b/include/mastodonpp.hpp @@ -24,6 +24,8 @@ #include "return_types.hpp" /*! + * @headerfile mastodonpp.hpp mastodonpp/mastodonpp.hpp + * * @mainpage mastodonpp Reference * * @section using Using the library diff --git a/include/request.hpp b/include/request.hpp index 198e5a8..c953f63 100644 --- a/include/request.hpp +++ b/include/request.hpp @@ -32,6 +32,8 @@ using std::string; * @brief Used to make a request to the Mastodon API. * * @since 0.1.0 + * + * @headerfile request.hpp mastodonpp/request.hpp */ class Request { diff --git a/include/return_types.hpp b/include/return_types.hpp index f7e7f03..9f6e53b 100644 --- a/include/return_types.hpp +++ b/include/return_types.hpp @@ -34,6 +34,8 @@ using std::string_view; * * @since 0.1.0 * + * @headerfile return_types.hpp mastodonpp/return_types.hpp + * * @section error Error codes * | Code | Explanation | * | --------: |:-------------------------------------------------------------|