diff --git a/Fix-typos.patch b/Fix-typos.patch new file mode 100644 index 0000000000000000000000000000000000000000..f4e96034eee72a20f3b058c8e6ff7dadfabba9a6 --- /dev/null +++ b/Fix-typos.patch @@ -0,0 +1,227 @@ +From 0da22b885be387b79f7552c92be00fd14d11228a Mon Sep 17 00:00:00 2001 +From: Kian-Meng Ang +Date: Fri, 29 Apr 2022 01:39:04 +0800 +Subject: [PATCH] Fix typos (#1291) + +--- + sphinx_rtd_theme/footer.html | 2 +- + sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/fa_IR/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/it/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/lt/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/nl/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/pt/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/pt_BR/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/ru/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/sphinx.pot | 2 +- + sphinx_rtd_theme/locale/tr/LC_MESSAGES/sphinx.po | 2 +- + sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po | 2 +- + src/sass/_theme_rst.sass | 4 ++-- + src/sass/_theme_variables.sass | 2 +- + 15 files changed, 16 insertions(+), 16 deletions(-) + +diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html +index 1a395c9..7b831c1 100644 +--- a/sphinx_rtd_theme/footer.html ++++ b/sphinx_rtd_theme/footer.html +@@ -51,7 +51,7 @@ + {%- set readthedocs_web = 'Read the Docs' %} + {#- Translators: the variable "sphinx_web" is a link to the Sphinx project documentation with the text "Sphinx" #} + {%- trans sphinx_web=sphinx_web, readthedocs_web=readthedocs_web %}Built with {{ sphinx_web }} using a{% endtrans %} +- {#- Translators: "theme" refers to a theme for Sphinx, which alters the appearance of the generated documenation #} ++ {#- Translators: "theme" refers to a theme for Sphinx, which alters the appearance of the generated documentation #} + {% trans %}theme{% endtrans %} + {#- Translators: this is always used as "provided by Read the Docs", and should not imply Read the Docs is an author of the generated documentation. #} + {% trans %}provided by {{ readthedocs_web }}{% endtrans %}. +diff --git a/sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po +index e46fefb..696262e 100644 +--- a/sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po +@@ -93,7 +93,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "" +diff --git a/sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po +index 391a529..06f282c 100644 +--- a/sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po +@@ -86,7 +86,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Compilado con %(sphinx_web)s usando un" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "tema" +diff --git a/sphinx_rtd_theme/locale/fa_IR/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/fa_IR/LC_MESSAGES/sphinx.po +index f0f665e..7a61ac0 100644 +--- a/sphinx_rtd_theme/locale/fa_IR/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/fa_IR/LC_MESSAGES/sphinx.po +@@ -80,7 +80,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "ساخته شده با %(sphinx_web)s" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "پوسته" +diff --git a/sphinx_rtd_theme/locale/it/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/it/LC_MESSAGES/sphinx.po +index 02580a0..cb58e43 100644 +--- a/sphinx_rtd_theme/locale/it/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/it/LC_MESSAGES/sphinx.po +@@ -98,7 +98,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Realizzato con %(sphinx_web)s e il tema" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "tema" +diff --git a/sphinx_rtd_theme/locale/lt/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/lt/LC_MESSAGES/sphinx.po +index 6b5f341..de2afaa 100644 +--- a/sphinx_rtd_theme/locale/lt/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/lt/LC_MESSAGES/sphinx.po +@@ -97,7 +97,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Surinkta su %(sphinx_web)s naudojant" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "temą" +diff --git a/sphinx_rtd_theme/locale/nl/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/nl/LC_MESSAGES/sphinx.po +index d53bb81..aab6e03 100644 +--- a/sphinx_rtd_theme/locale/nl/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/nl/LC_MESSAGES/sphinx.po +@@ -97,7 +97,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Gebouwd met %(sphinx_web)s met een" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "thema" +diff --git a/sphinx_rtd_theme/locale/pt/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/pt/LC_MESSAGES/sphinx.po +index c7406d0..88431ef 100644 +--- a/sphinx_rtd_theme/locale/pt/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/pt/LC_MESSAGES/sphinx.po +@@ -82,7 +82,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Compilado com %(sphinx_web)s usando um" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "tema" +diff --git a/sphinx_rtd_theme/locale/pt_BR/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/pt_BR/LC_MESSAGES/sphinx.po +index 7407b7d..9b00a86 100644 +--- a/sphinx_rtd_theme/locale/pt_BR/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/pt_BR/LC_MESSAGES/sphinx.po +@@ -98,7 +98,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Compilado com %(sphinx_web)s usando um" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "tema" +diff --git a/sphinx_rtd_theme/locale/ru/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/ru/LC_MESSAGES/sphinx.po +index 03a622c..b5acc20 100644 +--- a/sphinx_rtd_theme/locale/ru/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/ru/LC_MESSAGES/sphinx.po +@@ -98,7 +98,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "Собрано при помощи %(sphinx_web)s с использованием" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "темы," +diff --git a/sphinx_rtd_theme/locale/sphinx.pot b/sphinx_rtd_theme/locale/sphinx.pot +index bcfd5c6..7a0906c 100644 +--- a/sphinx_rtd_theme/locale/sphinx.pot ++++ b/sphinx_rtd_theme/locale/sphinx.pot +@@ -92,7 +92,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "" + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "" +diff --git a/sphinx_rtd_theme/locale/tr/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/tr/LC_MESSAGES/sphinx.po +index 8ad4d55..d5da8bf 100644 +--- a/sphinx_rtd_theme/locale/tr/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/tr/LC_MESSAGES/sphinx.po +@@ -62,7 +62,7 @@ msgid "Last updated on %(last_updated)s." + msgstr "Son olarak %(last_updated)s tarihinde güncellendi." + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "tema" +diff --git a/sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po b/sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po +index 144589e..67b7dff 100644 +--- a/sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po ++++ b/sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po +@@ -71,7 +71,7 @@ msgid "Built with %(sphinx_web)s using a" + msgstr "利用 %(sphinx_web)s 构建,使用了 " + + #. "theme" refers to a theme for Sphinx, which alters the appearance of the +-#. generated documenation ++#. generated documentation + #: sphinx_rtd_theme/footer.html:55 + msgid "theme" + msgstr "主题" +diff --git a/src/sass/_theme_rst.sass b/src/sass/_theme_rst.sass +index c77ef72..32f2e8b 100644 +--- a/src/sass/_theme_rst.sass ++++ b/src/sass/_theme_rst.sass +@@ -5,7 +5,7 @@ + // 1. Lots of this @extends from wyrm_core/_type.sass (http://www.github.com/snide/wyrm/. + // * Try not to replace any @extends code. It's pretty generic stuff meant to work together. + // * That said, know that I'm very unlikely to accept PRs from wyrm just to change style here. +-// 2. I plan to remove the !importants in here. Part of it is due to lazyness, part to sphinx's fondness for nesting. ++// 2. I plan to remove the !importants in here. Part of it is due to laziness, part to sphinx's fondness for nesting. + // 3. Try to use variables from wyrm_core/wy_variables.sass. Notable are... + // * $base-line-height // All margins, padding and line-height should use this in .25 increments. + // * $text-color, $text-light, $text-dark...etc +@@ -14,7 +14,7 @@ + // -------------------------------------------------------------------------------------------------------------------- + + .rst-content +- // Some browsers like to give arbituary margins :( make them all consistent. ++ // Some browsers like to give arbitrary margins :( make them all consistent. + h1, h2, h3, h4, h5, h6 + margin-bottom: $base-line-height + +diff --git a/src/sass/_theme_variables.sass b/src/sass/_theme_variables.sass +index 6880c28..d4ee56a 100644 +--- a/src/sass/_theme_variables.sass ++++ b/src/sass/_theme_variables.sass +@@ -1,4 +1,4 @@ +-// In here are varibles used for sphinx_rtd_theme, they either add to or overwrite the default ones ++// In here are variables used for sphinx_rtd_theme, they either add to or overwrite the default ones + // that are set in wyrm_core/wy_variables.sass. You'll find wyrm in bower_components if you're looking + // for a reference. + +-- +2.39.0.windows.2 + diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index d31bf70d614ee90fc25e4f6e4ee72a95f499bfd1..cdd5c2d16812770d95621f2ecc26a8844a64fee2 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -1,10 +1,11 @@ Name: python-sphinx_rtd_theme Summary: Sphinx theme for readthedocs.org Version: 1.0.0 -Release: 1 +Release: 2 License: MIT URL: https://github.com/snide/sphinx_rtd_theme Source0: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz +Patch0000: Fix-typos.patch BuildArch: noarch @@ -44,6 +45,9 @@ popd %{python3_sitelib}/sphinx_rtd_theme* %changelog +* Sat Jan 7 2023 zhangliangpengkun - 1.0.0-2 +- Fix typos + * Mon Dec 20 2021 renhongxun 1.0.0-1 - upgrade version to 1.0.0