FR-5578: Add support for variable substitutions.

This commit is contained in:
Robert Krátký 2023-10-06 13:45:34 +02:00 committed by Dan Bungert
parent 9621eeca9e
commit f7a00e40f1
3 changed files with 11 additions and 9 deletions

View File

@ -142,8 +142,10 @@ custom_html_js_files = []
# Specify a reST string that is included at the end of each file.
# If commented out, use the default (which pulls the reuse/links.txt
# file into each reST file).
# custom_rst_epilog = ''
custom_rst_epilog = '''
.. include:: /reuse/substitutions.txt
.. include:: /reuse/links.txt
'''
# By default, the documentation includes a feedback button at the top.
# You can disable it by setting the following configuration to True.
disable_feedback_button = False

View File

@ -12,21 +12,19 @@ adapted for s390x.
Download an ISO
===============
At the time of writing (just after the Kinetic release), the best place to go
is here:
https://cdimage.ubuntu.com/ubuntu/releases/22.10/release/
Download an ISO image of the latest release from the `release page <https://cdimage.ubuntu.com/ubuntu/releases/>`_ (currently |ubuntu-latest-version| (|ubuntu-latest-codename|)).
..code-block:: bash
.. parsed-literal::
wget https://cdimage.ubuntu.com/ubuntu/releases/22.10/release/ubuntu-22.10-live-server-s390x.iso -P ~/Downloads
wget https:\ //cdimage.ubuntu.com/ubuntu/releases/|ubuntu-latest-version|/release/ubuntu-|ubuntu-latest-version|-live-server-s390x.iso -P ~/Downloads
Mount the ISO
=============
.. code-block:: bash
.. parsed-literal::
mkdir -p ~/iso
sudo mount -r ~/Downloads/ubuntu-22.10-live-server-s390x.iso ~/iso
sudo mount -r ~/Downloads/ubuntu-|ubuntu-latest-version|-live-server-s390x.iso ~/iso
Write your autoinstall config
=============================

View File

@ -0,0 +1,2 @@
.. |ubuntu-latest-version| replace:: 23.04
.. |ubuntu-latest-codename| replace:: Lunar Lobster