aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/content/pt-br/books/fdp-primer/examples/_index.adoc')
-rw-r--r--documentation/content/pt-br/books/fdp-primer/examples/_index.adoc61
1 files changed, 40 insertions, 21 deletions
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 a59004d91a..ab16cd3d35 100644
--- a/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc
+++ b/documentation/content/pt-br/books/fdp-primer/examples/_index.adoc
@@ -1,8 +1,11 @@
---
description: 'Exemplo de um artigo e um livro usados no Projeto de Documentação do FreeBSD'
+path: "/books/fdp-primer/examples/"
prev: books/fdp-primer/see-also/
+showBookMenu: 'true'
tags: ["examples", "tutorial", "AsciiDoctor", "Book", "Article"]
title: 'Apêndice A. Exemplos'
+weight: 16
---
[appendix]
@@ -14,31 +17,48 @@ title: 'Apêndice A. Exemplos'
:icons: font
:sectnums:
:sectnumlevels: 6
+:sectnumoffset: A
+:partnums:
:source-highlighter: rouge
:experimental:
-:skip-front-matter:
-:xrefstyle: basic
-:relfileprefix: ../
-:outfilesuffix:
-:sectnumoffset: A
-:toc-title: Índice
-:example-caption: Exemplo
+:images-path: books/fdp-primer/
+ifdef::env-beastie[]
+ifdef::backend-html5[]
+:imagesdir: ../../../../images/{images-path}
+endif::[]
+ifndef::book[]
+include::shared/authors.adoc[]
+include::shared/mirrors.adoc[]
+include::shared/releases.adoc[]
+include::shared/attributes/attributes-{{% lang %}}.adoc[]
+include::shared/{{% lang %}}/teams.adoc[]
+include::shared/{{% lang %}}/mailing-lists.adoc[]
+include::shared/{{% lang %}}/urls.adoc[]
toc::[]
+endif::[]
+ifdef::backend-pdf,backend-epub3[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
+endif::[]
-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/].
+ifndef::env-beastie[]
+toc::[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
+
+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/].
[[examples-asciidoctor-book]]
-== AsciiDoctor `book`
+== AsciiDoctor *book*
-.AsciiDoctor `book`
+.AsciiDoctor *book*
[example]
====
[.programlisting]
....
---
-title: An Example Book
+title: Um Livro de Exemplo
authors:
- author: The FreeBSD Documentation Project
copyright: 1995-2021 The FreeBSD Documentation Project
@@ -46,7 +66,7 @@ releaseinfo: ""
trademarks: ["general"]
---
-\= An Example Book
+= Um Livro de Exemplo
:doctype: book
:toc: macro
:toclevels: 2
@@ -98,24 +118,23 @@ toc::[]
....
====
-
[[examples-asciidoctor-article]]
-== AsciiDoctor `article`
+== *Artigo* AsciiDoctor
-.AsciiDoctor `article`
+.*Artigo* AsciiDoctor
[example]
====
[.programlisting]
....
---
-title: An Example Article
+title: Um Exemplo de Artigo
authors:
- - author: Your name and surname
+ - author: Seu nome e sobrenome
email: foo@example.com
trademarks: ["general"]
---
-\= An Example Article
+= Um Exemplo de Artigo
:doctype: article
:toc: macro
:toclevels: 1
@@ -129,11 +148,11 @@ trademarks: ["general"]
toc::[]
-\== My First Section
+== My First Section
This is the first section in my article.
-\== My First Sub-Section
+=== My First Sub-Section
This is the first sub-section in my article.