Changes between Initial Version and Version 1 of Ticket #5963


Ignore:
Timestamp:
Jan 20, 2015, 6:00:42 PM (9 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5963 – Description

    initial v1  
    1 My doxygen uses the CREATE_SUBDIRS feature to be able to have the amount of files in a manageable size. Additionally I use in my setup prefixes for the project where the docs reside, as such I have some svn/html prefix and a complete url to the docs looks like:
     1My doxygen uses the `CREATE_SUBDIRS` feature to be able to have the amount of files in a manageable size. Additionally I use in my setup prefixes for the project where the docs reside, as such I have some `svn/html` prefix and a complete url to the docs looks like:
    22
     3{{{
    34domain.com/doxygen/svn/html/d9/d3f/structfool_1_1bar.html
     5}}}
    46
    5 however on the tabs bar the annotated.html that is my entry point is visible via domain.com/doxygen/ (because its configured for the default project svn/html). As such clicking there on the link to classes.html it links to domain.com/doxygen/classes.html which it correctly redirects to the default projects domain.com/doxygen/svn/html/classes.html
     7however on the tabs bar the `annotated.html` that is my entry point is visible via `domain.com/doxygen/` (because its configured for the default project `svn/html`). As such clicking there on the link to `classes.html` it links to `domain.com/doxygen/classes.html` which it correctly redirects to the default projects `domain.com/doxygen/svn/html/classes.html`
    68
    7 Doing now the same for actual class documentation means I click on link to domain.com/doxygen/d9/d3f/structfool_1_1bar.html which should insert svn/html but does not do so. Looking at doxygentrac.py it seems the problem here is this line:
     9Doing now the same for actual class documentation means I click on link to `domain.com/doxygen/d9/d3f/structfool_1_1bar.html` which should insert `svn/html` but does not do so. Looking at `doxygentrac.py` it seems the problem here is this line:
    810
    911{{{ doc, file = segments[:-1], segments and segments[-1] }}}
    1012
    11 which does not take into account that there can be a subdirized documentation and treats just the one after the last / as the documentation file, and thinks the remaining d9/d3f is a project prefix like svn/html and leaves it as-is.
     13which does not take into account that there can be a subdirized documentation and treats just the one after the last / as the documentation file, and thinks the remaining `d9/d3f` is a project prefix like `svn/html` and leaves it as-is.
    1214
    1315The easiest would probably be a config option to tell doxygentrac to use more than the last one for subdirized projects (however be aware of that it currently works as intended with the entry point files like classes.html that are not subdirized!)