From 9d7930a4e0d0566e41ad0e0cf551cab04e847d64 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Mon, 27 Jan 2025 19:37:04 +0100 Subject: docs: use literalinclude for system requirements The YAML variables for the host dependencies are updated by hand and actually only used inside code blocks. Let's migrate all instructions into separate shell scripts that are then literalinclude'd into the Sphinx documentation. This allows a few things: - ability to run shellcheck on the scripts if we ever want to - manually calling the appropriate script from a supported distro to build stuff (distro or bitbake/yocto stuff) - use this script to create containers to do CI of documentation on different distros, to make sure our instructions are all up to date, (From yocto-docs rev: 8d993022c2aefc0fde9baa949d39d7a3613f9f46) Signed-off-by: Quentin Schulz Reviewed-by: Antonin Godard Tested-by: Antonin Godard Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/tools/host_packages_scripts/opensuse_docs.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 documentation/tools/host_packages_scripts/opensuse_docs.sh (limited to 'documentation/tools/host_packages_scripts/opensuse_docs.sh') diff --git a/documentation/tools/host_packages_scripts/opensuse_docs.sh b/documentation/tools/host_packages_scripts/opensuse_docs.sh new file mode 100644 index 0000000000..7d36eb0f99 --- /dev/null +++ b/documentation/tools/host_packages_scripts/opensuse_docs.sh @@ -0,0 +1 @@ +sudo zypper install git glibc-i18ndata make python3-pip rsvg-convert which -- cgit v1.2.3-54-g00ecf