diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-19 05:06:43 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-19 05:08:00 +0300 |
| commit | ee6a8f9411a3d8f0105ed5d793bc44dafcd9ce2b (patch) | |
| tree | a1c5fb333e701261160fd37f144e3b8a0c3fefa1 /justfile | |
| parent | c5e1a20ad30f400a951abe154385d8f5931bebf3 (diff) | |
docs: move public references to website docs
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -17,6 +17,7 @@ ci: lint # Check formatting + run unit tests + maintenance script tests check: ci python3 -m unittest scripts.test_changelog scripts.test_vendor_libghostty_vt + @echo "docs reminder: if this changes user-facing behavior, make sure the relevant release docs are updated or called out before release." # Install repo-local git hooks install-hooks: @@ -36,14 +37,23 @@ website-build: build-libghostty-vt: scripts/build_vendored_libghostty_vt.sh -# Check that public docs and changelog have been finalized from docs/next before release +# Check that release docs and changelog have been finalized from docs/next before release release-docs-check: - @for file in README.md CONFIGURATION.md INTEGRATIONS.md SOCKET_API.md CHANGELOG.md; do \ + @for file in README.md CHANGELOG.md; do \ if ! diff -u "$file" "docs/next/$file"; then \ echo "error: $file differs from docs/next/$file; finalize release docs before releasing"; \ exit 1; \ fi; \ done + @for file in CONFIGURATION.md INTEGRATIONS.md SOCKET_API.md; do \ + if [ -e "$file" ]; then \ + echo "error: $file was replaced by website docs; remove the root copy"; \ + exit 1; \ + fi; \ + done + @test -f website/src/content/docs/configuration.mdx + @test -f website/src/content/docs/integrations.mdx + @test -f website/src/content/docs/socket-api.mdx # Finalize changelog, bump version, commit, tag, push, and trigger the GitHub Release workflow (usage: just release 0.1.1) release version: |
