Ticket #1564 (new defect)

Opened 1 year ago

Last modified 5 months ago

Links on doxygen Main Page resulted in call of trac search

Reported by: anonymous Assigned to: cboos
Priority: normal Component: DoxygenPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Problem was, that if I clicked for example 'Classes' Link, the plugin searched for a file /path/to/doxygen/classes.html instead of /path/to/doxygen/html/classes.html. The result was that it didn't find the page and rerouted to the search.

I had to apply the following patch (for the 0.10 version).

Note: I did NOT test what happens if the 'html_output' option is not set in 'trac.ini'.

--- doxygentrac.py.orig 2007-05-23 09:42:35.750206000 +0200
+++ doxygentrac.py  2007-05-23 09:43:07.942571000 +0200
@@ -263,7 +263,7 @@
                                                    self.html_output,
                                                    file or self.index])
             else:
-                doc = ''
+                doc = self.html_output

         def lookup(file, category='undefined'):
             """Build (full path, relative link) and check if path exists."""

Attachments

Change History

06/07/07 07:15:21 changed by Matthijs Kooijman <m.kooijman@student.utwente.nl>

I've been experiencing the same problem and can confirm that the proposed fix works for me as well.

06/29/07 17:12:17 changed by Blackhex

  • owner changed from Blackhex to cboos.

09/21/07 14:25:25 changed by john.femiani@asu.edu

Same problem.

I dont know python, so just used

[doxygen]
path = \path\to\doxygen\output\html
html_output = ./

in trac.ini

Any chance of resolving this issue and committing the changes you folks have made?

09/21/07 15:05:53 changed by Blackhex

  • owner changed from cboos to Blackhex.
  • status changed from new to assigned.

OK, I'll test patch tomorrow and if it will be working I'll commit it...

09/22/07 18:34:36 changed by Blackhex

  • status changed from assigned to closed.
  • resolution set to fixed.

Done with r2651.

02/14/08 04:46:06 changed by gerard.breiner@ias.u-psud.fr

  • status changed from closed to reopened.
  • resolution deleted.

Hello,

I've got the version tracdoxygen 0.10 with the hack r2651 but I have a similar problem with my links.

My links seems to be correct (ie "path/doxygen/html/index.html when I focus the link "Main Page") but when I click on this link I get a search page for "index.html".

My context doxygen in trac.ini is

[doxygen] path = /home/trac/nulltimate/doxygen index = index.html wiki_index = DoxyGen? default_documentation = doxygen #html_output = html ext = 'py'

Would you have an idea please ?

Thanks in advance

Gerard

02/15/08 07:56:37 changed by Blackhex

  • owner changed from Blackhex to cboos.
  • status changed from reopened to new.

Cboos should be more competent to answer now...


Add/Change #1564 (Links on doxygen Main Page resulted in call of trac search)




Change Properties
Action