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

namespace => no documentation generation. #7

Closed
ArthurSonzogni opened this issue Dec 21, 2019 · 3 comments
Closed

namespace => no documentation generation. #7

ArthurSonzogni opened this issue Dec 21, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ArthurSonzogni
Copy link

Hi,
I observed this code do not generate any documentation:

namespace {
// My comment
void theFunction()
}

but this one does:

// My comment
void theFunction()

I think codedoc do not handle C++ namespace properly.

@michaelrsweet michaelrsweet self-assigned this Dec 22, 2019
@michaelrsweet michaelrsweet added this to the Stable milestone Dec 22, 2019
@michaelrsweet michaelrsweet added the enhancement New feature or request label Dec 22, 2019
@michaelrsweet
Copy link
Owner

Correct, right now the schema for the XML produced by codedoc supports namespaces but the code parser currently does not... Tracking for a future update...

@ArthurSonzogni
Copy link
Author

Thanks!
CodeDoc is exactly the tool I am looking for. Thanks for the snap package ;-)

michaelrsweet added a commit that referenced this issue Dec 28, 2019
- codedoc.c: Prefix all type/function/variable names with namespace, if used.
- codedoc.xsd: Drop old namespaceType since it was never used and doesn't fit
  well with how the documentation is generated anyways.
- testfiles/namespace.cxx: Add implementations of class/struct functions.
- *: bump version and changelog.
@michaelrsweet
Copy link
Owner

[master 5fd7dfc] Add support for C++ namespaces (Issue #7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants