From owner-dev-commits-doc-all@freebsd.org Sat Aug 14 22:03:45 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 2A7BE6543C8 for ; Sat, 14 Aug 2021 22:03:45 +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 4GnDw05Xjvz4qbl; Sat, 14 Aug 2021 22:03:44 +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 A73F11A6F; Sat, 14 Aug 2021 22:03:44 +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 17EM3i11065680; Sat, 14 Aug 2021 22:03:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17EM3iVs065679; Sat, 14 Aug 2021 22:03:44 GMT (envelope-from git) Date: Sat, 14 Aug 2021 22:03:44 GMT Message-Id: <202108142203.17EM3iVs065679@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: e528e6bcbd - main - pt-br/books/fdp-primer: Add back Table of Contents (ToC) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e528e6bcbd7d9a420012f0e194eb493cae01db58 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: Sat, 14 Aug 2021 22:03:45 -0000 The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=e528e6bcbd7d9a420012f0e194eb493cae01db58 commit e528e6bcbd7d9a420012f0e194eb493cae01db58 Author: Danilo G. Baio AuthorDate: 2021-08-14 21:52:30 +0000 Commit: Danilo G. Baio CommitDate: 2021-08-14 21:52:30 +0000 pt-br/books/fdp-primer: Add back Table of Contents (ToC) This fixes the line number from all includes, which is not the same as the English document. Basically, in the single-page version of the book, all includes must avoid the ToC directive from the chapters. --- .../content/pt-br/books/fdp-primer/book.adoc | 24 +++++++++++----------- .../pt-br/books/fdp-primer/examples/_index.adoc | 2 ++ .../pt-br/books/fdp-primer/overview/_index.adoc | 2 ++ .../books/fdp-primer/po-translations/_index.adoc | 2 ++ .../pt-br/books/fdp-primer/rosetta/_index.adoc | 2 ++ 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/documentation/content/pt-br/books/fdp-primer/book.adoc b/documentation/content/pt-br/books/fdp-primer/book.adoc index 65d9cf5873..3f6dd452b5 100644 --- a/documentation/content/pt-br/books/fdp-primer/book.adoc +++ b/documentation/content/pt-br/books/fdp-primer/book.adoc @@ -89,34 +89,34 @@ include::{chapters-path}preface/_index.adoc[leveloffset=+1, lines=9..-1] :sectnums: -include::{chapters-path}overview/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] +include::{chapters-path}overview/_index.adoc[leveloffset=+1, lines=9..23; 30..-1] include::{chapters-path}tools/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] include::{chapters-path}working-copy/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] -include::{chapters-path}structure/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] +include::{chapters-path}structure/_index.adoc[leveloffset=+1, lines=9..24; 28..-1] -include::{chapters-path}doc-build/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] +include::{chapters-path}doc-build/_index.adoc[leveloffset=+1, lines=9..24; 28..-1] -include::{chapters-path}asciidoctor-primer/_index.adoc[leveloffset=+1, lines=9..23; 29..-1] +include::{chapters-path}asciidoctor-primer/_index.adoc[leveloffset=+1, lines=9..24; 30..-1] -include::{chapters-path}rosetta/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] +include::{chapters-path}rosetta/_index.adoc[leveloffset=+1, lines=9..25; 29..-1] -include::{chapters-path}translations/_index.adoc[leveloffset=+1, lines=9..23; 30..-1] +include::{chapters-path}translations/_index.adoc[leveloffset=+1, lines=9..24; 31..-1] -include::{chapters-path}po-translations/_index.adoc[leveloffset=+1, lines=9..23; 29..-1] +include::{chapters-path}po-translations/_index.adoc[leveloffset=+1, lines=9..26; 32..-1] -include::{chapters-path}manual-pages/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] +include::{chapters-path}manual-pages/_index.adoc[leveloffset=+1, lines=9..24; 28..-1] -include::{chapters-path}writing-style/_index.adoc[leveloffset=+1, lines=9..23; 29..-1] +include::{chapters-path}writing-style/_index.adoc[leveloffset=+1, lines=9..24; 30..-1] -include::{chapters-path}editor-config/_index.adoc[leveloffset=+1, lines=9..23; 27..-1] +include::{chapters-path}editor-config/_index.adoc[leveloffset=+1, lines=9..24; 28..-1] -include::{chapters-path}see-also/_index.adoc[leveloffset=+1, lines=9..23; 29..-1] +include::{chapters-path}see-also/_index.adoc[leveloffset=+1, lines=9..24; 30..-1] :sectnums!: -include::{chapters-path}examples/_index.adoc[leveloffset=+1, lines=8..23; 27..-1] +include::{chapters-path}examples/_index.adoc[leveloffset=+1, lines=8..25; 29..-1] :sectnums: diff --git a/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc b/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc index 5aab87564e..a59004d91a 100644 --- a/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc +++ b/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc @@ -24,6 +24,8 @@ title: 'Apêndice A. Exemplos' :toc-title: Índice :example-caption: Exemplo +toc::[] + Estes exemplos não são extensos - eles não contêm todos os elementos que podem ser desejáveis de usar, particularmente em relação ao início dos documentos (Front Matter). Para mais exemplos de marcação AsciiDoctor, examine o código fonte em AsciiDoctor deste e de outros documentos disponíveis no repositório Git `doc` ou no link link:https://cgit.freebsd.org/doc/[https://cgit.freebsd.org/doc/]. diff --git a/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc b/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc index 00e47cfeed..3fcbb18ffc 100644 --- a/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc +++ b/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc @@ -25,6 +25,8 @@ title: 'Capítulo 1. Visão Geral' include::shared/releases.adoc[] include::shared/pt-br/mailing-lists.adoc[] +toc::[] + Seja bem vindo ao Projeto de Documentação do FreeBSD.(FDP). Documentação de boa qualidade é muito importante para o sucesso do FreeBSD, e nós valorizamos muito suas contribuições. Este documento descreve como o FDP é organizado, como escrever e como submeter documentos, e como utilizar de forma efetiva as ferramentas que estão disponíveis. diff --git a/documentation/content/pt-br/books/fdp-primer/po-translations/_index.adoc b/documentation/content/pt-br/books/fdp-primer/po-translations/_index.adoc index 277a632d2c..cfa2717ac2 100644 --- a/documentation/content/pt-br/books/fdp-primer/po-translations/_index.adoc +++ b/documentation/content/pt-br/books/fdp-primer/po-translations/_index.adoc @@ -27,6 +27,8 @@ title: 'Capítulo 9. Traduções PO' include::shared/pt-br/urls.adoc[] +toc::[] + [[po-translations-introduction]] == Introdução diff --git a/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc b/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc index 7ff7189939..2ea81b0e3f 100644 --- a/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc +++ b/documentation/content/pt-br/books/fdp-primer/rosetta/_index.adoc @@ -24,6 +24,8 @@ title: 'Capítulo 7. Rosetta Stone' :toc-title: Índice :table-caption: Tabela +toc::[] + [[docbook-vs-asciidoc]] == Comparação entre Docbook e AsciiDoc