mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-08 13:29:47 -05:00
doc: Refactor the build system for complete build dir docs
By structuring things differently, it becomes possible to have a complete build of the docs in the build dir, without having to install anything. Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
This commit is contained in:
parent
59c79dee21
commit
0fd33fe1fa
38 changed files with 138 additions and 164 deletions
14
doc/publican/html/css/brand.css
Normal file
14
doc/publican/html/css/brand.css
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*headings*/
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
div.producttitle,
|
||||
div.subtitle,
|
||||
div.author div.author,
|
||||
div.translator div.translator,
|
||||
div.othercredit div.othercredit,
|
||||
div.editor div.editor,
|
||||
div.contrib div.contrib,
|
||||
.title,
|
||||
.titlepage .edition,
|
||||
.titlepage .releaseinfo {
|
||||
color: #336699;
|
||||
}
|
||||
1769
doc/publican/html/css/common.css
Normal file
1769
doc/publican/html/css/common.css
Normal file
File diff suppressed because it is too large
Load diff
3
doc/publican/html/css/default.css
Normal file
3
doc/publican/html/css/default.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@import url("common.css");
|
||||
@import url("overrides.css");
|
||||
@import url("lang.css");
|
||||
115
doc/publican/html/css/epub.css
Normal file
115
doc/publican/html/css/epub.css
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
/*headings*/
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
div.producttitle,
|
||||
div.subtitle,
|
||||
div.author div.author,
|
||||
div.translator div.translator,
|
||||
div.othercredit div.othercredit,
|
||||
div.editor div.editor,
|
||||
div.contrib div.contrib,
|
||||
.title,
|
||||
.titlepage .edition {
|
||||
}
|
||||
|
||||
div.para {
|
||||
margin-top: 1em;
|
||||
}
|
||||
/* inline syntax highlighting */
|
||||
.perl_Alert {
|
||||
color: #0000ff;
|
||||
}
|
||||
|
||||
.perl_BaseN {
|
||||
color: #007f00;
|
||||
}
|
||||
|
||||
.perl_BString {
|
||||
color: #5C3566;
|
||||
}
|
||||
|
||||
.perl_Char {
|
||||
color: #ff00ff;
|
||||
}
|
||||
|
||||
.perl_Comment {
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
|
||||
.perl_DataType {
|
||||
color: #0000ff;
|
||||
}
|
||||
|
||||
|
||||
.perl_DecVal {
|
||||
color: #00007f;
|
||||
}
|
||||
|
||||
|
||||
.perl_Error {
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
|
||||
.perl_Float {
|
||||
color: #00007f;
|
||||
}
|
||||
|
||||
|
||||
.perl_Function {
|
||||
color: #007f00;
|
||||
}
|
||||
|
||||
|
||||
.perl_IString {
|
||||
color: #5C3566;
|
||||
}
|
||||
|
||||
|
||||
.perl_Keyword {
|
||||
color: #002F5D;
|
||||
}
|
||||
|
||||
|
||||
.perl_Operator {
|
||||
color: #ffa500;
|
||||
}
|
||||
|
||||
|
||||
.perl_Others {
|
||||
color: #b03060;
|
||||
}
|
||||
|
||||
|
||||
.perl_RegionMarker {
|
||||
color: #96b9ff;
|
||||
}
|
||||
|
||||
|
||||
.perl_Reserved {
|
||||
color: #9b30ff;
|
||||
}
|
||||
|
||||
|
||||
.perl_String {
|
||||
color: #5C3566;
|
||||
}
|
||||
|
||||
|
||||
.perl_Variable {
|
||||
color: #0000ff;
|
||||
}
|
||||
|
||||
|
||||
.perl_Warning {
|
||||
color: #0000ff;
|
||||
}
|
||||
|
||||
b, strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
code.command {
|
||||
font-family: monospace;
|
||||
font-weight: bolder;
|
||||
}
|
||||
14
doc/publican/html/css/meson.build
Normal file
14
doc/publican/html/css/meson.build
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
foreach src : files([
|
||||
'brand.css',
|
||||
'common.css',
|
||||
'default.css',
|
||||
'epub.css',
|
||||
'print.css',
|
||||
])
|
||||
name = fs.name(src)
|
||||
publican_inputs += fs.copyfile(
|
||||
name,
|
||||
install: true,
|
||||
install_dir: publican_install_prefix + '/html/css',
|
||||
)
|
||||
endforeach
|
||||
15
doc/publican/html/css/print.css
Normal file
15
doc/publican/html/css/print.css
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
@import url("common.css");
|
||||
@import url("overrides.css");
|
||||
@import url("lang.css");
|
||||
|
||||
#tocframe {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.toc_embeded {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.producttitle {
|
||||
color: #336699;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue