Преглед изворни кода

ref-manual: move migration guides to separate document

This makes the reference manual much lighter by moving
the migration guides to a separate document.

The migration guides are also reordered from last to first,
and they appear directly in the left bar, making them easier
to find in the documentation.

(From yocto-docs rev: 5121b86ee97eb62a0c69c9ad1fc0e3fabbe3e934)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Michael Opdenacker пре 4 година
родитељ
комит
5f978a6cca

+ 1 - 0
documentation/index.rst

@@ -41,6 +41,7 @@ Welcome to the Yocto Project Documentation
    :caption: Releases manual
    :caption: Releases manual
    :hidden:
    :hidden:
 
 
+   Release Migration Guides <migration-guides/index>
    releases
    releases
 
 
 .. toctree::
 .. toctree::

+ 25 - 23
documentation/ref-manual/migration.rst → documentation/migration-guides/index.rst

@@ -1,32 +1,34 @@
 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 
 
-******************************************
-Migrating to a Newer Yocto Project Release
-******************************************
+==========================
+ Release Migration Guides
+==========================
 
 
-This chapter provides information you can use to migrate work to a newer
-Yocto Project release. You can find the same information in the release
-notes for a given release.
+|
+
+Each document in this chapter provides information about how
+to move to one release of the Yocto Project from the previous one.
 
 
 .. toctree::
 .. toctree::
 
 
    migration-general
    migration-general
-   migration-1.3
-   migration-1.4
-   migration-1.5
-   migration-1.6
-   migration-1.7
-   migration-1.8
-   migration-2.0
-   migration-2.1
-   migration-2.2
-   migration-2.3
-   migration-2.4
-   migration-2.5
-   migration-2.6
-   migration-2.7
-   migration-3.0
-   migration-3.1
-   migration-3.2
    migration-3.3
    migration-3.3
+   migration-3.2
+   migration-3.1
+   migration-3.0
+   migration-2.7
+   migration-2.6
+   migration-2.5
+   migration-2.4
+   migration-2.3
+   migration-2.2
+   migration-2.1
+   migration-2.0
+   migration-1.8
+   migration-1.7
+   migration-1.6
+   migration-1.5
+   migration-1.4
+   migration-1.3
 
 
+.. include:: /boilerplate.rst

+ 2 - 2
documentation/ref-manual/migration-1.3.rst → documentation/migration-guides/migration-1.3.rst

@@ -1,7 +1,7 @@
 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 
 
-Moving to the Yocto Project 1.3 Release (danny)
-===============================================
+Release 1.3 (danny)
+===================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 1.3 Release (codename "danny") from the prior release.
 Project 1.3 Release (codename "danny") from the prior release.

+ 3 - 3
documentation/ref-manual/migration-1.4.rst → documentation/migration-guides/migration-1.4.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 1.4 Release (dylan)
-===============================================
+Release 1.4 (dylan)
+===================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 1.4 Release (codename "dylan") from the prior release.
 Project 1.4 Release (codename "dylan") from the prior release.
@@ -60,7 +60,7 @@ Differences include the following:
    the :term:`MACHINEOVERRIDES` or
    the :term:`MACHINEOVERRIDES` or
    :term:`DISTROOVERRIDES` variables, as
    :term:`DISTROOVERRIDES` variables, as
    appropriate. For more related changes, see the
    appropriate. For more related changes, see the
-   ":ref:`ref-manual/migration-1.4:variables`" section.
+   ":ref:`migration-guides/migration-1.4:variables`" section.
 
 
 .. _migration-1.4-proxies-and-fetching-source:
 .. _migration-1.4-proxies-and-fetching-source:
 
 

+ 2 - 2
documentation/ref-manual/migration-1.5.rst → documentation/migration-guides/migration-1.5.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 1.5 Release (dora)
-==============================================
+Release 1.5 (dora)
+==================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 1.5 Release (codename "dora") from the prior release.
 Project 1.5 Release (codename "dora") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-1.6.rst → documentation/migration-guides/migration-1.6.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 1.6 Release (daisy)
-===============================================
+Release 1.6 (daisy)
+===================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 1.6 Release (codename "daisy") from the prior release.
 Project 1.6 Release (codename "daisy") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-1.7.rst → documentation/migration-guides/migration-1.7.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 1.7 Release (dizzy)
-===============================================
+Release 1.7 (dizzy)
+===================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 1.7 Release (codename "dizzy") from the prior release.
 Project 1.7 Release (codename "dizzy") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-1.8.rst → documentation/migration-guides/migration-1.8.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 1.8 Release (fido)
-==============================================
+Release 1.8 (fido)
+==================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 1.8 Release (codename "fido") from the prior release.
 Project 1.8 Release (codename "fido") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-2.0.rst → documentation/migration-guides/migration-2.0.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.0 Release (jethro)
-================================================
+Release 2.0 (jethro)
+====================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.0 Release (codename "jethro") from the prior release.
 Project 2.0 Release (codename "jethro") from the prior release.

+ 3 - 3
documentation/ref-manual/migration-2.1.rst → documentation/migration-guides/migration-2.1.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.1 Release (krogoth)
-=================================================
+Release 2.1 (krogoth)
+=====================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.1 Release (codename "krogoth") from the prior release.
 Project 2.1 Release (codename "krogoth") from the prior release.
@@ -179,7 +179,7 @@ The following recipes have been removed in the 2.1 release:
 -  ``python-pygtk``: Recipe became obsolete.
 -  ``python-pygtk``: Recipe became obsolete.
 
 
 -  ``adt-installer``: Recipe became obsolete. See the
 -  ``adt-installer``: Recipe became obsolete. See the
-   ":ref:`ref-manual/migration-2.1:adt removed`" section for more information.
+   ":ref:`migration-guides/migration-2.1:adt removed`" section for more information.
 
 
 .. _migration-2.1-class-changes:
 .. _migration-2.1-class-changes:
 
 

+ 4 - 4
documentation/ref-manual/migration-2.2.rst → documentation/migration-guides/migration-2.2.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.2 Release (morty)
-===============================================
+Release 2.2 (morty)
+===================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.2 Release (codename "morty") from the prior release.
 Project 2.2 Release (codename "morty") from the prior release.
@@ -364,7 +364,7 @@ The following recipes have been removed:
 -  ``sato-icon-theme``: Became obsolete.
 -  ``sato-icon-theme``: Became obsolete.
 
 
 -  ``swabber-native``: Swabber has been removed. See the :ref:`entry on
 -  ``swabber-native``: Swabber has been removed. See the :ref:`entry on
-   Swabber <ref-manual/migration-2.2:swabber has been removed>`.
+   Swabber <migration-guides/migration-2.2:swabber has been removed>`.
 
 
 -  ``tslib``: No longer needed and has been moved to ``meta-oe``.
 -  ``tslib``: No longer needed and has been moved to ``meta-oe``.
 
 
@@ -390,7 +390,7 @@ The following classes have been removed:
 -  ``sip``: Mostly unused.
 -  ``sip``: Mostly unused.
 
 
 -  ``swabber``: See the :ref:`entry on
 -  ``swabber``: See the :ref:`entry on
-   Swabber <ref-manual/migration-2.2:swabber has been removed>`.
+   Swabber <migration-guides/migration-2.2:swabber has been removed>`.
 
 
 .. _migration-2.2-minor-packaging-changes:
 .. _migration-2.2-minor-packaging-changes:
 
 

+ 2 - 2
documentation/ref-manual/migration-2.3.rst → documentation/migration-guides/migration-2.3.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.3 Release (pyro)
-==============================================
+Release 2.3 (pyro)
+==================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.3 Release (codename "pyro") from the prior release.
 Project 2.3 Release (codename "pyro") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-2.4.rst → documentation/migration-guides/migration-2.4.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.4 Release (rocko)
-===============================================
+Release 2.4 (rocko)
+===================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.4 Release (codename "rocko") from the prior release.
 Project 2.4 Release (codename "rocko") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-2.5.rst → documentation/migration-guides/migration-2.5.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.5 Release (sumo)
-==============================================
+Release 2.5 (sumo)
+==================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.5 Release (codename "sumo") from the prior release.
 Project 2.5 Release (codename "sumo") from the prior release.

+ 3 - 3
documentation/ref-manual/migration-2.6.rst → documentation/migration-guides/migration-2.6.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.6 Release (thud)
-==============================================
+Release 2.6 (thud)
+==================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.6 Release (codename "thud") from the prior release.
 Project 2.6 Release (codename "thud") from the prior release.
@@ -110,7 +110,7 @@ upon the older ``*proto`` recipes need to be changed to depend on the
 newer ``xorgproto`` recipe instead.
 newer ``xorgproto`` recipe instead.
 
 
 For names of recipes removed because of this repository change, see the
 For names of recipes removed because of this repository change, see the
-:ref:`ref-manual/migration-2.6:removed recipes` section.
+:ref:`migration-guides/migration-2.6:removed recipes` section.
 
 
 .. _migration-2.6-distutils-distutils3-fetching-dependencies:
 .. _migration-2.6-distutils-distutils3-fetching-dependencies:
 
 

+ 2 - 2
documentation/ref-manual/migration-2.7.rst → documentation/migration-guides/migration-2.7.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 2.7 Release (warrior)
-=================================================
+Release 2.7 (warrior)
+=====================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 2.7 Release (codename "warrior") from the prior release.
 Project 2.7 Release (codename "warrior") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-3.0.rst → documentation/migration-guides/migration-3.0.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 3.0 Release (zeus)
-==============================================
+Release 3.0 (zeus)
+==================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 3.0 Release (codename "zeus") from the prior release.
 Project 3.0 Release (codename "zeus") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-3.1.rst → documentation/migration-guides/migration-3.1.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 3.1 Release (dunfell)
-=================================================
+Release 3.1 (dunfell)
+=====================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 3.1 Release (codename "dunfell") from the prior release.
 Project 3.1 Release (codename "dunfell") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-3.2.rst → documentation/migration-guides/migration-3.2.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 3.2 Release (gatesgarth)
-====================================================
+Release 3.2 (gatesgarth)
+========================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 3.2 Release (codename "gatesgarth") from the prior release.
 Project 3.2 Release (codename "gatesgarth") from the prior release.

+ 2 - 2
documentation/ref-manual/migration-3.3.rst → documentation/migration-guides/migration-3.3.rst

@@ -1,5 +1,5 @@
-Moving to the Yocto Project 3.3 Release (hardknott)
-===================================================
+Release 3.3 (hardknott)
+=======================
 
 
 This section provides migration information for moving to the Yocto
 This section provides migration information for moving to the Yocto
 Project 3.3 Release (codename "hardknott") from the prior release.
 Project 3.3 Release (codename "hardknott") from the prior release.

+ 0 - 0
documentation/ref-manual/migration-general.rst → documentation/migration-guides/migration-general.rst


+ 0 - 1
documentation/ref-manual/index.rst

@@ -13,7 +13,6 @@ Yocto Project Reference Manual
    system-requirements
    system-requirements
    terms
    terms
    release-process
    release-process
-   migration
    structure
    structure
    classes
    classes
    tasks
    tasks

+ 4 - 2
documentation/ref-manual/release-process.rst

@@ -62,8 +62,10 @@ codename are likely to be compatible and thus work together.
 
 
 Releases are given a nominal release version as well but the codename is
 Releases are given a nominal release version as well but the codename is
 used in repositories for this reason. You can find information on Yocto
 used in repositories for this reason. You can find information on Yocto
-Project releases and codenames at
-:yocto_wiki:`/Releases`.
+Project releases and codenames at :yocto_wiki:`/Releases`.
+
+Our :doc:`/migration-guides/index` detail how to migrate from one release of
+the Yocto Project to the next.
 
 
 Stable Release Process
 Stable Release Process
 ======================
 ======================