]> git.proxmox.com Git - pve-docs.git/commitdiff
add logo to admin guide and index
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 1 Oct 2016 10:13:10 +0000 (12:13 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 1 Oct 2016 10:13:10 +0000 (12:13 +0200)
This only work with html based backends, so I defined an extra
attribute 'pvelogo' to enable that.

Makefile
index.adoc
pve-admin-guide.adoc

index c6bfcfe5001ad39bfb12785958a50746396cc548..a285eb889dcf73d96be4faf180be61e85edfc8c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -217,7 +217,7 @@ index.html: index.adoc ${API_VIEWER_SOURCES} ${INDEX_INCLUDES}
        asciidoc -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" index.adoc
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
-       asciidoc -a "revnumber=${DOCRELEASE}" -a "date=$(shell date)" pve-admin-guide.adoc
+       asciidoc -a pvelogo -a "revnumber=${DOCRELEASE}" -a "date=$(shell date)" pve-admin-guide.adoc
 
 pve-admin-guide.chunked: ${PVE_ADMIN_GUIDE_SOURCES}
        rm -rf pve-admin-guide.chunked
index 776c1c1366e73076b74d4a7022acc5104035c7eb..603dfeca0414b3e45f67bb62161f0a19fc2a924e 100644 (file)
@@ -1,8 +1,10 @@
-{pve} Documentation Index
-=========================
+image:./images/proxmox-logo.svg[] pass:[<br>] {pve} Documentation Index
+========================================================================
 include::attributes.txt[]
 :data-uri:
 :icons:
+:title: {pve} Documentation Index
+
 
 {pve} Administration Guide
 --------------------------
index fdd8e62337410667c3f8564f4f8d7aba74cc7b06..d7b18c294b073d2d34477c51d11cf3f36e31dfee 100644 (file)
@@ -1,7 +1,14 @@
+ifdef::pvelogo[]
+image:./images/proxmox-logo.svg[] pass:[<br>] Proxmox VE Administration Guide
+=============================================================================
+endif::pvelogo[]
+ifndef::pvelogo[]
 Proxmox VE Administration Guide
 ===============================
+endif::pvelogo[]
 include::attributes.txt[]
 :doctype:   book
+:title: Proxmox VE Administration Guide
 :toc:
 :numbered:
 :data-uri: