@knowcode/doc-builder 1.4.3 → 1.4.4
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/.claude/settings.local.json +15 -0
- package/CHANGELOG.md +7 -0
- package/CLAUDE.md +317 -0
- package/html/README.html +101 -0
- package/html/css/notion-style.css +1914 -0
- package/html/index.html +101 -0
- package/html/js/auth.js +67 -0
- package/html/js/main.js +1331 -0
- package/knowcode-doc-builder-1.4.4.tgz +0 -0
- package/lib/core-builder.js +5 -1
- package/package.json +1 -1
- package/screenshot.png +0 -0
|
Binary file
|
package/lib/core-builder.js
CHANGED
|
@@ -94,6 +94,10 @@ function generateHTML(title, content, navigation, currentPath = '', config = {})
|
|
|
94
94
|
const siteName = config.siteName || 'Documentation';
|
|
95
95
|
const siteDescription = config.siteDescription || 'Documentation site';
|
|
96
96
|
|
|
97
|
+
// Get doc-builder version from package.json
|
|
98
|
+
const packageJson = require('../package.json');
|
|
99
|
+
const docBuilderVersion = packageJson.version;
|
|
100
|
+
|
|
97
101
|
return `<!DOCTYPE html>
|
|
98
102
|
<html lang="en">
|
|
99
103
|
<head>
|
|
@@ -126,7 +130,7 @@ function generateHTML(title, content, navigation, currentPath = '', config = {})
|
|
|
126
130
|
|
|
127
131
|
<div class="header-actions">
|
|
128
132
|
<div class="deployment-info">
|
|
129
|
-
<span class="deployment-date">Last updated: ${new Date().toLocaleDateString('en-US', {
|
|
133
|
+
<span class="deployment-date" title="Built with doc-builder v${docBuilderVersion}">Last updated: ${new Date().toLocaleDateString('en-US', {
|
|
130
134
|
year: 'numeric',
|
|
131
135
|
month: 'short',
|
|
132
136
|
day: 'numeric',
|
package/package.json
CHANGED
package/screenshot.png
ADDED
|
Binary file
|