views:

20

answers:

1

Just about everything in my documentation ends up with the namespace:: prefix in front of it. (where namespace is the name of my namespace)

Is there a way to have the documentation generated without the namespace part?

For example:

my_namespace::myclass::member

becomes:

myclass::member

It would make everything more readable.

+1  A: 

Turns out the answer was simple: you have to set HIDE_SCOPE_NAMES to YES in the configuration file.

George Edison
The only problem with this is that it also causes class scope names to be hidden, not just namespace scope names. In other words `my_namespace::myclass::member` becomes just `member`. This may not be a problem, but it *can* cause ambiguities especially when there are nested classes. For instance `superclass::subclass` becomes just `subclass` so there is no longer any indication in the documentation that `subclass` is nested within `superclass`.
Dan Moulding
True, but thankfully neither of those are problems with my project.
George Edison