From owner-dev-commits-doc-all@freebsd.org Fri May 21 16:58:48 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5D1A6379D9 for ; Fri, 21 May 2021 16:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fmt9N5bv8z4Rhc; Fri, 21 May 2021 16:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A0D811510B; Fri, 21 May 2021 16:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14LGwmTG071054; Fri, 21 May 2021 16:58:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14LGwmLl071053; Fri, 21 May 2021 16:58:48 GMT (envelope-from git) Date: Fri, 21 May 2021 16:58:48 GMT Message-Id: <202105211658.14LGwmLl071053@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ceri Davies Subject: git: 8d25cf749a - main - books/fdp-primer: Fix table of contents in PDF build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ceri X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d25cf749a208fbb584737c19589cd04cbdde3ab Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2021 16:58:48 -0000 The branch main has been updated by ceri: URL: https://cgit.FreeBSD.org/doc/commit/?id=8d25cf749a208fbb584737c19589cd04cbdde3ab commit 8d25cf749a208fbb584737c19589cd04cbdde3ab Author: Ceri Davies AuthorDate: 2021-05-21 16:54:22 +0000 Commit: Ceri Davies CommitDate: 2021-05-21 16:54:22 +0000 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) --- documentation/content/en/books/fdp-primer/book.adoc | 6 +++--- 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.