Skip to content

Improve AdSense page eligibility - #296

Merged
mister-teddy merged 1 commit into
mainfrom
codex/adsense-readiness
Jul 20, 2026
Merged

mister-teddy merged 1 commit into
mainfrom
codex/adsense-readiness

Conversation

@mister-teddy

Copy link
Copy Markdown
Contributor

Summary

  • Add noindex and suppress AdSense metadata/scripts for generated blog archive, author, and tag pages.
  • Fix the thin-page route list to use Docusaurus' published Android storage URL and add the thin EGL context troubleshooting page.
  • Exclude generated blog listing pages from the sitemap.

Why

AdSense can review pages beyond the signup URL. A few low-original-content pages were still exposed with AdSense metadata, including generated tag/archive pages and a thin doc page whose exclusion used the source filename path instead of its published route.

Impact

Original guide, docs, blog, and home content can still carry AdSense metadata. Thin/generated pages are now lower-risk because they are marked noindex, omitted from the sitemap, and do not load the AdSense script.

Validation

  • pnpm build
  • Verified built HTML for /docs/user/android-storage, /docs/developer/bug-cheat-sheet/egl-context, /blog/tags, /blog/archive, and /blog/authors has noindex and no AdSense script.
  • Verified built sitemap no longer lists the excluded generated/thin URLs.

Note: pnpm typecheck still fails on existing Docusaurus/theme typing issues unrelated to this patch.

@mister-teddy
mister-teddy force-pushed the codex/adsense-readiness branch from 1e01731 to f8521e8 Compare July 20, 2026 20:32
@mister-teddy
mister-teddy marked this pull request as ready for review July 20, 2026 20:34
@mister-teddy
mister-teddy merged commit fe3607c into main Jul 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant