We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0df50d commit 7a2e651Copy full SHA for 7a2e651
scripts/update-snapshot
@@ -1,5 +1,7 @@
1
#!/bin/bash
2
3
+set -x
4
+
5
# An antora build with the lib/markdown-for-llms.js extension
6
# will output a directory of Markdown files, with YAML front-matter
7
# including pubDate.
@@ -14,6 +16,9 @@
14
16
15
17
cd public
18
19
+pwd
20
+git remote -v
21
22
# all markdown files
23
find . -name *.md \
24
| sed 's|^\./||' \
@@ -65,6 +70,12 @@ git status --porcelain=v1 \
65
70
git add --pathspec-from-file=md-changed
66
71
git add --pathspec-from-file=md-added
67
72
73
+# also add individual files
74
+git add \
75
+ llms.txt \
76
+ site-manifest.json \
77
+ _/js/site-navigation-data
78
68
79
# B. in (md-output) but NOT (md-changed) -> CHECKOUT (revert)
69
80
comm -23 md-output md-changed > md-checkout
81
git checkout --pathspec-from-file=md-checkout
0 commit comments