瀏覽代碼

pythondeps.toml: warn about updates needed to docs/requirements.txt

docs/requirements.txt is expected by readthedocs and should be in sync
with pythondeps.toml.  Add a comment to both.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Paolo Bonzini 1 年之前
父節點
當前提交
9c05071719
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 3 0
      docs/requirements.txt
  2. 1 0
      pythondeps.toml

+ 3 - 0
docs/requirements.txt

@@ -1,2 +1,5 @@
+# Used by readthedocs.io
+# Should be in sync with the "installed" key of pythondeps.toml
+
 sphinx==5.3.0
 sphinx==5.3.0
 sphinx_rtd_theme==1.1.1
 sphinx_rtd_theme==1.1.1

+ 1 - 0
pythondeps.toml

@@ -22,6 +22,7 @@
 meson = { accepted = ">=0.63.0", installed = "1.2.3", canary = "meson" }
 meson = { accepted = ">=0.63.0", installed = "1.2.3", canary = "meson" }
 
 
 [docs]
 [docs]
+# Please keep the installed versions in sync with docs/requirements.txt
 sphinx = { accepted = ">=1.6", installed = "5.3.0", canary = "sphinx-build" }
 sphinx = { accepted = ">=1.6", installed = "5.3.0", canary = "sphinx-build" }
 sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.1.1" }
 sphinx_rtd_theme = { accepted = ">=0.5", installed = "1.1.1" }