Commit e8c5f32
committed
feat(docs): sitemap for all rule pages + dashboard CTA on every rule page
Two SEO/growth changes on docs.the-doctor.report.
Sitemap: docs.the-doctor.report/sitemap.xml was 404, so Google had no efficient
way to discover the 105 generated rule pages — the entire programmatic-SEO
surface was invisible. Added @nuxtjs/sitemap + @nuxtjs/robots. The @nuxt/content
v3 integration is NOT automatic: the collection must opt in via
`sitemap: defineSitemapSchema()` from '@nuxtjs/sitemap/content', and
@nuxtjs/sitemap must load BEFORE @nuxt/content (verified against the installed
8.2.2 package, not assumed). Sitemap now enumerates 111 URLs incl. all 105 rule
pages (was 0), verified via a local worker.
CTA: each generated rule page now ends with a callout linking to
app.the-doctor.report (utm_source=docs&utm_medium=rule-page&utm_campaign=
rule-cta) — 103 long-tail rule pages become 103 conversion funnels to the
hosted dashboard. Wired into the codegen template so it stays in sync with the
registry.
Reverted 16 files of docs-local oxfmt-0.55 churn (the standalone oxfmt disagrees
with the root vp fmt that CI actually gates on) — diff is scoped to the 4
functional files. Gate: oxlint 0, eslint 0, build 0, sitemap + CTA both live-
verified.
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>1 parent 2439c80 commit e8c5f32
5 files changed
Lines changed: 247 additions & 15 deletions
File tree
- apps/docs
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
0 commit comments