From 64acd169b82416fe39ad8c4b1be106680d4a3eb3 Mon Sep 17 00:00:00 2001 From: Sergio Carlavilla Delgado Date: Wed, 3 Nov 2021 17:39:08 +0100 Subject: Build offline documentation using Hugo and other improvements * Allow to build the documentation offline using Hugo * Fix link problems * Remove SVN entities * Fix lang problems to help weblate * Move all the AsciiDoctor translations to the shared folder to help weblate * Allow the possibility to build each document. For example each document can be edited in and watched the result in real time in VS Code or Vim/NeoVim. Breaking changes: Eliminate the possibility of building books or articles. They must be builded at the same time. This functionality will be restored when version 0.89.0 is in the repositories in a couple of weeks. Reviewed by: dbaio@ Differential Revision: https://reviews.freebsd.org/D31926 --- documentation/content/pt-br/books/handbook/partii.adoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'documentation/content/pt-br/books/handbook/partii.adoc') diff --git a/documentation/content/pt-br/books/handbook/partii.adoc b/documentation/content/pt-br/books/handbook/partii.adoc index 69e7963d6d..f904cc78ca 100644 --- a/documentation/content/pt-br/books/handbook/partii.adoc +++ b/documentation/content/pt-br/books/handbook/partii.adoc @@ -4,6 +4,14 @@ prev: books/handbook/x11 next: books/handbook/desktop --- +ifdef::env-beastie+backend-html5[] +:chapters-path: content/{{% lang %}}/books/handbook/ +endif::[] + +ifndef::env-beastie[] +:chapters-path: +endif::[] + [[common-tasks]] = Tarefas comuns @@ -17,4 +25,4 @@ Agora que o básico foi abordado, esta parte do livro discute alguns recursos fr Alguns destes capítulos recomendam leituras prévias, e isso é destacado na sinopse no início de cada capítulo. -include::content/pt-br/books/handbook/toc-2.adoc[] +include::{chapters-path}toc-2.adoc[] -- cgit v1.2.3