add logo to admin guide and index

This only work with html based backends, so I defined an extra
attribute 'pvelogo' to enable that.
This commit is contained in:
Dietmar Maurer 2016-10-01 12:13:10 +02:00
parent 74026b8f01
commit 683e3b9377
3 changed files with 12 additions and 3 deletions

View File

@ -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

View 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
--------------------------

View 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: