From a2cb671d31b55a293aabe75dad5966d4d5e6d948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 20 Sep 2024 19:04:52 +0200 Subject: [PATCH] doc: a link to an anchor Doxygen doesn't know about is a warning now. Which is good, those are all either anchors in the theme itself, or are group names for which Doxygen doesn't make anchors anymore (but m.css does). Plain HTML link still works as before, so let's do that instead. --- src/Magnum/Math/Functions.h | 6 +++--- src/Magnum/Math/Packing.h | 2 +- src/Magnum/ShaderTools/AbstractConverter.h | 4 ++-- src/Magnum/Text/AbstractFont.h | 4 ++-- src/Magnum/Text/AbstractFontConverter.h | 4 ++-- src/Magnum/Trade/AbstractImageConverter.h | 4 ++-- src/Magnum/Trade/AbstractImporter.h | 4 ++-- src/Magnum/Trade/AbstractSceneConverter.h | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/Magnum/Math/Functions.h b/src/Magnum/Math/Functions.h index 3d715058b..ec9b7ad8b 100644 --- a/src/Magnum/Math/Functions.h +++ b/src/Magnum/Math/Functions.h @@ -647,9 +647,9 @@ template inline Vector fma(const Vectorscalar/vector functions +these don't work on @ref Magnum::Math::Deg "Deg" / @ref Magnum::Math::Rad "Rad" +as the resulting unit can't be easily expressed. */ /** diff --git a/src/Magnum/Math/Packing.h b/src/Magnum/Math/Packing.h index 89f03560b..3be95fd00 100644 --- a/src/Magnum/Math/Packing.h +++ b/src/Magnum/Math/Packing.h @@ -36,7 +36,7 @@ namespace Magnum { namespace Math { /** @{ @name Packing and unpacking functions -Similarly to @m_class{m-doc} [scalar/vector functions](#scalarvector-functions) +Similarly to @m_class{m-doc} scalar/vector functions these work on both scalars and vectors, including @ref Magnum::Math::Deg "Deg" and @ref Magnum::Math::Rad "Rad". */ diff --git a/src/Magnum/ShaderTools/AbstractConverter.h b/src/Magnum/ShaderTools/AbstractConverter.h index 07e4459af..d1273f855 100644 --- a/src/Magnum/ShaderTools/AbstractConverter.h +++ b/src/Magnum/ShaderTools/AbstractConverter.h @@ -331,8 +331,8 @@ concrete converter implementation is loaded and instantiated through a @relativeref{Corrade,PluginManager::Manager}. See @ref plugins for more information about general plugin usage, @ref file-formats to compare implementations for common file formats and the list of -@m_class{m-doc} [derived classes](#derived-classes) for all available shader -converter plugins. +@m_class{m-doc} derived classes for all +available shader converter plugins. As each converter has different requirements on the source, its format and options set, you're expected to perform error handling on the application side diff --git a/src/Magnum/Text/AbstractFont.h b/src/Magnum/Text/AbstractFont.h index 39c3eb91f..ae7764ca7 100644 --- a/src/Magnum/Text/AbstractFont.h +++ b/src/Magnum/Text/AbstractFont.h @@ -118,8 +118,8 @@ all error handling: @snippet Text-gl.cpp AbstractFont-usage See @ref plugins for more information about general plugin usage and the list -of @m_class{m-doc} [derived classes](#derived-classes) for available font -plugins. See @ref GlyphCache for more information about glyph caches and +of @m_class{m-doc} derived classes for available +font plugins. See @ref GlyphCache for more information about glyph caches and @ref Renderer for information about actual text rendering. @subsection Text-AbstractFont-usage-font-size Font size diff --git a/src/Magnum/Text/AbstractFontConverter.h b/src/Magnum/Text/AbstractFontConverter.h index 9b27a9c4d..8afde438c 100644 --- a/src/Magnum/Text/AbstractFontConverter.h +++ b/src/Magnum/Text/AbstractFontConverter.h @@ -120,8 +120,8 @@ MAGNUM_TEXT_EXPORT Debug& operator<<(Debug& debug, FontConverterFeatures value); Provides functionality for converting an arbitrary font to different format. See @ref plugins for more information and the list of -@m_class{m-doc} [derived classes](#derived-classes) for available font -converter plugins. +@m_class{m-doc} derived classes for available +font converter plugins. @m_class{m-note m-success} diff --git a/src/Magnum/Trade/AbstractImageConverter.h b/src/Magnum/Trade/AbstractImageConverter.h index f08f18853..62ed3c03a 100644 --- a/src/Magnum/Trade/AbstractImageConverter.h +++ b/src/Magnum/Trade/AbstractImageConverter.h @@ -526,8 +526,8 @@ against the reported @ref features() first. See @ref plugins for more information about general plugin usage, @ref file-formats to compare implementations of common file formats and the -list of @m_class{m-doc} [derived classes](#derived-classes) for all available -image converter plugins. +list of @m_class{m-doc} derived classes for all +available image converter plugins. @m_class{m-note m-success} diff --git a/src/Magnum/Trade/AbstractImporter.h b/src/Magnum/Trade/AbstractImporter.h index cdb8f29d1..d4600ff71 100644 --- a/src/Magnum/Trade/AbstractImporter.h +++ b/src/Magnum/Trade/AbstractImporter.h @@ -242,8 +242,8 @@ In the following example an image is loaded from the filesystem using the See @ref plugins for more information about general plugin usage, @ref file-formats to compare implementations of common file formats and the -list of @m_class{m-doc} [derived classes](#derived-classes) for all available -importer plugins. +list of @m_class{m-doc} derived classes for all +available importer plugins. @m_class{m-note m-success} diff --git a/src/Magnum/Trade/AbstractSceneConverter.h b/src/Magnum/Trade/AbstractSceneConverter.h index 6c11a5dee..a85205aa1 100644 --- a/src/Magnum/Trade/AbstractSceneConverter.h +++ b/src/Magnum/Trade/AbstractSceneConverter.h @@ -637,8 +637,8 @@ it might be good to check against the reported @ref features() first. See @ref plugins for more information about general plugin usage, @ref file-formats to compare implementations of common file formats and the -list of @m_class{m-doc} [derived classes](#derived-classes) for all available -scene converter plugins. +list of @m_class{m-doc} derived classes for all +available scene converter plugins. @subsection Trade-AbstractSceneConverter-usage-mesh-data Converting a single mesh data