Modify

Opened 8 years ago

Last modified 8 years ago

#12880 new defect

CSS style files not loaded with 2 different docs

Reported by: ntmlod Owned by: Committo-Ergo-Sum
Priority: normal Component: DoxygenPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Hi,

For testing, I generated the Doxygen documentation in addition of the one for our project. When I navigate into them with Firefox, the CSS rendering fixed for each documentation is not loaded and some pictures are missing or not on the right places. If I set the default_documentation option for a documentation, it solve the problem only for it.
Inside the web console, the HTML source of the page is identical but I got the following error:
stylesheet http://.../search?doxygen=on has not been loaded because its MIME type, « text/html », is not « text/css ».

In the 'Style editor' view, few CSS files from the documentation are not good. They contain only HTML code which it seems from the main Trac Search page.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by ntmlod

Well as it is now, the plugin is quite able to render correctly two different versions of the same documentation but probably not as intended.
In fact, the information for the requested path of the documentation (doc option in the web address) is only available in the first process_request function with the main HTML (index.html at the root or other HTML nodes). Consequently, the text content in the web page will be up to date but other files included might not be (missing or loaded from default_documentation). And obviously it getting worse with two different documentations.
I will try to modify a little the code to get this works: add the doc option for all specified files included in the HTML (succeeded in on-line editing).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Committo-Ergo-Sum.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.