From da3bddc7b7f1204d6f2e7e39aff4ba394580c992 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Fri, 5 Jul 2024 15:42:09 -0400 Subject: [PATCH] feat: inclure lindex avec les documents --- .github/workflows/analyse.yml | 3 +++ alexi/__init__.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml index 4943d37..98aed66 100644 --- a/.github/workflows/analyse.yml +++ b/.github/workflows/analyse.yml @@ -50,6 +50,9 @@ jobs: - name: Extract run: | alexi -v extract -m download/index.json download/*.pdf + - name: Index + run: | + alexi -v index export - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact diff --git a/alexi/__init__.py b/alexi/__init__.py index af2607b..614feca 100644 --- a/alexi/__init__.py +++ b/alexi/__init__.py @@ -199,7 +199,7 @@ def make_argparse() -> argparse.ArgumentParser: "--outdir", help="Repertoire destination pour l'index", type=Path, - default="indexdir", + default="export/_idx", ) index.add_argument("indir", help="Repertoire avec les fichiers extraits", type=Path) index.set_defaults(func=index_main)