aboutsummaryrefslogtreecommitdiff
path: root/shared/pt-br/urls.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'shared/pt-br/urls.adoc')
-rw-r--r--shared/pt-br/urls.adoc19
1 files changed, 15 insertions, 4 deletions
diff --git a/shared/pt-br/urls.adoc b/shared/pt-br/urls.adoc
index fd2ea7d261..1ab8387e6d 100644
--- a/shared/pt-br/urls.adoc
+++ b/shared/pt-br/urls.adoc
@@ -1,15 +1,26 @@
-// $FreeBSD$
+ifeval::[{isonline} == 1]
+:main-site: https://docs.freebsd.org/pt-br
+:main-site-en: https://docs.freebsd.org/en
+endif::[]
+
+ifeval::[{isonline} == 0]
+:main-site: ../../../pt-br
+:main-site-en: ../../../en
+endif::[]
+ifndef::isonline[]
:main-site: https://docs.freebsd.org/pt-br
+:main-site-en: https://docs.freebsd.org/en
+endif::[]
// books
:dev-model: {main-site}/books/dev-model/
:faq: {main-site}/books/faq/
:handbook: {main-site}/books/handbook/book/
-:developers-handbook: {main-site}/books/developers-handbook/
-:arch-handbook: {main-site}/books/arch-handbook/
+:developers-handbook: {main-site-en}/books/developers-handbook/
+:arch-handbook: {main-site-en}/books/arch-handbook/
:porters-handbook: {main-site}/books/porters-handbook/
-:design-44bsd: {main-site}/books/design-44bsd/
+:design-44bsd: {main-site-en}/books/design-44bsd/
:fdp-primer: {main-site}/books/fdp-primer/
// articles