From ab69512e27c70cf43f82130ab4037e6435dfecbc Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Tue, 8 Aug 2023 00:31:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ noxfile.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bc435eed..048323e8 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,8 @@ lamin_examples_docs/ lamindb_docs.zip pytorch_lamin_mnist_docs.zip redun_lamin_fasta_docs.zip +lamin_usecases_docs* +docs* # macOS .DS_Store diff --git a/noxfile.py b/noxfile.py index a14f9b1b..a8d8e421 100644 --- a/noxfile.py +++ b/noxfile.py @@ -94,11 +94,13 @@ def pull_artifacts(session): if ( path.name == "index.md" or "/storage/" in path.as_posix() - or path.name == "faq" + or path.name == "faq" # directory treated below ): continue path.rename(Path("docs") / path.name) # lamindb faq + for path in ("lamindb_docs/faq").glob("*"): + path.rename(Path("docs/faq") / path.name) replace_content("docs/faq.md", {FAQ_MATCH: FAQ_APPEND}) # lamindb guide replace_content("docs/guide.md", {OTHER_TOPICS_ORIG: "\n\n"})