From 51aaa45a1b57902f93a55329b0bd58da4649df32 Mon Sep 17 00:00:00 2001 From: Hamel Husain Date: Fri, 13 Sep 2024 15:37:45 -0700 Subject: [PATCH] update script --- nbs/_quarto.yml | 3 ++- nbs/update_ctx.sh | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100755 nbs/update_ctx.sh diff --git a/nbs/_quarto.yml b/nbs/_quarto.yml index 70cc0cb9..bd080c0e 100644 --- a/nbs/_quarto.yml +++ b/nbs/_quarto.yml @@ -3,7 +3,8 @@ project: pre-render: - pysym2md --output_file apilist.txt fastcore post-render: - - ./update_ctx.sh + - llms_txt2ctx llms.txt --optional true --save_nbdev_fname llms-ctx-full.txt + - llms_txt2ctx llms.txt --save_nbdev_fname llms-ctx.txt resources: - "*.txt" preview: diff --git a/nbs/update_ctx.sh b/nbs/update_ctx.sh deleted file mode 100755 index 13b2992f..00000000 --- a/nbs/update_ctx.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -llms_txt2ctx llms.txt --optional true > ${QUARTO_PROJECT_OUTPUT_DIR}/llms-ctx-full.txt -llms_txt2ctx llms.txt > ${QUARTO_PROJECT_OUTPUT_DIR}/llms-ctx.txt -