From e9dad4375bcd65cdcc4a61a48ddbc6155e394a46 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jan 2021 17:56:08 +0100 Subject: Use globally unique Doxygen group names This is necessary to avoid clashes when building unified documentation as a subproject. --- doc/c/overview.rst | 6 +++--- include/serd/serd.h | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/c/overview.rst b/doc/c/overview.rst index 95862368..2b204155 100644 --- a/doc/c/overview.rst +++ b/doc/c/overview.rst @@ -5,14 +5,14 @@ Overview .. default-domain:: c .. highlight:: c -The API revolves around two main types: the :doc:`api/reader`, +The API revolves around two main types: the :doc:`api/serd_reader`, which reads text and fires callbacks, -and the :doc:`api/writer`, +and the :doc:`api/serd_writer`, which writes text when driven by corresponding functions. Both work in a streaming fashion but still support pretty-printing, so the pair can be used to pretty-print, translate, or otherwise process arbitrarily large documents very quickly. -The context of a stream is tracked by the :doc:`api/env`, +The context of a stream is tracked by the :doc:`api/serd_env`, which stores the current base URI and set of namespace prefixes. The complete API is declared in ``serd.h``: diff --git a/include/serd/serd.h b/include/serd/serd.h index 9265bb54..e5505410 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -263,7 +263,7 @@ void serd_free(void* SERD_NULLABLE ptr); /** - @defgroup string String Utilities + @defgroup serd_string String Utilities @{ */ @@ -317,7 +317,7 @@ serd_base64_decode(const uint8_t* SERD_NONNULL str, /** @} - @defgroup streams Byte Streams + @defgroup serd_streams Byte Streams @{ */ @@ -354,7 +354,7 @@ typedef size_t (*SerdSink)(const void* SERD_NONNULL buf, /** @} - @defgroup uri URI + @defgroup serd_uri URI @{ */ @@ -432,7 +432,7 @@ serd_uri_serialise_relative(const SerdURI* SERD_NONNULL uri, /** @} - @defgroup node Node + @defgroup serd_node Node @{ */ @@ -590,7 +590,7 @@ serd_node_free(SerdNode* SERD_NULLABLE node); /** @} - @defgroup event Event Handlers + @defgroup serd_event Event Handlers @{ */ @@ -647,7 +647,7 @@ typedef SerdStatus (*SerdEndSink)(void* SERD_NULLABLE handle, /** @} - @defgroup env Environment + @defgroup serd_env Environment @{ */ @@ -733,7 +733,7 @@ serd_env_foreach(const SerdEnv* SERD_NONNULL env, /** @} - @defgroup reader Reader + @defgroup serd_reader Reader @{ */ @@ -885,7 +885,7 @@ serd_reader_free(SerdReader* SERD_NULLABLE reader); /** @} - @defgroup writer Writer + @defgroup serd_writer Writer @{ */ -- cgit v1.2.1