[Doxygen-users] Placing \page in custom command.
Brought to you by:
dimitri
|
From: Robertson, J. E (US) <jef...@ba...> - 2016-06-28 14:10:25
|
I am trying to add a list of items to a page. I am using the fact that /page in different files get added to the same page. I have the following ALIASES define
ALIASES += "index_page=\page index_page this is an index page"
ALIASES += "simple_ref{1}=- \subpage si_csci_\1 \"\1\" "
ALIASES += "add_to_index_page{1}=\index_page \n simple_ref{\1}
If in my code I have the following everything works fine
/// \index_page
/// \simple_ref{os_utilities}
But if I try an use the add_to_index_page nested complex command it does not work.
/// \add_to_index_page{os_utilities}
I think it has something to do with the \page. If I change add_to_index_page to:
ALIASES += "add_to_index_page{1}=\index_page \n simple_ref_x{\1}
I would expect and error (simple_ref_x does not exist) but I do not get one. It seems \page is consuming everything.
I also tried
ALIASES += "index_page=\page index_page this is an index page \n"
This results in the following warnings
OS_Interface.h:36: warning: Found unknown command `\_linebr'
|