This unclutters the top-level docs directory.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
}
#home {
- background-image: url(logos/logo-banner-light-256.png);
+ background-image: url(../logos/logo-banner-light-256.png);
background-repeat: no-repeat;
background-position: left center;
height: 100px;
#index.document h1 {
border: 0px;
text-indent: 100%; white-space: nowrap; overflow: hidden;
- background: url(logos/logo-banner-dark-800.png) no-repeat center center;
+ background: url(../logos/logo-banner-dark-800.png) no-repeat center center;
height: 300px;
}
-@import url(fonts/stylesheet.css);
+@import url(../fonts/stylesheet.css);
@import url(generic.css);
@import url(libvirt.css);
@import url(mobile.css);
--- /dev/null
+docs_css_files = [
+ 'generic.css',
+ 'libvirt.css',
+ 'main.css',
+ 'mobile.css',
+]
+
+install_data(docs_css_files, install_dir: docs_html_dir / 'css')
+
+foreach file : docs_css_files
+ # This hack enables us to view the web pages
+ # from within the uninstalled build tree
+ configure_file(input: file, output: file, copy: true)
+
+ install_web_files += '@0@:@1@'.format(meson.current_source_dir() / file, docs_html_dir / 'css')
+endforeach
width: 100%;
display: block;
margin: 0px;
- background: white url(logos/logo-banner-dark-256.png) no-repeat center center;
+ background: white url(../logos/logo-banner-dark-256.png) no-repeat center center;
height: 94px;
}
#home a {
'favicon.ico',
'favicon-16x16.png',
'favicon-32x32.png',
- 'generic.css',
- 'libvirt.css',
- 'main.css',
'manifest.json',
- 'mobile.css',
'mstile-150x150.png',
]
# --- end of XSLT processing ---
+subdir('css')
subdir('fonts')
subdir('go')
subdir('html')
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
- <link rel="stylesheet" type="text/css" href="{$href_base}main.css"/>
+ <link rel="stylesheet" type="text/css" href="{$href_base}css/main.css"/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/>