Skip to content

Commit 81d3230

Browse files
committed
Add llms.txt build command to Makefile
1 parent 6b1a76f commit 81d3230

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,24 @@ watch-cdocs:
7272
@echo "Compiling .mdoc files to HTML";
7373
@node ./local/bin/js/cdocs-build.js --watch;
7474

75+
# compile .mdoc.md files to HTML
76+
# so Hugo can include them in the site
77+
build-llms-txt:
78+
@echo "Makefile: Running build-llms-txt";
79+
@node ./local/bin/js/build-llms-txt.js;
80+
7581
start:
7682
@make setup-build-scripts ## Build and run docs including external content.
7783
@make dependencies
84+
@make build-llms-txt
7885
@make update_websites_sources_module
7986
@make server
8087

8188
# Skip downloading any dependencies and run the site (hugo needs at the least node)
8289
start-no-pre-build: node_modules ## Build and run docs excluding external content.
8390
@make setup-build-scripts
8491
@make build-cdocs
92+
@make build-llms-txt
8593
@make server
8694

8795
# Leave build scripts as is for local testing

0 commit comments

Comments
 (0)