dogsbay 0.2.0-beta.44 → 0.2.0-beta.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -146,8 +146,19 @@ export const sitemapComplete = {
146
146
  // Map each html file to its likely "page URL" form. Astro
147
147
  // emits `docs/intro/index.html` for the URL `/docs/intro/`,
148
148
  // so we strip `/index.html` and ensure a leading slash.
149
+ //
150
+ // Skip pages with `<meta name="robots" content="noindex">`.
151
+ // The sitemap emitter intentionally excludes those (per the
152
+ // platform contract documented in reference/frontmatter.md
153
+ // and `packages/format-astro/src/sitemap.ts` isExcluded), so
154
+ // flagging them as "missing" would tell users to fix something
155
+ // that's working as intended. The auto-emitted taxonomy index
156
+ // pages (/tags/, /by-audience/, …) all ship with noindex.
149
157
  const issues = [];
150
158
  for (const f of allFiles) {
159
+ const robots = f.$('meta[name="robots"]').attr("content") ?? "";
160
+ if (/\bnoindex\b/i.test(robots))
161
+ continue;
151
162
  const expectedPath = htmlPathToUrlPath(f.path);
152
163
  const found = pathListedInSitemap(expectedPath, state.sitemapLocs, urlBase);
153
164
  if (!found) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dogsbay",
3
- "version": "0.2.0-beta.44",
3
+ "version": "0.2.0-beta.45",
4
4
  "description": "CLI for Dogsbay — scaffold, build, and serve documentation sites with markdown / MkDocs / Obsidian / OpenAPI sources",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,15 +32,15 @@
32
32
  "picocolors": "^1.1.0",
33
33
  "prompts": "^2.4.2",
34
34
  "yaml": "^2.8.3",
35
- "@dogsbay/autodoc-python": "0.2.0-beta.44",
36
- "@dogsbay/format-mkdocs": "0.2.0-beta.44",
37
- "@dogsbay/format-astro": "0.2.0-beta.44",
38
- "@dogsbay/format-obsidian": "0.2.0-beta.44",
39
- "@dogsbay/format-mdx": "0.2.0-beta.44",
40
- "@dogsbay/format-starlight": "0.2.0-beta.44",
41
- "@dogsbay/format-dogsbay-md": "0.2.0-beta.44",
42
- "@dogsbay/format-openapi": "0.2.0-beta.44",
43
- "@dogsbay/types": "0.2.0-beta.44"
35
+ "@dogsbay/autodoc-python": "0.2.0-beta.45",
36
+ "@dogsbay/format-astro": "0.2.0-beta.45",
37
+ "@dogsbay/format-mkdocs": "0.2.0-beta.45",
38
+ "@dogsbay/format-obsidian": "0.2.0-beta.45",
39
+ "@dogsbay/format-starlight": "0.2.0-beta.45",
40
+ "@dogsbay/format-mdx": "0.2.0-beta.45",
41
+ "@dogsbay/format-dogsbay-md": "0.2.0-beta.45",
42
+ "@dogsbay/format-openapi": "0.2.0-beta.45",
43
+ "@dogsbay/types": "0.2.0-beta.45"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/markdown-it": "^14.1.0",