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

"Unabridged API: unexpected kind 'page' (IGNORED)" when using @todo #88

Closed
5p4k opened this issue Apr 26, 2020 · 5 comments
Closed

"Unabridged API: unexpected kind 'page' (IGNORED)" when using @todo #88

5p4k opened this issue Apr 26, 2020 · 5 comments

Comments

@5p4k
Copy link

5p4k commented Apr 26, 2020

It looks like using @todo in Doxygen causes this warning to pop up during build:

(!) Unabridged API: unexpected kind 'page' (IGNORED)

The todo entry is then not visible anywhere in the final documentation.

How to reproduce

    /**
     * @todo This TODO directive causes <tt>(!) Unabridged API: unexpected kind 'page' (IGNORED)</tt>
     */
    class incomplete_class {
    };

I have a separate project where I collected this and other issues (still looking to dispatch them to the right repository); you can also check that out to reproduce.

Doxygen HTML output

image

Exhale HTML output

image

@svenevs
Copy link
Owner

svenevs commented Apr 28, 2020

Well, that's certainly unexpected! Hmmmm. I will have to look into this page business, thanks for creating a repro example! I don't know how easy this one will be to fix, in the meantime I wonder if you can get away with just using the sphinx todo directive?

  • in conf.py's extensions list add "sphinx.ext.todo" (same list where "breathe" and "exhale" are

  • in docs, you have to do that in an \rst block:

    /**
     * \rst
     * .. todo:: implement me!
     * \endrst
     */
    
  • somewhere in your docs, e.g. docs/todo.rst include the .. todolist:: directive to dump them all out

Doesn't fix the actual problem here, but I think it could be a usable workaround?

@5p4k
Copy link
Author

5p4k commented Apr 28, 2020

Thanks! The todo list is more of "nice to have" for my project, but it definitely can be useful to others too.
The workaround works perfectly, but I had to

  • add todo_include_todos = True to conf.py

Now that's what I'm getting:

image

@schmoelder
Copy link

Hey, is there any update on this issue?

@svenevs
Copy link
Owner

svenevs commented Dec 1, 2021

as far as i know this can be closed, doxygen page support was added in #114 so i think it will work with regular old \todo in doxygen as well as the rst solution and .. todolist:: is another viable contendor

please speak up if it's not fully solved

@svenevs svenevs closed this as completed Dec 1, 2021
@brub43
Copy link

brub43 commented Jun 3, 2022

this also seems to happen with the @deprecated doxygen command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants