diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-02-15 19:06:06 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-02-15 19:06:06 -0700 |
| commit | 388c23b49f2c6ff9ed1daa4bdc8abfc3a98daf99 (patch) | |
| tree | 5ede9463be51d0a51a977c4fdd0e30250d3b710f /docs | |
| parent | 9b73de1815a71f5a01577681e57f2fdcad7f697e (diff) | |
add mapping for obsolete docinfo1 and docinfo2 document attributes to AsciiDoc.py migration guide
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modules/migrate/pages/asciidoc-py.adoc | 10 |
1 files changed, 9 insertions, 1 deletions
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 `<remark>` elements using `showcomments`. |
