freestruct 1.1.0 → 1.2.0
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.
- package/README.md +111 -189
- package/engine/audit.js +168 -36
- package/engine/config.js +1 -0
- package/engine/hooks.js +15 -7
- package/engine/indexnow.js +11 -2
- package/engine/inject.js +113 -43
- package/engine/linkcheck.js +38 -6
- package/engine/llms.js +12 -1
- package/engine/notfound.js +21 -5
- package/engine/scan.js +135 -9
- package/engine/search.js +12 -9
- package/engine/seo.js +347 -71
- package/engine/xmllike.js +7 -4
- package/init/README.md +6 -20
- package/init/VERSION +1 -1
- package/init/docs/freestruct.config.yml +16 -0
- package/package.json +6 -2
|
@@ -7,6 +7,22 @@ site:
|
|
|
7
7
|
url: https://example.com/docs
|
|
8
8
|
description: My documentation
|
|
9
9
|
|
|
10
|
+
# Family JSON-LD identity (owner standard): the founder ships as a schema.org
|
|
11
|
+
# Person under "founder" on the injected Organization block, and a maintainer
|
|
12
|
+
# Person is appended after the built-in Organization + WebSite blocks
|
|
13
|
+
# (missing-only, so pages that arrive with their own ld+json stay untouched).
|
|
14
|
+
# Fill in the maintainer handle for your repo; the author block is the family
|
|
15
|
+
# default and needs no edit.
|
|
16
|
+
author:
|
|
17
|
+
name: Creadev.org
|
|
18
|
+
url: https://creadev.org
|
|
19
|
+
|
|
20
|
+
jsonLd:
|
|
21
|
+
- "@type": Person
|
|
22
|
+
name: your-github-handle
|
|
23
|
+
url: https://github.com/your-github-handle
|
|
24
|
+
jobTitle: My Docs maintainer
|
|
25
|
+
|
|
10
26
|
# The rest is optional; see the README Configuration table for the list.
|
|
11
27
|
# basePath: /project-docs # when the output tree is served under a prefix
|
|
12
28
|
# searchIndex: true # opt-in: generate search.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "freestruct",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Post-build SEO layer for static doc sites - works with any SSG",
|
|
5
5
|
"homepage": "https://github.com/dhaupin/freestruct#readme",
|
|
6
6
|
"bugs": "https://github.com/dhaupin/freestruct/issues",
|
|
@@ -31,7 +31,11 @@
|
|
|
31
31
|
"test": "node test/run.js",
|
|
32
32
|
"e2e": "node scripts/e2e-install.cjs",
|
|
33
33
|
"lint:docs": "node scripts/run-docs-audit.cjs",
|
|
34
|
-
"
|
|
34
|
+
"lint:claims": "node scripts/check-fiction-signatures.cjs",
|
|
35
|
+
"packs:selftest": "node scripts/packs-selftest.cjs",
|
|
36
|
+
"check": "npm test && npm run lint:docs && npm run lint:claims && npm run packs:selftest",
|
|
37
|
+
"gate": "npm run sync:check && npm run check",
|
|
38
|
+
"prepublishOnly": "npm run gate"
|
|
35
39
|
},
|
|
36
40
|
"repository": {
|
|
37
41
|
"type": "git",
|