1 Star 0 Fork 19

张梁鹏堃/python-sphinx_rtd_theme

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Fix-typos.patch 10.58 KB
一键复制 编辑 原始数据 按行查看 历史
张梁鹏堃 提交于 2023-01-07 16:20 . Fix typos
From 0da22b885be387b79f7552c92be00fd14d11228a Mon Sep 17 00:00:00 2001
From: Kian-Meng Ang <kianmeng.ang@gmail.com>
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 = '<a href="https://readthedocs.org">Read the Docs</a>' %}
{#- 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 #}
<a href="https://github.com/readthedocs/sphinx_rtd_theme">{% trans %}theme{% endtrans %}</a>
{#- 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhang-liang-pengkun/python-sphinx_rtd_theme.git
git@gitee.com:zhang-liang-pengkun/python-sphinx_rtd_theme.git
zhang-liang-pengkun
python-sphinx_rtd_theme
python-sphinx_rtd_theme
master

搜索帮助