Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find namespace "Name.Space" #20

Closed
ReenigneArcher opened this issue Dec 16, 2023 · 1 comment
Closed

Cannot find namespace "Name.Space" #20

ReenigneArcher opened this issue Dec 16, 2023 · 1 comment

Comments

@ReenigneArcher
Copy link

Issue

I'm just getting started with this project... and I'm fairly new to C#, so it's possible I am doing something incorrectly. I have used Doxygen + Breathe for a C++ project before though, so I think I have that in order.

My RST file:

ThemerrManager
==============

.. doxygennamespace:: Jellyfin.Plugin.Themerr
   :members:
   :protected-members:
   :private-members:
   :undoc-members:

I get the following error:

/home/docs/checkouts/readthedocs.org/user_builds/themerr-jellyfin/checkouts/187/docs/source/code/ThemerrManager.rst:4: WARNING: doxygennamespace: Cannot find namespace "Jellyfin.Plugin.Themerr" in doxygen xml output for project "Jellyfin.Plugin.Themerr" from directory: ../build/doxyxml

I think I must just be referencing the namespaces incorrectly, as the namespaces are in my doxygen xml build directory.
image

I can reference the highest level "Jellyfin" namespace, but with that I get a bunch of Failed to find xref for: <Object> warnings/errors... which I have not looked into yet. I also don't think I want to document that far up in the structure.

References

PR to add code docs: LizardByte/Themerr-jellyfin#187

@ReenigneArcher
Copy link
Author

I discovered that I can specify nested namespaces with the below syntax.

ParentNamespace::ChildNamespace

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant