git: f2d5f930d8 - main - tools/*translate.sh: Add description field on the YAML Front Matter parser
"Danilo G. Baio" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=f2d5f930d82a9f0ccb290dd020173302eceeea02 commit f2d5f930d82a9f0ccb290dd020173302eceeea02 Author: Danilo G. Baio <[email protected]> AuthorDate: 2021-06-03 19:30:31 +0000 Commit: Danilo G. Baio <[email protected]> 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" \ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all To unsubscribe, send any mail to "[email protected]"