From 1371c1106beff6e33cfb46d5c509d42e566eb50c Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Wed, 6 Nov 2024 08:48:26 +0100 Subject: doc: add a download page for epub and pdf These files are placed in the _static directory during publish. Note that Sphinx does not complain if files do not exist during compilation (since they are copied at the end). This is why this was used instead of the ":download:" role. (From yocto-docs rev: a422a2f4fe452d6f01685717961f6acdf09217de) Signed-off-by: Antonin Godard (cherry picked from commit 38aa55418426227203fe3a106fa1e85494a57c12) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/downloads.rst | 11 +++++++++++ documentation/index.rst | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 documentation/downloads.rst (limited to 'documentation') diff --git a/documentation/downloads.rst b/documentation/downloads.rst new file mode 100644 index 0000000000..7ec978ef2d --- /dev/null +++ b/documentation/downloads.rst @@ -0,0 +1,11 @@ +.. SPDX-License-Identifier: CC-BY-SA-2.0-UK + +======================= +Documentation Downloads +======================= + +The documentation can be downloaded in file formats to be read offline or on +another device. The currently supported formats are linked below: + +- `EPub <_static/TheYoctoProject.epub>`_ +- `PDF <_static/theyoctoproject.pdf>`_ diff --git a/documentation/index.rst b/documentation/index.rst index 3fef1704a4..6c6be38a7e 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -51,3 +51,10 @@ Welcome to the Yocto Project Documentation :hidden: genindex + +.. toctree:: + :maxdepth: 1 + :caption: Documentation Downloads + :hidden: + + downloads -- cgit v1.2.3-54-g00ecf