breathe-doc / breathe

ReStructuredText and Sphinx bridge to Doxygen
https://breathe-doc.org
Other
754 stars 201 forks source link

Duplicate declaration/description warnings #965

Closed ReenigneArcher closed 11 months ago

ReenigneArcher commented 11 months ago

Is it possible to suppress duplicate declaration warnings? I have readthedocs set to fail on warning, so would like a way to disable these specific warnings altogether.

I'm facing this in a C++ project, and a C# project using sphinx-csharp.

C++

C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Sunshine\docs\source\source\src\platform\linux\x11grab.rst:6: WARNING: Duplicate C++ declaration, also defined at source/src/platform/linux/vaapi:4.
Declaration is '.. cpp:type:: egl'.
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Sunshine\docs\source\source\src\platform\linux\x11grab.rst:6: WARNING: Duplicate C++ declaration, also defined at source/src/platform/windows/misc:4.
Declaration is '.. cpp:type:: platf'.

C#

C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Api/ThemerrController.rst:4: WARNING: duplicate description of namespace Jellyfin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ThemerrManager.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Api/ThemerrController.rst:4: WARNING: duplicate description of namespace Plugin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ThemerrManager.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Api/ThemerrController.rst:4: WARNING: duplicate description of namespace Themerr, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ThemerrManager.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Configuration/PluginConfiguration.rst:4: WARNING: duplicate description of namespace Jellyfin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Api/ThemerrController.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Configuration/PluginConfiguration.rst:4: WARNING: duplicate description of namespace Plugin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Api/ThemerrController.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Configuration/PluginConfiguration.rst:4: WARNING: duplicate description of namespace Themerr, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Api/ThemerrController.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Plugin.rst:4: WARNING: duplicate description of namespace Jellyfin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Configuration/PluginConfiguration.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Plugin.rst:4: WARNING: duplicate description of namespace Plugin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Configuration/PluginConfiguration.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Plugin.rst:4: WARNING: duplicate description of namespace Themerr, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Configuration/PluginConfiguration.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ScheduledTasks/ThemerrTasks.rst:4: WARNING: duplicate description of namespace Jellyfin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Plugin.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ScheduledTasks/ThemerrTasks.rst:4: WARNING: duplicate description of namespace Plugin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Plugin.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ScheduledTasks/ThemerrTasks.rst:4: WARNING: duplicate description of namespace Themerr, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/Plugin.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ThemerrManager.rst:4: WARNING: duplicate description of namespace Jellyfin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ScheduledTasks/ThemerrTasks.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ThemerrManager.rst:4: WARNING: duplicate description of namespace Plugin, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ScheduledTasks/ThemerrTasks.rst
C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ThemerrManager.rst:4: WARNING: duplicate description of namespace Themerr, other instance in C:\Users\ReenigneArcher\Documents\GitHub\LizardByte\Themerr-jellyfin\docs\source\source_code/Jellyfin.Plugin.Themerr/ScheduledTasks/ThemerrTasks.rst
ReenigneArcher commented 11 months ago

Probably a duplicate of #880