From b428ba3a857f2dee1460391319016bc409b5b9b1 Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Sun, 28 Feb 2021 17:59:15 -0800 Subject: [PATCH] Index must be only in pdf ## Changes * Fixed include directive * Used level 1 for Index section see https://docs.asciidoctor.org/asciidoc/latest/sections/ * Deleted unused file `book/index.asc` --- book/index.asc | 1 - index.asc | 2 +- progit.asc | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 book/index.asc diff --git a/book/index.asc b/book/index.asc deleted file mode 100644 index 9b0c1cfae..000000000 --- a/book/index.asc +++ /dev/null @@ -1 +0,0 @@ -== Index diff --git a/index.asc b/index.asc index 2df4a6b13..9618359ad 100644 --- a/index.asc +++ b/index.asc @@ -1,3 +1,3 @@ [#index] [index] -= Index +== Index diff --git a/progit.asc b/progit.asc index 26e41bab3..9774d00c1 100644 --- a/progit.asc +++ b/progit.asc @@ -46,4 +46,4 @@ include::B-embedding-git-in-your-applications.asc[] include::C-git-commands.asc[] -ifndef::ebook-format[include::index.asc[]] +ifdef::backend-pdf[include::index.asc[]]