@conduction/docusaurus-preset 3.6.0 → 3.6.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/docusaurus-preset",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "scripts": {
5
5
  "prepack": "node scripts/prepack-bundle-css.js"
6
6
  },
package/src/index.js CHANGED
@@ -232,9 +232,11 @@ function buildAiHeadTags(opts) {
232
232
  *
233
233
  * Sites with locale-specific tag pages and pagination should keep the
234
234
  * exclude list in sync. Pagination (`/page/N/`) and tag pages
235
- * (`/tags/*/`) are documented Docusaurus duplicate-content traps;
235
+ * (`/tags/{slug}/`) are documented Docusaurus duplicate-content traps;
236
236
  * we exclude them by default so they neither dilute crawl budget nor
237
- * confuse AI summarisers.
237
+ * confuse AI summarisers. (Do not write `/tags/*` followed by a slash
238
+ * in this comment: the literal asterisk-slash sequence would close
239
+ * the JSDoc block and break preset parsing for every consuming site.)
238
240
  */
239
241
  const DEFAULT_SITEMAP_OPTIONS = {
240
242
  changefreq: null,