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

Custom URLs #9454

Open
Overhatted opened this issue Jul 17, 2022 · 0 comments
Open

Custom URLs #9454

Overhatted opened this issue Jul 17, 2022 · 0 comments

Comments

@Overhatted
Copy link

Problem

I'm trying to make the URLs generated by doxygen more human-friendly.

With the vanilla doxygen if I generate the documentation, with SEPARATE_MEMBER_PAGES = NO, for a function with signature
target_interface_type* GetInterface(source_interface_type * sourceInterfaceType)
inside the group "BestGroup" I get the following URL:

group___best_group_gae39ec677db4d6ad38b7850a6055aa928.html

Ideally I would like the URL to just be the function name preceded by the group name (of course that won't work in every scenario). I got pretty good results just by changing the line

m_impl->anc = QCString("a")+sigStr;
to m_impl->anc = name();.

Solution

Surely introducing a new option to handle this very specific case is not a good idea. Are there any plans for ways to customize doxygen's behavior like this?
Doxygen could use Lua scripts or simply a shared library. The default implementation would ship alongside the binaries and the user could easily replace them.

I would like to get some feedback before I write something that will not be accepted.

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