HTML_STYLESHEETS question

Discuss how to use DoxyPress

HTML_STYLESHEETS question

Postby sanjsrik » Wed Jul 20 2016 8:41 pm

Hi,

User coming from Doxygen 1.8.1.1

I have a custom css I have modified the original doxygen.css and have renamed it doxygen_new.css.

It is being brought over when I generate my HTML output I can see it in the output directory, but ALL of my files still refer to the doxygen.css in the head of every file when output. None of my output is styled correctly. If I manually rename doxygen_new.css to doxygen.css and copy it in to my output directory, everything of course styles correctly, so, why isn't the doxygen_new.css being used?

So, my question is, is the doxygen_new.css a replacement of JUST those styles I want to update meaning THOSE are the styles I want in the doxygen_new.css or is it a wholesale replacement of doxygen.css with the doxygen_new styles?

So, if I want to change the following from the original doxygen.css file:

div.qindex, div.navtab{
background-color: #EBEFF6;
border: 1px solid #A3B4D7;
text-align: center;
}

to change the background color to

div.qindex, div.navtab{
background-color: #EBEFF6;
border: 1px solid #FFFFFF;
text-align: center;
}

in my doxygen_new.css do I ONLY include this snippet of the css or do I put the ENTIRE css all over again with this line changed as well?
sanjsrik
 
Posts: 2
Joined: Wed Jul 20 2016 8:31 pm

Re: HTML_STYLESHEETS question

Postby ansel » Fri Jul 22 2016 6:41 pm

Hi,

Thank you so much for your question. We appreciate the opportunity to provide technical support.

The intent of the HTML_STYLESHEETS tag in your project file is to add overrides to the existing builtin stylesheet. Your custom doxygen_new.css should only contain the rules you wish to override in the builtin stylesheet. DoxyPress will automatically include both stylesheets in the HTML header.

If you are using a custom HTML header file, ensure the only reference to stylesheets in your custom header is exactly as follows:

Code: Select all
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" />
$extrastylesheet


The code listed above directs DoxyPress to insert the correct stylesheet references, including links to your custom stylesheet.

You may want to generate the default DoxyPress header and footer files and review them. For more information on this process, refer to http://www.copperspice.com/docs/doxypre ... usage.html

Please let us know if this resolves the issue you are describing.
ansel
 
Posts: 60
Joined: Fri Apr 10 2015 8:23 am

Re: HTML_STYLESHEETS question

Postby sanjsrik » Fri Jul 22 2016 6:55 pm

Okay, wow, THAT is not anywhere in the documentation. See, if you put that in the documentation it would be very clear.

thank you.
sanjsrik
 
Posts: 2
Joined: Wed Jul 20 2016 8:31 pm


Return to User Support

cron