diff --git a/README.md b/README.md index cabe125..74bd444 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # can-hub.io -Marketing + docs site for [can-hub](https://github.com/jamofer/can-hub), built +Marketing + docs site for [can-hub](https://github.com/can-hub-io/can-hub), built with [Zola](https://www.getzola.org) and deployed on Cloudflare Pages. ```sh @@ -13,7 +13,7 @@ with [Zola](https://www.getzola.org) and deployed on Cloudflare Pages. - **Landing** lives in `templates/index.html` (+ `templates/partials/`); copy is in the template, not markdown. - **Docs** under `/docs/` are pulled from the [can-hub - repo](https://github.com/jamofer/can-hub) at build time by `build.sh` + repo](https://github.com/can-hub-io/can-hub) at build time by `build.sh` (quick-start, installation, security, the five tool references, protocol and design). Edit them **there**, never here — the fetched files are gitignored. - **API reference** at `/api/` renders `web/openapi.yaml` (also fetched at build) diff --git a/build.sh b/build.sh index 363ea94..f4f57e3 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -eu ZOLA_VERSION=0.19.2 -CODE_RAW=https://raw.githubusercontent.com/jamofer/can-hub/main +CODE_RAW=https://raw.githubusercontent.com/can-hub-io/can-hub/main if [ ! -x ./zola ] || ! ./zola --version | grep -q "$ZOLA_VERSION"; then curl -sfL "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" | tar xz @@ -23,7 +23,7 @@ fetch_doc() { } > "content/docs/$out" curl -sf "$CODE_RAW/$repo_path" \ | sed 's#](\([a-z][a-z0-9-]*\)\.md#](/docs/\1/#g' \ - | sed 's#](/docs/design/#](https://github.com/jamofer/can-hub/blob/main/doc/design.md#g' \ + | sed 's#](/docs/design/#](https://github.com/can-hub-io/can-hub/blob/main/doc/design.md#g' \ >> "content/docs/$out" } diff --git a/config.toml b/config.toml index 9f537ed..3984e7d 100644 --- a/config.toml +++ b/config.toml @@ -10,5 +10,5 @@ highlight_code = true highlight_theme = "ayu-dark" [extra] -github = "https://github.com/jamofer/can-hub" +github = "https://github.com/can-hub-io/can-hub" contact = "licensing@can-hub.io" diff --git a/content/docs/_index.md b/content/docs/_index.md index 708cd06..23b3d8e 100644 --- a/content/docs/_index.md +++ b/content/docs/_index.md @@ -8,5 +8,5 @@ sort_by = "weight" Everything here — quick start, tool reference, security, the wire protocol and the design notes — is rendered straight from the -[can-hub repository](https://github.com/jamofer/can-hub) at build time. The +[can-hub repository](https://github.com/can-hub-io/can-hub) at build time. The repository is the source of truth; edit the docs there.