GNOME Bugzilla – Bug 691689
Line numbers for examples
Last modified: 2018-07-30 10:02:17 UTC
Each of the @example files is listed in a dedicated HTML file without line numbers. There seems to be no switch for enabling line numbers. An option for adding line numbers to the example listings would be helpful (cf. \includelineno vs. \include).
Created attachment 233467 [details] [review] Suggested patch for 1.8.3-SVN enabling/disabling line numbers in example listings.
Instead of a new tag in the doxygen configuration file (Doxyfile) a more consistent and flexible command has been introduced: \examplelineno. - consistent with \include / \includelineno, \snippet / \snippetlineno - more flexible as per example it can be decided whether or not line numbers are required I've just pushed a proposed patch to github (pull request 780, https://github.com/doxygen/doxygen/pull/780)
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!