@ox-content/napi 3.0.0-beta.0 → 3.0.0-beta.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 (3) hide show
  1. package/index.d.ts +3 -0
  2. package/index.js +1 -0
  3. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -216,6 +216,9 @@ export declare function generateSsgBarePage(page: JsSsgBarePage): string
216
216
  /** Generates SSG HTML page with navigation and search. */
217
217
  export declare function generateSsgHtml(pageData: JsSsgPageData, navGroups: Array<JsSsgNavGroup>, config: JsSsgConfig): JsSsgHtmlResult
218
218
 
219
+ /** Generates multiple themed SSG HTML pages while sharing navigation/config conversion. */
220
+ export declare function generateSsgHtmlPages(pageDatas: Array<JsSsgPageData>, navGroups: Array<JsSsgNavGroup>, config: JsSsgConfig): Array<JsSsgHtmlResult>
221
+
219
222
  /** Returns unique git authors for a file. Empty when git is missing or fails. */
220
223
  export declare function getGitContributors(filePath: string, root?: string | undefined | null): Array<JsGitContributor>
221
224
 
package/index.js CHANGED
@@ -214,6 +214,7 @@ module.exports.generateSearchModuleFromOptions = binding.generateSearchModuleFro
214
214
  module.exports.collectSearchMarkdownFiles = binding.collectSearchMarkdownFiles;
215
215
  module.exports.normalizeVitePressFrontmatter = binding.normalizeVitePressFrontmatter;
216
216
  module.exports.generateSsgHtml = binding.generateSsgHtml;
217
+ module.exports.generateSsgHtmlPages = binding.generateSsgHtmlPages;
217
218
  module.exports.renderHead = binding.renderHead;
218
219
  module.exports.applySsgReaderChromeHtml = binding.applySsgReaderChromeHtml;
219
220
  module.exports.getSsgReaderChromeCss = binding.getSsgReaderChromeCss;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ox-content/napi",
3
- "version": "3.0.0-beta.0",
3
+ "version": "3.0.0-beta.1",
4
4
  "description": "Node.js bindings for Ox Content - High-performance Markdown parser",
5
5
  "keywords": [
6
6
  "markdown",
@@ -47,12 +47,12 @@
47
47
  ]
48
48
  },
49
49
  "optionalDependencies": {
50
- "@ox-content/binding-darwin-x64": "3.0.0-beta.0",
51
- "@ox-content/binding-darwin-arm64": "3.0.0-beta.0",
52
- "@ox-content/binding-linux-x64-gnu": "3.0.0-beta.0",
53
- "@ox-content/binding-linux-x64-musl": "3.0.0-beta.0",
54
- "@ox-content/binding-linux-arm64-gnu": "3.0.0-beta.0",
55
- "@ox-content/binding-linux-arm64-musl": "3.0.0-beta.0",
56
- "@ox-content/binding-win32-x64-msvc": "3.0.0-beta.0"
50
+ "@ox-content/binding-darwin-x64": "3.0.0-beta.1",
51
+ "@ox-content/binding-darwin-arm64": "3.0.0-beta.1",
52
+ "@ox-content/binding-linux-x64-gnu": "3.0.0-beta.1",
53
+ "@ox-content/binding-linux-x64-musl": "3.0.0-beta.1",
54
+ "@ox-content/binding-linux-arm64-gnu": "3.0.0-beta.1",
55
+ "@ox-content/binding-linux-arm64-musl": "3.0.0-beta.1",
56
+ "@ox-content/binding-win32-x64-msvc": "3.0.0-beta.1"
57
57
  }
58
58
  }