[LTP] [PATCH COMMITTED] .readthedocs.yml: Fix building generation

Petr Vorel pvorel@suse.cz
Fri Feb 7 10:41:04 CET 2025


readthedocs now needs to configure LTP and build metadata/ first.

Fixes: 1bf344a3db ("doc: add tests catalog page")
Co-developed-by: Andrea Cervesato <andrea.cervesato@suse.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 .readthedocs.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.readthedocs.yml b/.readthedocs.yml
index 28e8c88a5c..5434ef49d6 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -5,8 +5,16 @@ build:
   tools:
     python: "3.6"
   apt_packages:
+    - autoconf
     - enchant-2
     - hunspell-en-us
+    - make
+  jobs:
+    # Doc requires to have ltp.json
+    pre_build:
+      - make autotools
+      - ./configure
+      - make -C metadata/
 
 # Build from the doc/ directory with Sphinx
 sphinx:
-- 
2.47.2



More information about the ltp mailing list