Doc: Improve layout doxygen output
This commit is contained in:
committed by
Chris Hennes
parent
1eb6968265
commit
6d3f786b38
@@ -1426,7 +1426,9 @@ HTML_EXTRA_STYLESHEET = @CMAKE_CURRENT_SOURCE_DIR@/templates/customdoxygen.css
|
||||
# files will be copied as-is; there are no commands or markers available.
|
||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||
|
||||
HTML_EXTRA_FILES = @CMAKE_CURRENT_SOURCE_DIR@/templates/doxy-boot.js
|
||||
HTML_EXTRA_FILES = @CMAKE_CURRENT_SOURCE_DIR@/templates/doxy-boot.js \
|
||||
@CMAKE_CURRENT_SOURCE_DIR@/templates/Roboto-Regular.woff2 \
|
||||
@CMAKE_CURRENT_SOURCE_DIR@/templates/FiraSans-Regular.woff2
|
||||
|
||||
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
|
||||
# should be rendered with a dark or light theme.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
@font-face {
|
||||
font-family: 'Fira Sans';
|
||||
src: url('/fonts/FiraSans-Regular.eot');
|
||||
src: local('☺'), url('/fonts/FiraSans-Regular.woff') format('woff'), url('/fonts/FiraSans-Regular.ttf') format('truetype'), url('/fonts/FiraSans-Regular.svg') format('svg');
|
||||
src: local('☺'), url('FiraSans-Regular.woff2') format('woff2'), url('/fonts/FiraSans-Regular.ttf') format('truetype'), url('/fonts/FiraSans-Regular.svg') format('svg');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -11,7 +11,7 @@
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
src: url('/fonts/Roboto.eot');
|
||||
src: local('☺'), url('/fonts/Roboto.woff') format('woff'), url('/fonts/Roboto.ttf') format('truetype'), url('/fonts/Roboto.svg') format('svg');
|
||||
src: local('☺'), url('Roboto-Regular.woff2') format('woff2'), url('/fonts/Roboto.ttf') format('truetype'), url('/fonts/Roboto.svg') format('svg');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -370,3 +370,13 @@ body, table, div, p, dl {
|
||||
.sm.sm-dox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.textblock,
|
||||
.group-page div.contents {
|
||||
max-width: 80ch;
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,17 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var path = window.location.pathname || window.location.href || '';
|
||||
var filename = path.split('/').pop() || '';
|
||||
|
||||
$(document).ready(function () {
|
||||
var isGroup = filename.indexOf('group__') !== -1
|
||||
|
||||
if (isGroup) {
|
||||
document.body.classList.add('group-page');
|
||||
}
|
||||
});
|
||||
|
||||
$( document ).ready(function() {
|
||||
|
||||
/*
|
||||
$("div.headertitle").addClass("page-header");
|
||||
|
||||
Reference in New Issue
Block a user