From nobody Fri Oct 29 12:39:21 2021 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 496D31821220 for ; Fri, 29 Oct 2021 12:39:22 +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 4Hghnk1dtNz4Z89; Fri, 29 Oct 2021 12:39:22 +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 18D0B17298; Fri, 29 Oct 2021 12:39:22 +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 19TCdM7D095431; Fri, 29 Oct 2021 12:39:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19TCdLta095430; Fri, 29 Oct 2021 12:39:21 GMT (envelope-from git) Date: Fri, 29 Oct 2021 12:39:21 GMT Message-Id: <202110291239.19TCdLta095430@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Marc Fonvieille Subject: git: 5a0e43b709 - main - ru/articles/pam: Fix include links for .c files List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: blackend X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a0e43b7092ad14306ced0341e20bee5c0c0e182 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by blackend: URL: https://cgit.FreeBSD.org/doc/commit/?id=5a0e43b7092ad14306ced0341e20bee5c0c0e182 commit 5a0e43b7092ad14306ced0341e20bee5c0c0e182 Author: Marc Fonvieille AuthorDate: 2021-10-29 12:20:23 +0000 Commit: Marc Fonvieille CommitDate: 2021-10-29 12:20:23 +0000 ru/articles/pam: Fix include links for .c files --- documentation/content/ru/articles/pam/_index.adoc | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/documentation/content/ru/articles/pam/_index.adoc b/documentation/content/ru/articles/pam/_index.adoc index a99b44630a..5faf16ed03 100644 --- a/documentation/content/ru/articles/pam/_index.adoc +++ b/documentation/content/ru/articles/pam/_index.adoc @@ -57,6 +57,18 @@ SUCH DAMAGE. :figure-caption: Рисунок :example-caption: Пример +ifeval::["{backend}" == "html5"] +:sourcesdir: static/source/articles/pam +endif::[] + +ifeval::["{backend}" == "pdf"] +:sourcesdir: ../../../../static/source/articles/pam +endif::[] + +ifeval::["{backend}" == "epub3"] +:sourcesdir: ../../../../static/source/articles/pam +endif::[] + [.abstract-title] Abstract @@ -549,7 +561,7 @@ auth required pam_nologin.so no_warn [.programlisting] .... -include::static/source/articles/pam/su.c[] +include::{sourcesdir}/su.c[] .... :sectnums!: @@ -562,7 +574,7 @@ include::static/source/articles/pam/su.c[] [.programlisting] .... -include::static/source/articles/pam/pam_unix.c[] +include::{sourcesdir}/pam_unix.c[] .... :sectnums!: @@ -575,7 +587,7 @@ include::static/source/articles/pam/pam_unix.c[] [.programlisting] .... -include::static/source/articles/pam/converse.c[] +include::{sourcesdir}/converse.c[] .... :sectnums!: