1c24d83cc8
With recent asiidoc versions (at least 10.2.0 is known to report that), rendering the manual yields a few warnings related to ordered lists: asciidoc: WARNING: customize-quick-guide.adoc: line 13: list item index: expected 2 got 1 asciidoc: WARNING: customize-quick-guide.adoc: line 15: list item index: expected 3 got 1 [...] asciidoc: WARNING: customize-quick-guide.adoc: line 65: list item index: expected 13 got 1 asciidoc: WARNING: customize-quick-guide.adoc: line 66: list item index: expected 14 got 1 asciidoc: WARNING: adding-packages-gettext.adoc: line 30: list item index: expected 2 got 1 asciidoc: WARNING: adding-packages-gettext.adoc: line 41: list item index: expected 3 got 1 The reason is that we use the same index to tell asciidoc to automatically number items. However, the official way to provide an automatic index is to write no index: https://docs.asciidoctor.org/asciidoc/latest/lists/ordered/ [...] since the numbering is obvious, the AsciiDoc processor will insert the numbers for you if you omit them: [...] If you number the ordered list explicitly, you have to manually keep the list numerals sequential. Otherwise, you will get a warning. So, abide by the documentation, and drop the repeating indices to ordered lists where we want automatic numbering. Note that there is another ordered list, in adding-packages-directory.adoc, but it does use explicit, sequential numbering. For consistency within the whole document, we also convert it. To avoid extra useless churn, the indentation of the items is not changed to match the elided indices. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
adding-board-support.adoc | ||
adding-packages-asciidoc.adoc | ||
adding-packages-autotools.adoc | ||
adding-packages-cargo.adoc | ||
adding-packages-cmake.adoc | ||
adding-packages-conclusion.adoc | ||
adding-packages-directory.adoc | ||
adding-packages-generic.adoc | ||
adding-packages-gettext.adoc | ||
adding-packages-golang.adoc | ||
adding-packages-hooks.adoc | ||
adding-packages-kconfig.adoc | ||
adding-packages-kernel-module.adoc | ||
adding-packages-linux-kernel-spec-infra.adoc | ||
adding-packages-luarocks.adoc | ||
adding-packages-meson.adoc | ||
adding-packages-perl.adoc | ||
adding-packages-python.adoc | ||
adding-packages-qmake.adoc | ||
adding-packages-rebar.adoc | ||
adding-packages-tips.adoc | ||
adding-packages-virtual.adoc | ||
adding-packages-waf.adoc | ||
adding-packages.adoc | ||
advanced.adoc | ||
appendix.adoc | ||
beyond-buildroot.adoc | ||
ccache-support.adoc | ||
common-usage.adoc | ||
configure-other-components.adoc | ||
configure.adoc | ||
contribute.adoc | ||
customize-configuration.adoc | ||
customize-device-permission-tables.adoc | ||
customize-directory-structure.adoc | ||
customize-outside-br.adoc | ||
customize-packages.adoc | ||
customize-patches.adoc | ||
customize-post-image.adoc | ||
customize-quick-guide.adoc | ||
customize-rootfs.adoc | ||
customize-users-tables.adoc | ||
customize.adoc | ||
debugging-buildroot.adoc | ||
developers.adoc | ||
download-infra.adoc | ||
download-location.adoc | ||
faq-troubleshooting.adoc | ||
getting.adoc | ||
how-buildroot-works.adoc | ||
integration-selinux-support.adoc | ||
integration-systemd.adoc | ||
integration.adoc | ||
introduction.adoc | ||
known-issues.adoc | ||
legal-notice.adoc | ||
make-tips.adoc | ||
makedev-syntax.adoc | ||
makeusers-syntax.adoc | ||
manual.adoc | ||
manual.mk | ||
migrating.adoc | ||
package-make-target.adoc | ||
patch-policy.adoc | ||
prerequisite.adoc | ||
quickstart.adoc | ||
rebuilding-packages.adoc | ||
release-engineering.adoc | ||
resources.adoc | ||
using-buildroot-debugger.adoc | ||
using-buildroot-development.adoc | ||
using-buildroot-toolchain.adoc | ||
writing-rules.adoc |