docs/manual: rename *.txt as *.adoc

by using this standard extension `adoc`,
these files are rendered on gitlab & github

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2023-03-14 19:58:05 +01:00 committed by Thomas Petazzoni
parent b1f9c51162
commit 32cec3be97
78 changed files with 172 additions and 172 deletions

View File

@ -0,0 +1,58 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
[[adding-packages]]
== Adding new packages to Buildroot
This section covers how new packages (userspace libraries or
applications) can be integrated into Buildroot. It also shows how
existing packages are integrated, which is needed for fixing issues or
tuning their configuration.
When you add a new package, be sure to test it in various conditions
(see xref:testing-package[]) and also check it for coding style (see
xref:check-package[]).
include::adding-packages-directory.adoc[]
include::adding-packages-generic.adoc[]
include::adding-packages-autotools.adoc[]
include::adding-packages-cmake.adoc[]
include::adding-packages-python.adoc[]
include::adding-packages-luarocks.adoc[]
include::adding-packages-perl.adoc[]
include::adding-packages-virtual.adoc[]
include::adding-packages-kconfig.adoc[]
include::adding-packages-rebar.adoc[]
include::adding-packages-waf.adoc[]
include::adding-packages-meson.adoc[]
include::adding-packages-cargo.adoc[]
include::adding-packages-golang.adoc[]
include::adding-packages-qmake.adoc[]
include::adding-packages-kernel-module.adoc[]
include::adding-packages-asciidoc.adoc[]
include::adding-packages-linux-kernel-spec-infra.adoc[]
include::adding-packages-hooks.adoc[]
include::adding-packages-gettext.adoc[]
include::adding-packages-tips.adoc[]
include::adding-packages-conclusion.adoc[]

View File

@ -1,58 +0,0 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
[[adding-packages]]
== Adding new packages to Buildroot
This section covers how new packages (userspace libraries or
applications) can be integrated into Buildroot. It also shows how
existing packages are integrated, which is needed for fixing issues or
tuning their configuration.
When you add a new package, be sure to test it in various conditions
(see xref:testing-package[]) and also check it for coding style (see
xref:check-package[]).
include::adding-packages-directory.txt[]
include::adding-packages-generic.txt[]
include::adding-packages-autotools.txt[]
include::adding-packages-cmake.txt[]
include::adding-packages-python.txt[]
include::adding-packages-luarocks.txt[]
include::adding-packages-perl.txt[]
include::adding-packages-virtual.txt[]
include::adding-packages-kconfig.txt[]
include::adding-packages-rebar.txt[]
include::adding-packages-waf.txt[]
include::adding-packages-meson.txt[]
include::adding-packages-cargo.txt[]
include::adding-packages-golang.txt[]
include::adding-packages-qmake.txt[]
include::adding-packages-kernel-module.txt[]
include::adding-packages-asciidoc.txt[]
include::adding-packages-linux-kernel-spec-infra.txt[]
include::adding-packages-hooks.txt[]
include::adding-packages-gettext.txt[]
include::adding-packages-tips.txt[]
include::adding-packages-conclusion.txt[]

16
docs/manual/advanced.adoc Normal file
View File

@ -0,0 +1,16 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
=== Advanced usage
include::using-buildroot-toolchain.adoc[]
include::using-buildroot-debugger.adoc[]
include::ccache-support.adoc[]
include::download-location.adoc[]
include::package-make-target.adoc[]
include::using-buildroot-development.adoc[]

View File

@ -1,16 +0,0 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
=== Advanced usage
include::using-buildroot-toolchain.txt[]
include::using-buildroot-debugger.txt[]
include::ccache-support.txt[]
include::download-location.txt[]
include::package-make-target.txt[]
include::using-buildroot-development.txt[]

View File

@ -0,0 +1,6 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
include::makedev-syntax.adoc[]
include::makeusers-syntax.adoc[]
include::migrating.adoc[]

View File

@ -1,6 +0,0 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
include::makedev-syntax.txt[]
include::makeusers-syntax.txt[]
include::migrating.txt[]

View File

@ -3,9 +3,9 @@
== General Buildroot usage
include::make-tips.txt[]
include::make-tips.adoc[]
include::rebuilding-packages.txt[]
include::rebuilding-packages.adoc[]
=== Offline builds
@ -417,4 +417,4 @@ effects:
be empty and it's only at the very end of the build that they will
be populated.
include::advanced.txt[]
include::advanced.adoc[]

View File

@ -153,4 +153,4 @@ Using `fakeroot` is not an absolute substitute for actually being root.
`fakeroot` only ever fakes the file access rights and types (regular,
block-or-char device...) and uid/gid; these are emulated in-memory.
include::customize-device-permission-tables.txt[]
include::customize-device-permission-tables.adoc[]

View File

@ -41,20 +41,20 @@ image in a reproducible way, even after running 'make clean'. By
following the recommended strategy, you can even use the same Buildroot
tree to build multiple distinct projects!
include::customize-directory-structure.txt[]
include::customize-directory-structure.adoc[]
include::customize-outside-br.txt[]
include::customize-outside-br.adoc[]
include::customize-configuration.txt[]
include::customize-configuration.adoc[]
include::customize-rootfs.txt[]
include::customize-rootfs.adoc[]
include::customize-users-tables.txt[]
include::customize-users-tables.adoc[]
include::customize-post-image.txt[]
include::customize-post-image.adoc[]
include::customize-patches.txt[]
include::customize-patches.adoc[]
include::customize-packages.txt[]
include::customize-packages.adoc[]
include::customize-quick-guide.txt[]
include::customize-quick-guide.adoc[]

View File

@ -9,6 +9,6 @@ level. Buildroot is highly configurable, almost everything discussed
here can be changed or overridden by xref:rootfs-custom[rootfs overlay
or custom skeleton] configuration.
include::integration-systemd.txt[]
include::integration-systemd.adoc[]
include::integration-selinux-support.txt[]
include::integration-selinux-support.adoc[]

75
docs/manual/manual.adoc Normal file
View File

@ -0,0 +1,75 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
= The Buildroot user manual
:toc:
Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {localdate}
{localtime} from git revision {sys:git rev-parse --short HEAD}
The Buildroot manual is written by the Buildroot developers.
It is licensed under the GNU General Public License, version 2. Refer to the
http://git.buildroot.org/buildroot/tree/COPYING?id={sys:git rev-parse HEAD}[COPYING]
file in the Buildroot sources for the full text of this license.
Copyright (C) The Buildroot developers <buildroot@buildroot.org>
image::logo.png[]
= Getting started
include::introduction.adoc[]
include::prerequisite.adoc[]
include::getting.adoc[]
include::quickstart.adoc[]
include::resources.adoc[]
= User guide
include::configure.adoc[]
include::configure-other-components.adoc[]
include::common-usage.adoc[]
include::customize.adoc[]
include::integration.adoc[]
include::faq-troubleshooting.adoc[]
include::known-issues.adoc[]
include::legal-notice.adoc[]
include::beyond-buildroot.adoc[]
= Developer guide
include::how-buildroot-works.adoc[]
include::writing-rules.adoc[]
include::adding-board-support.adoc[]
include::adding-packages.adoc[]
include::patch-policy.adoc[]
include::download-infra.adoc[]
include::debugging-buildroot.adoc[]
include::contribute.adoc[]
include::developers.adoc[]
include::release-engineering.adoc[]
= Appendix
include::appendix.adoc[]

View File

@ -4,7 +4,7 @@
#
################################################################################
MANUAL_SOURCES = $(sort $(wildcard docs/manual/*.txt) $(wildcard docs/images/*))
MANUAL_SOURCES = $(sort $(wildcard docs/manual/*.adoc) $(wildcard docs/images/*))
MANUAL_RESOURCES = $(TOPDIR)/docs/images
$(eval $(call asciidoc-document))

View File

@ -1,75 +0,0 @@
// -*- mode:doc; -*-
// vim: set syntax=asciidoc:
= The Buildroot user manual
:toc:
Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {localdate}
{localtime} from git revision {sys:git rev-parse --short HEAD}
The Buildroot manual is written by the Buildroot developers.
It is licensed under the GNU General Public License, version 2. Refer to the
http://git.buildroot.org/buildroot/tree/COPYING?id={sys:git rev-parse HEAD}[COPYING]
file in the Buildroot sources for the full text of this license.
Copyright (C) The Buildroot developers <buildroot@buildroot.org>
image::logo.png[]
= Getting started
include::introduction.txt[]
include::prerequisite.txt[]
include::getting.txt[]
include::quickstart.txt[]
include::resources.txt[]
= User guide
include::configure.txt[]
include::configure-other-components.txt[]
include::common-usage.txt[]
include::customize.txt[]
include::integration.txt[]
include::faq-troubleshooting.txt[]
include::known-issues.txt[]
include::legal-notice.txt[]
include::beyond-buildroot.txt[]
= Developer guide
include::how-buildroot-works.txt[]
include::writing-rules.txt[]
include::adding-board-support.txt[]
include::adding-packages.txt[]
include::patch-policy.txt[]
include::download-infra.txt[]
include::debugging-buildroot.txt[]
include::contribute.txt[]
include::developers.txt[]
include::release-engineering.txt[]
= Appendix
include::appendix.txt[]

View File

@ -124,7 +124,7 @@ $$(O)/docs/$(1)/$(1).$(5): $$($(2)_SOURCES) \
--resource="$$(abspath $$(r))") \
$$($(2)_$(3)_A2X_OPTS) \
--asciidoc-opts="$$($(2)_$(3)_ASCIIDOC_OPTS)" \
$$(BUILD_DIR)/docs/$(1)/$(1).txt
$$(BUILD_DIR)/docs/$(1)/$(1).adoc
# install the generated document
$$($(2)_$(3)_INSTALL_CMDS)
endif