HaikuBook: Apply layout customizations after default Doxygen stylesheet
Previously the 'book.css' file was applied as the sole stylesheet for the Doxygen generated documentation. This stylesheet now applies it as a secondary stylesheet to override Doxygen's defaults. The main advantage is that when Doxygen adds new features, they will now be styled by default. I did my best to clean up the book.css file, though it is not unlikely that there still is a lot of duplicate CSS. For now though, the output looks mostly the same, the code blocks no longer have an empty line between each of the lines and the tooltip text - while not working - are no longer visible on the bottom of the page. Change-Id: Ia50915245ecd981843d0d8ec42e362b538187920 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3269 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
0d87f2555a
commit
d458e592eb
+14
-8
@@ -1,15 +1,21 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF8">
|
||||
<title>$title | $projectname</title>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen $doxygenversion"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
|
||||
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
|
||||
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="$relpath^book.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="$relpath^jquery.js"></script>
|
||||
<script type="text/javascript" src="$relpath^dynsections.js"></script>
|
||||
<script type="text/javascript">/* Collapse stuff */ $(function(){$("tr.inherit_header > td").click();});</script>
|
||||
<script type="text/javascript">function search(n,e){if(e.keyCode==13)window.location.href='https://www.google.com/search?q='+encodeURIComponent('site:www.haiku-os.org/docs/api '+n.value);}</script>
|
||||
</head>
|
||||
$treeview
|
||||
$search
|
||||
$mathjax
|
||||
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" />
|
||||
$extrastylesheet
|
||||
</head>
|
||||
<body>
|
||||
<div id="banner">
|
||||
<div class="logo">
|
||||
|
||||
Reference in New Issue
Block a user