Commit b98791cb authored by Tristan Van Berkom's avatar Tristan Van Berkom

doc/source/examples.rst: Rearranged ToC for examples

We want one example per file, not a huge file full of different examples.
parent b7e75da3
......@@ -7,34 +7,8 @@ This page contains documentation for real examples of BuildStream projects,
described step by step. All run under CI, so you can trust they are
maintained and work as expected.
for detail info go to :ref:`authoring`.
-----
Using flatpak runtimes to build and run from source
Config files
- project.conf
.. literalinclude:: ../examples/flatpak-autotools/project.conf
:language: yaml
- element
.. literalinclude:: ../examples/flatpak-autotools/elements/flatpak-autotools.bst
:language: yaml
- element
.. literalinclude:: ../examples/flatpak-autotools/elements/dependencies/usrmerge.bst
:language: yaml
Building::
bst build flatpak-autotools.bst
Running::
bst shell flatpak-autotools.bst hello
.. toctree::
:maxdepth: 2
examples_flatpak_autotools
.. _examples_flatpak_autotools:
Using flatpak runtimes to build and run from source
===================================================
Here we demonstrate how to build and run software using
a Flatpak SDK for the base runtime.
Config files
- project.conf
.. literalinclude:: ../examples/flatpak-autotools/project.conf
:language: yaml
- element
.. literalinclude:: ../examples/flatpak-autotools/elements/flatpak-autotools.bst
:language: yaml
- element
.. literalinclude:: ../examples/flatpak-autotools/elements/dependencies/usrmerge.bst
:language: yaml
Building::
bst build flatpak-autotools.bst
Running::
bst shell flatpak-autotools.bst hello
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment