File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 84
84
cd vimhelp
85
85
python3 scripts/h2h.py -i "$MACVIM_DIR/runtime/doc" -o ../build --project macvim --web-version --output-tags-json --version "$version_string" --commit "$MACVIM_COMMIT"
86
86
87
+ - name : Generate sitemap
88
+ run : |
89
+ cd build
90
+ ${GITHUB_WORKSPACE}/scripts/generate_sitemap > sitemap.txt
91
+
87
92
- name : Upload page artifact
88
93
uses : actions/upload-pages-artifact@v1
89
94
with :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e -o pipefail
4
+
5
+ # Simple script to generate a simple text-based sitemap. Don't use XML since
6
+ # it's kind of overkill for a simple site with lots of static HTML pages.
7
+ # We also exclude the redirect.html since it's not really useful to crawl.
8
+ echo " https://macvim.org/docs/"
9
+ for f in * .html; do
10
+ if [[ " $f " != " redirect.html" ]]; then
11
+ echo " https://macvim.org/docs/$f "
12
+ fi
13
+ done
You can’t perform that action at this time.
0 commit comments