diff options
author | Ceri Davies <ceri@FreeBSD.org> | 2021-05-21 16:54:22 +0000 |
---|---|---|
committer | Ceri Davies <ceri@FreeBSD.org> | 2021-05-21 16:54:22 +0000 |
commit | 8d25cf749a208fbb584737c19589cd04cbdde3ab (patch) | |
tree | f05af0e15dc63d647c49126a28ac75cfb7224db6 | |
parent | 17f753900c2530abaa1d6953582a4ffe203bdc0f (diff) | |
download | doc-8d25cf749a208fbb584737c19589cd04cbdde3ab.tar.gz doc-8d25cf749a208fbb584737c19589cd04cbdde3ab.zip |
books/fdp-primer: Fix table of contents in PDF build
A PDF build fails to find the correct include files for the table of
contents and, for reasons not well understood, installs a duplicate
table of contents on top of the text in the Overview chapter.
Fix that.
Approved by: blackend (mentor)
-rw-r--r-- | documentation/content/en/books/fdp-primer/book.adoc | 6 | ||||
-rw-r--r-- | documentation/content/en/books/fdp-primer/overview/_index.adoc | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/documentation/content/en/books/fdp-primer/book.adoc b/documentation/content/en/books/fdp-primer/book.adoc index 63157028a6..4e0466a240 100644 --- a/documentation/content/en/books/fdp-primer/book.adoc +++ b/documentation/content/en/books/fdp-primer/book.adoc @@ -71,11 +71,11 @@ This is a work in progress. Corrections and additions are always welcome. toc::[] -include::content/en/books/fdp-primer/toc-figures.adoc[] +include::{chapters-path}toc-figures.adoc[] -include::content/en/books/fdp-primer/toc-tables.adoc[] +include::{chapters-path}toc-tables.adoc[] -include::content/en/books/fdp-primer/toc-examples.adoc[] +include::{chapters-path}toc-examples.adoc[] :sectnums!: diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc index 77623625fb..10551ad3a2 100644 --- a/documentation/content/en/books/fdp-primer/overview/_index.adoc +++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc @@ -25,8 +25,6 @@ tags: ["overview", "FreeBSD Documentation Project", "quick start"] include::shared/releases.adoc[] include::shared/en/mailing-lists.adoc[] -toc::[] - Welcome to the FreeBSD Documentation Project (FDP). Quality documentation is crucial to the success of FreeBSD, and we value your contributions very highly. |