diff options
author | Marc Fonvieille <blackend@FreeBSD.org> | 2021-10-29 12:20:23 +0000 |
---|---|---|
committer | Marc Fonvieille <blackend@FreeBSD.org> | 2021-10-29 12:20:23 +0000 |
commit | 5a0e43b7092ad14306ced0341e20bee5c0c0e182 (patch) | |
tree | af2ccf5c1df6fcc4e0443234d2d4ef330b5db4fb | |
parent | b47ba46b239f35d4ceb89bb3f80c7eeaa0f5395a (diff) | |
download | doc-5a0e43b7092ad14306ced0341e20bee5c0c0e182.tar.gz doc-5a0e43b7092ad14306ced0341e20bee5c0c0e182.zip |
ru/articles/pam: Fix include links for .c files
-rw-r--r-- | documentation/content/ru/articles/pam/_index.adoc | 18 |
1 files 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!: |