Skip to contentSkip to conversation

migration-guides: stop including documents with ".. include"

PATCH New [email protected] 1 participant 1 message Apr 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 migration-guides: stop including documents with ".. include"

From: Michael Opdenacker <[email protected]>

From: Nicolas Dechesne <[email protected]>

This prevented variables from being substituted through the code in yocto-vars.py, at least in the files included this way.

---
 documentation/migration-guides/index.rst         |  4 ++--
 documentation/migration-guides/migration-3.4.rst |  6 ------
 documentation/migration-guides/migration-4.0.rst |  2 --
 documentation/migration-guides/release-3.4.rst   | 10 ++++++++++
 documentation/migration-guides/release-4.0.rst   |  7 +++++++
 5 files changed, 19 insertions(+), 10 deletions(-)
 create mode 100644 documentation/migration-guides/release-3.4.rst
 create mode 100644 documentation/migration-guides/release-4.0.rst
documentation/migration-guides/index.rst +2 -2
index 20c6ab9d4e..4597506d05 100644
@@ -12,8 +12,8 @@ to move to one release of the Yocto Project from the previous one.
 .. toctree::
 
    migration-general
-   migration-4.0
-   migration-3.4
+   release-4.0
+   release-3.4
    migration-3.3
    migration-3.2
    migration-3.1
documentation/migration-guides/migration-3.4.rst +0 -6
index c22ea814d6..d57c955eb4 100644
@@ -1,6 +1,3 @@
-Release 3.4 (honister)
-======================
-
 Migration notes for 3.4 (honister)
 ----------------------------------
 
@@ -274,6 +271,3 @@ Miscellaneous
   examples in :term:`EXTRA_USERS_PARAMS`.
 
 
-.. include:: release-notes-3.4.rst
-.. include:: release-notes-3.4.1.rst
-.. include:: release-notes-3.4.2.rst
documentation/migration-guides/migration-4.0.rst +0 -2
index d737b9d431..a8e6b4c331 100644
@@ -265,5 +265,3 @@ Miscellaneous changes
   when parsing recipes. Any code depending on the previous behaviour will no longer
   work - change any such code to explicitly use appropriate path variables instead.
 
-
-.. include:: release-notes-4.0.rst
documentation/migration-guides/release-3.4.rst new file +10 -0
new file mode 100644
index 0000000000..81476c4adb
@@ -0,0 +1,10 @@
+Release 3.4 (honister)
+======================
+
+.. toctree::
+
+   migration-3.4
+   release-notes-3.4
+   release-notes-3.4.1
+   release-notes-3.4.2
+
documentation/migration-guides/release-4.0.rst new file +7 -0
new file mode 100644
index 0000000000..7062f9d241
@@ -0,0 +1,7 @@
+Release 4.0 (kirkstone)
+=======================
+
+.. toctree::
+
+   migration-4.0
+   release-notes-4.0
Signature · 1 line
2.25.1