Date: Thu, 3 Jun 2021 19:44:36 GMT From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: f2d5f930d8 - main - tools/*translate.sh: Add description field on the YAML Front Matter parser Message-ID: <202106031944.153Jian8021232@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=f2d5f930d82a9f0ccb290dd020173302eceeea02 commit f2d5f930d82a9f0ccb290dd020173302eceeea02 Author: Danilo G. Baio <dbaio@FreeBSD.org> AuthorDate: 2021-06-03 19:30:31 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> CommitDate: 2021-06-03 19:30:31 +0000 tools/*translate.sh: Add description field on the YAML Front Matter parser This field was introduced on 0d9894b11e0e94cde952b0112782e68e27c893da to improve SEO. --- tools/translate.sh | 2 +- tools/update_translate_template.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/translate.sh b/tools/translate.sh index cb4005611d..af3335ec91 100755 --- a/tools/translate.sh +++ b/tools/translate.sh @@ -66,7 +66,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/" -name "*.po" ); do po4a-translate \ --format asciidoc \ --option compat=asciidoctor \ - --option yfm_keys=title,part \ + --option yfm_keys=title,part,description \ --master "$adoc_orig" \ --master-charset "UTF-8" \ --po "$pofile" \ diff --git a/tools/update_translate_template.sh b/tools/update_translate_template.sh index 4bb5699d2e..5e577b7f71 100755 --- a/tools/update_translate_template.sh +++ b/tools/update_translate_template.sh @@ -69,7 +69,7 @@ for component in $COMPONENTS; do po4a-updatepo \ --format asciidoc \ --option compat=asciidoctor \ - --option yfm_keys=title,part \ + --option yfm_keys=title,part,description \ --master "$document" \ --master-charset "UTF-8" \ --copyright-holder "The FreeBSD Project" \ @@ -82,7 +82,7 @@ for component in $COMPONENTS; do po4a-gettextize \ --format asciidoc \ --option compat=asciidoctor \ - --option yfm_keys=title,part \ + --option yfm_keys=title,part,description \ --master "$document" \ --master-charset "UTF-8" \ --copyright-holder "The FreeBSD Project" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106031944.153Jian8021232>