Page MenuHomeFreeBSD

Fix AsciiDoc code in code block: en/books/porters-handbook/makefiles
AbandonedPublic

Authored by vladlen on Thu, Sep 25, 6:43 PM.
Tags
Referenced Files
Unknown Object (File)
Tue, Oct 14, 8:11 PM
Unknown Object (File)
Mon, Oct 13, 12:19 PM
Unknown Object (File)
Mon, Oct 13, 4:42 AM
Unknown Object (File)
Mon, Oct 13, 4:42 AM
Unknown Object (File)
Sun, Oct 12, 11:43 PM
Unknown Object (File)
Sun, Oct 12, 11:42 PM
Unknown Object (File)
Sun, Oct 12, 12:15 PM
Unknown Object (File)
Fri, Oct 3, 4:18 AM
Subscribers
None

Details

Reviewers
maxim
Group Reviewers
doceng
Summary

en/books/porters-handbook/makefiles has code block with example of shell commands, and two lines of the example are started with '=' char. These lines are considered as the header,
that influence the correct creation of PO file for translation (code block becomes corrupted). As result, all translated ADOC files require manual work to fix lines, generated for this code block.

Proposed patch insert space char in the beginning of lines with =, < and > chars. As result, the code block is considered as one paragraph (as it must be), English text is rendered correctly,
PO files is created correctly, ADOC after translation will not need manual work.

Example of the manual work - commit ce5f6f10a0d09bf2fcd49165abec22cfaaf67ff5.
Related reviews:
https://reviews.freebsd.org/D52710 - commited
https://reviews.freebsd.org/D52678 - waits for approval

All these three patches fix issues that are require manual work as in the commit above.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

vladlen created this revision.
vladlen edited the summary of this revision. (Show Details)

it is already updated in other patch