From 388c23b49f2c6ff9ed1daa4bdc8abfc3a98daf99 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 15 Feb 2023 19:06:06 -0700 Subject: add mapping for obsolete docinfo1 and docinfo2 document attributes to AsciiDoc.py migration guide --- docs/modules/migrate/pages/asciidoc-py.adoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/modules/migrate/pages/asciidoc-py.adoc b/docs/modules/migrate/pages/asciidoc-py.adoc index 26a1ffb2..030aceaf 100644 --- a/docs/modules/migrate/pages/asciidoc-py.adoc +++ b/docs/modules/migrate/pages/asciidoc-py.adoc @@ -178,7 +178,6 @@ Asciidoctor is more careful when deriving automatic IDs for sections from the se To ensure your IDs have maximum portability, it's best to define them explicitly if the section title contains special characters or formatting. - === Tables [cols="~,~,~,~"] @@ -280,6 +279,15 @@ For all other text, Asciidoctor tabs are fixed at 4 spaces by the CSS. See xref:asciidoc:directives:include-with-indent.adoc[normalize block indentation]. |=== +=== docinfo attributes + +`docinfo` attribute values were introduced into AsciiDoc by Asciidoctor 1.5.5 to replace the less descriptive `docinfo1` and `docinfo2` attributes. +Here are the equivalents of the old attributes using the new values: + +* `:docinfo:` = `:docinfo: private` +* `:docinfo1:` = `:docinfo: shared` +* `:docinfo2:` = `:docinfo: shared,private` + === showcomments In AsciiDoc.py, single line comments could be turned into DocBook `` elements using `showcomments`. -- cgit v1.2.3