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

Doxygenclass is empty #979

Open
theaddonn opened this issue Apr 4, 2024 · 0 comments
Open

Doxygenclass is empty #979

theaddonn opened this issue Apr 4, 2024 · 0 comments

Comments

@theaddonn
Copy link

I am using the newest version of doxsygen (1.9.7) together with breathe and breathe apidoc..

While trying to generate class info I noticed something really weird. While the files are filled with information the classes are pretty empty:

image
image

I don't quite understand how this could happen...
The class rst file for BlockPos is:

Class BlockPos
==============

.. doxygenclass:: BlockPos
   :project: AmethystApi

while the file rst file looks like this:

File BlockPos.hpp
=================

.. doxygenfile:: BlockPos.hpp
   :project: AmethystApi

The source file looks like this (BlockPos.hpp):

#pragma once

class BlockPos {
public:
    int x;
    int y;
    int z;

    BlockPos(int x, int y, int z)
    {
        this->x = x;
        this->y = y;
        this->z = z;
    }

    BlockPos below() const
    {
        return {this->x, this->y - 1, this->z};
    }
};

DId I do something wrong, because this definitly doesn't seem right?

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