mirror of
https://github.com/dunyakirkali/letterpress.git
synced 2025-01-22 19:38:30 +00:00
Move book.adoc to root
This commit is contained in:
parent
82c9e26413
commit
4e8f6cde08
4
Makefile
4
Makefile
@ -16,13 +16,13 @@ ASCIIDOC_FLAGS = \
|
||||
all: $(PDF_PATH) $(EPUB_PATH)
|
||||
|
||||
$(PDF_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
|
||||
asciidoctor-pdf source/book.adoc $(ASCIIDOC_FLAGS) \
|
||||
asciidoctor-pdf book.adoc $(ASCIIDOC_FLAGS) \
|
||||
-o $@ \
|
||||
-r asciidoctor-diagram \
|
||||
-r asciidoctor-mathematical
|
||||
|
||||
$(EPUB_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
|
||||
asciidoctor-epub3 source/book.adoc $(ASCIIDOC_FLAGS) \
|
||||
asciidoctor-epub3 book.adoc $(ASCIIDOC_FLAGS) \
|
||||
-o $@ \
|
||||
-r asciidoctor-diagram \
|
||||
-r asciidoctor-mathematical
|
||||
|
@ -67,9 +67,9 @@ make clean
|
||||
|
||||
## Structure
|
||||
|
||||
The entry point of the book is [book.adoc](source/book.adoc).
|
||||
The entry point of the book is [book.adoc](book.adoc).
|
||||
|
||||
The [book.adoc](source/book.adoc) consists of 3 sections:
|
||||
The [book.adoc](book.adoc) consists of 3 sections:
|
||||
|
||||
- The [front matter](source/front_matter.adoc)
|
||||
- The [body](source/body.adoc)
|
||||
|
@ -10,10 +10,10 @@ Alexandra Thompson <name.lastname@foo.bar>
|
||||
:icons: font
|
||||
:front-image: backgrounds/cover.png
|
||||
:back-image: backgrounds/back-cover.png
|
||||
:imagesdir: ../figures
|
||||
:imagesdir: figures
|
||||
|
||||
include::front_matter.adoc[]
|
||||
include::source/front_matter.adoc[]
|
||||
|
||||
include::body.adoc[]
|
||||
include::source/body.adoc[]
|
||||
|
||||
include::back_matter.adoc[]
|
||||
include::source/back_matter.adoc[]
|
Loading…
Reference in New Issue
Block a user