Skip to content

Commit 8213939

Browse files
committed
add sync info
1 parent 01f35d2 commit 8213939

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ bundle exec jekyll serve
3333
- Update content in `docs/` (Markdown).
3434
- Add new links to `docs/references.md`.
3535
- Track important changes in `docs/changelog.md`.
36+
- If you update `tools/index.html`, run `tools/sync_docs_tools.sh` to publish it to `docs/tools/index.html` for GitHub Pages.
3637

3738
## Source material
3839

3940
This site is reorganized and expanded from a long-form internal guide:
4041
- See **Appendix → Original long-form guide**.
41-

tools/sync_docs_tools.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5+
src="${repo_root}/tools/index.html"
6+
dest_dir="${repo_root}/docs/tools"
7+
dest="${dest_dir}/index.html"
8+
9+
mkdir -p "${dest_dir}"
10+
cp "${src}" "${dest}"
11+
12+
echo "Synced ${src} -> ${dest}"

0 commit comments

Comments
 (0)