You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
infra(domain): switch production domain to docs.internetcomputer.org (#161)
## Summary
- Replace all `beta-docs.internetcomputer.org` references with
`docs.internetcomputer.org`
- `astro.config.mjs`: site URL, og/twitter image URLs, schema.org
WebSite and Organization IDs (8 refs)
- `public/.well-known/ic-domains`: IC boundary node custom domain
authorization
- `public/robots.txt`: sitemap URL + LLM discovery comments
- `public/og-image.svg`: footer text (baked into `og-image.png` at build
time)
- `README.md`: deployment URL; Background section rewritten to say the
portal has been replaced
- `AGENTS.md`: "Never" rule updated (`internetcomputer.org/docs` is
retired; `docs.internetcomputer.org` is now this site, use relative
paths); Portal tracking section updated
- `scripts/validate.js`: error messages updated to match the new reality
- `.docs-plan/decisions.md`: decision entry added for the cutover
## Notes
`docs/languages/motoko/` still contains ~30 links to
`internetcomputer.org/docs/...` but those are auto-synced from
`caffeinelabs/motoko` and need to be fixed upstream — tracked
separately.
## Sync recommendation
hand-written
Copy file name to clipboardExpand all lines: .docs-plan/decisions.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -275,3 +275,10 @@ Record decisions that constrain future work — things an agent needs to know th
275
275
**Rationale:** Dynamic SVG generation in the build plugin adds ~30 lines of complexity for a one-time change. Static is simpler and good enough.
276
276
**Alternatives considered:** Generate SVG dynamically in `plugins/astro-agent-docs.mjs` using `siteUrl` from Astro config (more robust, but over-engineered for a single domain change)
277
277
278
+
279
+
## 2026-04-28: Production domain cutover to docs.internetcomputer.org
280
+
281
+
**Context:** The site was previously served from `beta-docs.internetcomputer.org` as a staging domain during the transition from `dfinity/portal`. The portal has now been retired and this site is the canonical ICP developer docs.
282
+
**Decision:** Switch all domain references from `beta-docs.internetcomputer.org` to `docs.internetcomputer.org`. Updated files: `astro.config.mjs` (site URL + og/twitter/schema.org meta), `public/robots.txt` (sitemap), `public/og-image.svg` (footer text), `README.md`, `AGENTS.md` (never-link rule + portal tracking section), `scripts/validate.js` (error messages). The `docs.internetcomputer.org` lint rule in validate.js is kept — it still enforces relative paths for internal links.
283
+
**Rationale:** The beta domain was always a temporary staging address. With the portal retired, `docs.internetcomputer.org` is the permanent home.
284
+
**Alternatives considered:** Keep beta domain as a redirect origin (handled at DNS/CDN level, not in code)
Copy file name to clipboardExpand all lines: AGENTS.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ git checkout main
141
141
- Write code snippets from memory — find and adapt from actual upstream code in `.sources/`
142
142
- Modify the rationale or context of existing decisions in `.docs-plan/decisions.md` — you may remove entries that are fully reflected in the current codebase but never alter reasoning behind active decisions
143
143
- Add `Co-Authored-By` or any AI attribution to commits or PR descriptions
144
-
- Link to `internetcomputer.org/docs/`or `docs.internetcomputer.org` — those URLs will break. Link to pages in this site (relative paths), Learn Hub, or explain inline.
144
+
- Link to `internetcomputer.org/docs/`— that site is retired. For internal pages use relative paths, not absolute `docs.internetcomputer.org/...` URLs. Link to Learn Hub or explain inline for external content.
145
145
- Link to internal pages that don't exist — every `[text](path.md)` must resolve to an actual file. Run `ls <target>` before linking. Links to `.mdx` pages use `.md` extension (Astro resolves both).
146
146
- Link externally when an internal page exists — check `docs/` before using an external URL
147
147
- Offer, suggest, or perform PR reviews unless a human explicitly asks
@@ -369,10 +369,7 @@ sidebar:
369
369
370
370
## Portal tracking
371
371
372
-
The old portal (`dfinity/portal`) is still live during the transition period.
-**Flag for rewrite:** Content updates to topics we cover
375
-
-**Evaluate:** New content — does it belong in the new docs?
372
+
The old portal (`dfinity/portal`) has been replaced by this site. The `.sources/portal` submodule is kept as a read-only reference for spec content (see `ic.did` sync checklist above) but no longer needs active monitoring for content changes.
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,14 @@
1
1
# ICP Developer Docs
2
2
3
-
Developer documentation for the [Internet Computer](https://internetcomputer.org) — built with [Astro](https://astro.build) + [Starlight](https://starlight.astro.build), deployed at [beta-docs.internetcomputer.org](https://beta-docs.internetcomputer.org).
3
+
Developer documentation for the [Internet Computer](https://internetcomputer.org) — built with [Astro](https://astro.build) + [Starlight](https://starlight.astro.build), deployed at [docs.internetcomputer.org](https://docs.internetcomputer.org).
4
4
5
5
## Background
6
6
7
-
The existing ICP docs live at [internetcomputer.org/docs](https://internetcomputer.org/docs), sourced from [dfinity/portal](https://github.com/dfinity/portal) (Docusaurus). That site accumulated content over years without a consistent information architecture, making it hard to navigate and harder to keep accurate.
8
-
9
-
This repo is a ground-up rewrite: a flat Diataxis structure (Getting Started, Guides, Concepts, Languages, Reference), content verified against pinned upstream repos, and a workflow built for both human contributors and AI coding agents from day one.
7
+
This repo is a ground-up rewrite of the ICP developer docs: a flat Diataxis structure (Getting Started, Guides, Concepts, Languages, Reference), content verified against pinned upstream repos, and a workflow built for both human contributors and AI coding agents from day one. It replaces the previous [dfinity/portal](https://github.com/dfinity/portal) (Docusaurus) site.
10
8
11
9
## Current state
12
10
13
-
Most pages are content-complete. A small number of pages remain as stubs (vetkeys, encryption). The existing production docs remain live during the transition.
11
+
Most pages are content-complete. A small number of pages remain as stubs (vetkeys, encryption).
0 commit comments