Skip to content

Commit 8a72af3

Browse files
committed
Update migration guide
Indent guide Address typo
1 parent eaab307 commit 8a72af3

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/source/upgrade/1-1-to-1-2.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@ Here are the main breaking changes between the 1.1 and 1.2 versions.
2020
#. Update the following Python dependencies in ``docs/pyproject.toml``:
2121

2222
.. code-block::
23-
24-
sphinx-scylladb-theme = "~1.2.0"
23+
24+
sphinx-scylladb-theme = "~1.2.0"
2525
sphinx-multiversion-scylla = "~0.2.11"
26-
sphinx-scylladb-theme = "~1.2.0"
2726

2827
#. Remove the following dependency in ``docs/pyproject.toml``:
2928

3029
.. code-block::
3130
32-
sphinx-sitemap = "^2.1.0"
33-
31+
sphinx-sitemap = "^2.1.0"
3432
3533
#. Edit ``docs/Makefile``:
3634

@@ -43,7 +41,7 @@ Here are the main breaking changes between the 1.1 and 1.2 versions.
4341
With:
4442

4543
.. code-block::
46-
44+
4745
POETRY = poetry
4846

4947
# Windows variables
@@ -87,7 +85,7 @@ Listing unstable versions
8785

8886
To list versions as unstable:
8987

90-
#. Define in your `conf.py` the list ``UNSTABLE_VERSIONS``:
88+
#. Define in your ``conf.py`` the list ``UNSTABLE_VERSIONS``:
9189

9290
.. code-block:: python
9391
@@ -107,7 +105,9 @@ Sitemap
107105
.......
108106

109107
Sitemaps are useful for search engines to index content.
110-
To generate a ``sitemap.xml`` for the site, add the following line in the ``conf.py`` file:
108+
By default, the theme now automatically generates a sitemap for the site.
109+
110+
If your project has the multiversion extension enabled, add the following line in the ``conf.py`` file:
111111

112112
.. code-block:: python
113113
@@ -116,7 +116,7 @@ To generate a ``sitemap.xml`` for the site, add the following line in the ``conf
116116
Changes in custom landing pages
117117
...............................
118118

119-
If you were using the :ref:`Custom landing page feature <new_landing_page>`, add the following lines at the top of the file ``docs/source/index.rst``:
119+
If your project uses the :ref:`Custom landing page feature <new_landing_page>`, add the following lines at the top of the file ``docs/source/index.rst``:
120120

121121
.. code-block:: restructuredText
122122

0 commit comments

Comments
 (0)