@knowcode/doc-builder 1.5.3 → 1.5.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/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ All notable changes to @knowcode/doc-builder will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.5.4] - 2025-07-22
9
+
10
+ ### Added
11
+ - New CLI command `google-verify` to add Google site verification meta tags
12
+ - Support for custom meta tags in the SEO configuration
13
+ - Comprehensive guide for Google Search Console verification
14
+ - Ability to update existing verification codes
15
+
16
+ ### Changed
17
+ - Extended `generateMetaTags` function to support custom meta tags
18
+ - Updated config structure to include `seo.customMetaTags` array
19
+
20
+ ### Features
21
+ - Run `doc-builder google-verify YOUR_CODE` to add verification
22
+ - Verification meta tag automatically added to all generated pages
23
+ - Support for multiple custom meta tags (Google, Bing, Yandex, etc.)
24
+ - Safe to commit verification codes to repositories
25
+
8
26
  ## [1.5.3] - 2025-07-22
9
27
 
10
28
  ### Fixed
package/README.md CHANGED
@@ -4,17 +4,11 @@ Beautiful documentation with the least effort possible. A zero-configuration doc
4
4
 
5
5
  🔗 **[View Live Example](https://doc-builder-delta.vercel.app)** - See what your documentation will look like!
6
6
 
7
- ## Recent Documentation Updates (Last 14 Days)
8
-
9
- ### 🚀 System & Deployment (docs:)
10
- - 🔄 **UPDATE**: [Claude + CLAUDE.md Documentation Workflow Guide](docs/claude-workflow-guide.md) - Documentation updates and improvements
11
- - 🔄 **MAJOR UPDATE**: [Documentation Index](docs/documentation-index.md) - Significant updates with enhanced functionality and coverage
12
- - 🔄 **MAJOR UPDATE**: [Document Standards for @knowcode/doc-builder](docs/guides/DOCUMENT-STANDARDS.md) - Significant updates with enhanced functionality and coverage
13
- - 🔄 **UPDATE**: [@knowcode/doc-builder](docs/README.md) - Documentation updates and improvements
14
- - 🔄 **UPDATE**: [Document Standards for @knowcode/doc-builder](docs/guides/document-standards.md) - Documentation updates and improvements
15
-
16
- **Total Changes**: 0+ new documents, 5+ updates and improvements across 5 files
7
+ ## TL:DR
17
8
 
9
+ ```
10
+ npx @knowcode/doc-builder deploy
11
+ ```
18
12
 
19
13
  ## Why This Project Exists
20
14
 
@@ -28,7 +22,7 @@ The main premise of @knowcode/doc-builder is simple: **create beautiful document
28
22
  - **Converts** markdown to HTML with syntax highlighting and diagram support
29
23
  - **Styles** everything with a clean, Notion-inspired theme
30
24
  - **Deploys** to Vercel with a single command - leveraging their generous free tier
31
- - **Provides** optional features like authentication, dark mode, and changelog generation
25
+ - **Provides** optional features like authentication, dark mode, and changelog generation, SEO
32
26
 
33
27
  Perfect for project documentation, API references, knowledge bases, or any content written in markdown.
34
28
 
@@ -106,7 +100,7 @@ After deployment, go to your Vercel dashboard:
106
100
  3. Set to **Disabled** for public access
107
101
  4. Or configure authentication for private docs
108
102
 
109
- ## Configuration
103
+ ## Configuration (optional - can be managed with CLI)
110
104
 
111
105
  Create `doc-builder.config.js` in your project root:
112
106
 
@@ -168,7 +162,7 @@ This wizard helps you set up:
168
162
 
169
163
  See the [SEO Guide](docs/guides/seo-guide.md) for complete details.
170
164
 
171
- ### build
165
+ ### build (defaults will work just fine)
172
166
  Build the documentation site to static HTML:
173
167
  ```bash
174
168
  doc-builder build [options]
@@ -189,23 +183,6 @@ Examples:
189
183
  doc-builder build --config my-config.js # Use custom config
190
184
  ```
191
185
 
192
- ### dev
193
- Start development server with live reload:
194
- ```bash
195
- doc-builder dev [options]
196
-
197
- Options:
198
- -c, --config <path> Path to config file (default: "doc-builder.config.js")
199
- -p, --port <port> Port to run dev server on (default: 3000)
200
- -h, --host <host> Host to bind to (default: localhost)
201
- --no-open Don't open browser automatically
202
-
203
- Examples:
204
- doc-builder dev # Start on http://localhost:3000
205
- doc-builder dev --port 8080 # Use custom port
206
- doc-builder dev --host 0.0.0.0 # Allow external connections
207
- ```
208
-
209
186
  ### deploy
210
187
  Deploy documentation to Vercel (requires Vercel CLI):
211
188
  ```bash
package/cli.js CHANGED
@@ -118,6 +118,79 @@ ${chalk.yellow('Examples:')}
118
118
  }
119
119
  });
120
120
 
121
+ // Google Site Verification command
122
+ program
123
+ .command('google-verify <verification-code>')
124
+ .description('Add Google site verification meta tag to all pages')
125
+ .option('-c, --config <path>', 'path to config file (default: doc-builder.config.js)')
126
+ .addHelpText('after', `
127
+ ${chalk.yellow('Examples:')}
128
+ ${chalk.gray('$')} doc-builder google-verify FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ
129
+ ${chalk.gray('$')} doc-builder google-verify YOUR_VERIFICATION_CODE
130
+
131
+ ${chalk.yellow('This will add the Google site verification meta tag to all generated HTML pages.')}
132
+ ${chalk.yellow('Get your verification code from Google Search Console.')}
133
+ `)
134
+ .action(async (verificationCode, options) => {
135
+ try {
136
+ const configPath = path.join(process.cwd(), options.config || 'doc-builder.config.js');
137
+ let config;
138
+
139
+ if (fs.existsSync(configPath)) {
140
+ // Load existing config
141
+ delete require.cache[require.resolve(configPath)];
142
+ config = require(configPath);
143
+ } else {
144
+ console.log(chalk.yellow('⚠️ No config file found. Creating one...'));
145
+ await createDefaultConfig();
146
+ config = require(configPath);
147
+ }
148
+
149
+ // Ensure SEO section exists
150
+ if (!config.seo) {
151
+ config.seo = {
152
+ enabled: true,
153
+ customMetaTags: []
154
+ };
155
+ }
156
+
157
+ if (!config.seo.customMetaTags) {
158
+ config.seo.customMetaTags = [];
159
+ }
160
+
161
+ // Check if Google verification already exists
162
+ const googleVerifyIndex = config.seo.customMetaTags.findIndex(tag =>
163
+ tag.name === 'google-site-verification'
164
+ );
165
+
166
+ const newTag = {
167
+ name: 'google-site-verification',
168
+ content: verificationCode
169
+ };
170
+
171
+ if (googleVerifyIndex >= 0) {
172
+ // Update existing
173
+ config.seo.customMetaTags[googleVerifyIndex] = newTag;
174
+ console.log(chalk.green(`✅ Updated Google site verification code`));
175
+ } else {
176
+ // Add new
177
+ config.seo.customMetaTags.push(newTag);
178
+ console.log(chalk.green(`✅ Added Google site verification code`));
179
+ }
180
+
181
+ // Write updated config
182
+ const configContent = `module.exports = ${JSON.stringify(config, null, 2)};\n`;
183
+ fs.writeFileSync(configPath, configContent);
184
+
185
+ console.log(chalk.gray(`\nThe following meta tag will be added to all pages:`));
186
+ console.log(chalk.cyan(`<meta name="google-site-verification" content="${verificationCode}" />`));
187
+ console.log(chalk.gray(`\nRun ${chalk.cyan('doc-builder build')} to regenerate your documentation.`));
188
+ } catch (error) {
189
+ console.error(chalk.red('Failed to add Google verification:'), error.message);
190
+ process.exit(1);
191
+ }
192
+ });
193
+
121
194
  // Set Production URL command
122
195
  program
123
196
  .command('set-production-url <url>')
@@ -29,6 +29,12 @@ module.exports = {
29
29
  "organization": {
30
30
  "name": "Knowcode Ltd",
31
31
  "url": "https://knowcode.tech"
32
- }
32
+ },
33
+ "customMetaTags": [
34
+ {
35
+ "name": "google-site-verification",
36
+ "content": "FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ"
37
+ }
38
+ ]
33
39
  }
34
40
  };
package/html/README.html CHANGED
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="@knowcode/doc-builder.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.255Z",
62
- "dateModified": "2025-07-22T06:01:14.255Z",
64
+ "datePublished": "2025-07-22T06:56:56.764Z",
65
+ "dateModified": "2025-07-22T06:56:56.764Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/README.html"
@@ -92,7 +95,7 @@
92
95
 
93
96
  <div class="header-actions">
94
97
  <div class="deployment-info">
95
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
98
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
96
99
  </div>
97
100
 
98
101
 
@@ -153,6 +156,7 @@
153
156
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
154
157
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
155
158
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
159
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
156
160
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
157
161
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
158
162
  </nav>
@@ -954,19 +954,39 @@ tr:hover {
954
954
 
955
955
  /* Hide sidebar on mobile */
956
956
  .sidebar {
957
- position: absolute;
957
+ position: fixed;
958
958
  top: calc(var(--header-height) + var(--breadcrumb-height));
959
959
  left: 0;
960
960
  height: calc(100vh - var(--header-height) - var(--breadcrumb-height));
961
- z-index: 999;
961
+ z-index: 1002; /* Above header and floating button */
962
962
  transform: translateX(-100%);
963
963
  transition: transform var(--duration-normal) var(--easing-out);
964
+ box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15); /* Add shadow for depth */
964
965
  }
965
966
 
966
967
  .sidebar.open {
967
968
  transform: translateX(0);
968
969
  }
969
970
 
971
+ /* Mobile menu overlay */
972
+ .sidebar-overlay {
973
+ display: none;
974
+ position: fixed;
975
+ top: 0;
976
+ left: 0;
977
+ right: 0;
978
+ bottom: 0;
979
+ background: rgba(0, 0, 0, 0.5);
980
+ z-index: 1001; /* Below sidebar but above content */
981
+ opacity: 0;
982
+ transition: opacity var(--duration-normal);
983
+ }
984
+
985
+ .sidebar-overlay.active {
986
+ display: block;
987
+ opacity: 1;
988
+ }
989
+
970
990
  .main-wrapper {
971
991
  margin-left: 0;
972
992
  margin-top: var(--header-height); /* Only account for fixed header on mobile */
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Documentation Index.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.265Z",
62
- "dateModified": "2025-07-22T06:01:14.265Z",
64
+ "datePublished": "2025-07-22T06:56:56.775Z",
65
+ "dateModified": "2025-07-22T06:56:56.775Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/documentation-index.html"
@@ -92,7 +95,7 @@
92
95
 
93
96
  <div class="header-actions">
94
97
  <div class="deployment-info">
95
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
98
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
96
99
  </div>
97
100
 
98
101
 
@@ -153,6 +156,7 @@
153
156
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
154
157
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
155
158
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
159
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
156
160
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
157
161
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
158
162
  </nav>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Authentication Guide for @knowcode/doc-builder.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.269Z",
62
- "dateModified": "2025-07-22T06:01:14.269Z",
64
+ "datePublished": "2025-07-22T06:56:56.778Z",
65
+ "dateModified": "2025-07-22T06:56:56.778Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/guides/authentication-guide.html"
@@ -98,7 +101,7 @@
98
101
 
99
102
  <div class="header-actions">
100
103
  <div class="deployment-info">
101
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
104
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
102
105
  </div>
103
106
 
104
107
 
@@ -159,6 +162,7 @@
159
162
  <a href="/guides/authentication-guide.html" class="nav-item active" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
160
163
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
161
164
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
165
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
162
166
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
163
167
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
164
168
  </nav>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Claude + CLAUDE.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.275Z",
62
- "dateModified": "2025-07-22T06:01:14.275Z",
64
+ "datePublished": "2025-07-22T06:56:56.781Z",
65
+ "dateModified": "2025-07-22T06:56:56.781Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/guides/claude-workflow-guide.html"
@@ -98,7 +101,7 @@
98
101
 
99
102
  <div class="header-actions">
100
103
  <div class="deployment-info">
101
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
104
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
102
105
  </div>
103
106
 
104
107
 
@@ -159,6 +162,7 @@
159
162
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
160
163
  <a href="/guides/claude-workflow-guide.html" class="nav-item active" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
161
164
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
165
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
162
166
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
163
167
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
164
168
  </nav>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Document Standards for @knowcode/doc-builder.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.283Z",
62
- "dateModified": "2025-07-22T06:01:14.283Z",
64
+ "datePublished": "2025-07-22T06:56:56.784Z",
65
+ "dateModified": "2025-07-22T06:56:56.784Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/guides/documentation-standards.html"
@@ -98,7 +101,7 @@
98
101
 
99
102
  <div class="header-actions">
100
103
  <div class="deployment-info">
101
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
104
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
102
105
  </div>
103
106
 
104
107
 
@@ -159,6 +162,7 @@
159
162
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
160
163
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
161
164
  <a href="/guides/documentation-standards.html" class="nav-item active" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
165
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
162
166
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
163
167
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
164
168
  </nav>
@@ -0,0 +1,338 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="Google Site Verification Guide.">
7
+ <title>Google Site Verification Guide - Doc Builder</title>
8
+
9
+ <meta name="author" content="Lindsay Smith">
10
+ <meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, your, verification, search, google, site">
11
+ <meta name="robots" content="index, follow">
12
+ <link rel="canonical" href="https://doc-builder-delta.vercel.app/guides/google-site-verification-guide.html">
13
+
14
+ <!-- Open Graph / Facebook -->
15
+ <meta property="og:type" content="article">
16
+ <meta property="og:url" content="https://doc-builder-delta.vercel.app/guides/google-site-verification-guide.html">
17
+ <meta property="og:title" content="Google Site Verification Guide - Doc Builder">
18
+ <meta property="og:description" content="Google Site Verification Guide.">
19
+ <meta property="og:image" content="https://doc-builder-delta.vercel.app/og-default.png">
20
+ <meta property="og:site_name" content="Doc Builder">
21
+ <meta property="og:locale" content="en_US">
22
+
23
+ <!-- Twitter Card -->
24
+ <meta name="twitter:card" content="summary_large_image">
25
+ <meta name="twitter:site" content="@planbbackups">
26
+ <meta name="twitter:creator" content="@planbbackups">
27
+ <meta name="twitter:title" content="Google Site Verification Guide - Doc Builder">
28
+ <meta name="twitter:description" content="Google Site Verification Guide.">
29
+ <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
+
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
34
+ <!-- Fonts -->
35
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
36
+
37
+ <!-- Icons -->
38
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
39
+
40
+ <!-- Mermaid -->
41
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
42
+
43
+ <!-- Styles -->
44
+ <link rel="stylesheet" href="/css/notion-style.css">
45
+
46
+ <!-- Favicon -->
47
+ <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📚</text></svg>">
48
+
49
+ <script type="application/ld+json">
50
+ {
51
+ "@context": "https://schema.org",
52
+ "@type": "TechArticle",
53
+ "headline": "Google Site Verification Guide",
54
+ "description": "Google Site Verification Guide.",
55
+ "author": {
56
+ "@type": "Person",
57
+ "name": "Lindsay Smith"
58
+ },
59
+ "publisher": {
60
+ "@type": "Organization",
61
+ "name": "Knowcode Ltd",
62
+ "url": "https://knowcode.tech"
63
+ },
64
+ "datePublished": "2025-07-22T06:56:56.790Z",
65
+ "dateModified": "2025-07-22T06:56:56.790Z",
66
+ "mainEntityOfPage": {
67
+ "@type": "WebPage",
68
+ "@id": "https://doc-builder-delta.vercel.app/guides/google-site-verification-guide.html"
69
+ },
70
+ "breadcrumb": {
71
+ "@type": "BreadcrumbList",
72
+ "itemListElement": [
73
+ {
74
+ "@type": "ListItem",
75
+ "position": 1,
76
+ "name": "Doc Builder",
77
+ "item": "https://doc-builder-delta.vercel.app"
78
+ },
79
+ {
80
+ "@type": "ListItem",
81
+ "position": 2,
82
+ "name": "Guides",
83
+ "item": "https://doc-builder-delta.vercel.app/guides/"
84
+ },
85
+ {
86
+ "@type": "ListItem",
87
+ "position": 3,
88
+ "name": "Google Site Verification Guide",
89
+ "item": "https://doc-builder-delta.vercel.app/guides/google-site-verification-guide.html"
90
+ }
91
+ ]
92
+ }
93
+ }
94
+ </script>
95
+ </head>
96
+ <body>
97
+ <!-- Header -->
98
+ <header class="header">
99
+ <div class="header-content">
100
+ <a href="/index.html" class="logo">Doc Builder</a>
101
+
102
+ <div class="header-actions">
103
+ <div class="deployment-info">
104
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
105
+ </div>
106
+
107
+
108
+
109
+ <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
110
+ <i class="fas fa-moon"></i>
111
+ </button>
112
+
113
+ <button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
114
+ <i class="fas fa-bars"></i>
115
+ </button>
116
+ </div>
117
+ </div>
118
+ </header>
119
+
120
+ <!-- Preview Banner -->
121
+ <div id="preview-banner" class="preview-banner">
122
+ <div class="banner-content">
123
+ <i class="fas fa-exclamation-triangle banner-icon"></i>
124
+ <span class="banner-text">This documentation is a preview version - some content may be incomplete</span>
125
+ <button id="dismiss-banner" class="banner-dismiss" aria-label="Dismiss banner">
126
+ <i class="fas fa-times"></i>
127
+ </button>
128
+ </div>
129
+ </div>
130
+
131
+ <!-- Breadcrumbs -->
132
+ <nav class="breadcrumbs" id="breadcrumbs">
133
+ <!-- Breadcrumbs will be generated by JavaScript -->
134
+ </nav>
135
+
136
+ <!-- Main Content -->
137
+ <div class="main-wrapper">
138
+ <!-- Sidebar -->
139
+ <aside class="sidebar">
140
+ <div class="sidebar-header">
141
+ <div class="filter-box">
142
+ <input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
143
+ <i class="fas fa-search filter-icon"></i>
144
+ </div>
145
+ </div>
146
+ <nav class="navigation">
147
+
148
+ <div class="nav-section" data-level="0">
149
+ <a class="nav-title" href="/README.html" >
150
+ <i class="fas fa-home"></i> Documentation
151
+ </a>
152
+ <div class="nav-content" >
153
+ <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
154
+ <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
155
+ <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing and configuring the Vercel CLI across different operating systems and environments."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
156
+ <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide provides a detailed explanation of every prompt you&#039;ll encounter during the first-time Vercel setup process when using."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
157
+ <div class="nav-section" data-level="1">
158
+ <a class="nav-title collapsible expanded" href="#" data-target="nav-guides-1" >
159
+ <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Guides
160
+ </a>
161
+ <div class="nav-content" id="nav-guides-1">
162
+ <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
163
+ <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
164
+ <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
165
+ <a href="/guides/google-site-verification-guide.html" class="nav-item active" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
166
+ <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
167
+ <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
168
+ </nav>
169
+ <div class="resize-handle"></div>
170
+ </aside>
171
+
172
+ <!-- Content Area -->
173
+ <main class="content">
174
+ <div class="content-inner">
175
+ <h1>Google Site Verification Guide</h1>
176
+ <p>This guide explains how to verify your documentation site with Google Search Console using @knowcode/doc-builder.</p>
177
+ <h2>Overview</h2>
178
+ <p>Google Search Console verification allows you to:</p>
179
+ <ul>
180
+ <li>Monitor your site&#39;s performance in Google Search</li>
181
+ <li>Submit sitemaps for better indexing</li>
182
+ <li>View search analytics and keywords</li>
183
+ <li>Identify and fix crawl errors</li>
184
+ <li>Receive alerts about site issues</li>
185
+ </ul>
186
+ <h2>Prerequisites</h2>
187
+ <ul>
188
+ <li>@knowcode/doc-builder v1.5.4 or higher</li>
189
+ <li>Access to Google Search Console</li>
190
+ <li>A deployed documentation site</li>
191
+ </ul>
192
+ <h2>Step 1: Get Your Verification Code</h2>
193
+ <ol>
194
+ <li>Go to <a href="https://search.google.com/search-console">Google Search Console</a></li>
195
+ <li>Click &quot;Add property&quot; and enter your documentation site URL</li>
196
+ <li>Choose the &quot;HTML tag&quot; verification method</li>
197
+ <li>Copy the verification code from the meta tag:<pre><code class="language-html">&lt;meta name=&quot;google-site-verification&quot; content=&quot;YOUR_VERIFICATION_CODE&quot; /&gt;
198
+ </code></pre>
199
+ </li>
200
+ <li>You only need the content value (e.g., <code>FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ</code>)</li>
201
+ </ol>
202
+ <h2>Step 2: Add Verification to Your Site</h2>
203
+ <p>Use the doc-builder CLI to add the verification meta tag:</p>
204
+ <pre><code class="language-bash">doc-builder google-verify YOUR_VERIFICATION_CODE
205
+ </code></pre>
206
+ <p>Example:</p>
207
+ <pre><code class="language-bash">doc-builder google-verify FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ
208
+ </code></pre>
209
+ <p>This command will:</p>
210
+ <ul>
211
+ <li>Update your <code>doc-builder.config.js</code> file</li>
212
+ <li>Add the verification meta tag to the SEO configuration</li>
213
+ <li>Show confirmation of the added tag</li>
214
+ </ul>
215
+ <h2>Step 3: Rebuild and Deploy</h2>
216
+ <p>After adding the verification code, rebuild and deploy your documentation:</p>
217
+ <pre><code class="language-bash"># Rebuild the documentation
218
+ doc-builder build
219
+
220
+ # Deploy to production
221
+ doc-builder deploy
222
+ </code></pre>
223
+ <h2>Step 4: Complete Verification</h2>
224
+ <ol>
225
+ <li>Return to Google Search Console</li>
226
+ <li>Click &quot;Verify&quot; on the verification page</li>
227
+ <li>Google will check for the meta tag on your site</li>
228
+ <li>Once verified, you&#39;ll have access to all Search Console features</li>
229
+ </ol>
230
+ <h2>Configuration Details</h2>
231
+ <p>The verification code is stored in your config file under <code>seo.customMetaTags</code>:</p>
232
+ <pre><code class="language-javascript">module.exports = {
233
+ // ... other config
234
+ seo: {
235
+ enabled: true,
236
+ customMetaTags: [
237
+ {
238
+ name: &quot;google-site-verification&quot;,
239
+ content: &quot;YOUR_VERIFICATION_CODE&quot;
240
+ }
241
+ ]
242
+ }
243
+ };
244
+ </code></pre>
245
+ <h2>Multiple Verifications</h2>
246
+ <p>You can add multiple verification codes or other custom meta tags:</p>
247
+ <pre><code class="language-javascript">seo: {
248
+ customMetaTags: [
249
+ {
250
+ name: &quot;google-site-verification&quot;,
251
+ content: &quot;GOOGLE_CODE&quot;
252
+ },
253
+ {
254
+ name: &quot;bing-site-verification&quot;,
255
+ content: &quot;BING_CODE&quot;
256
+ },
257
+ {
258
+ name: &quot;yandex-verification&quot;,
259
+ content: &quot;YANDEX_CODE&quot;
260
+ }
261
+ ]
262
+ }
263
+ </code></pre>
264
+ <h2>Updating Verification Code</h2>
265
+ <p>To update an existing verification code, simply run the command again with the new code:</p>
266
+ <pre><code class="language-bash">doc-builder google-verify NEW_VERIFICATION_CODE
267
+ </code></pre>
268
+ <h2>Troubleshooting</h2>
269
+ <h3>Verification Failed</h3>
270
+ <p>If Google can&#39;t verify your site:</p>
271
+ <ol>
272
+ <li><strong>Check deployment status</strong>: Ensure your site is deployed and accessible</li>
273
+ <li><strong>View page source</strong>: Verify the meta tag appears in the <code>&lt;head&gt;</code> section</li>
274
+ <li><strong>Clear cache</strong>: If using a CDN, clear the cache and wait a few minutes</li>
275
+ <li><strong>Check URL</strong>: Ensure you&#39;re verifying the exact URL (with or without www)</li>
276
+ </ol>
277
+ <h3>Meta Tag Not Appearing</h3>
278
+ <p>If the meta tag doesn&#39;t appear in your HTML:</p>
279
+ <ol>
280
+ <li>Rebuild your documentation: <code>doc-builder build</code></li>
281
+ <li>Check your config file for syntax errors</li>
282
+ <li>Ensure SEO is enabled in your configuration</li>
283
+ <li>Verify the deployment includes the latest changes</li>
284
+ </ol>
285
+ <h3>Manual Configuration</h3>
286
+ <p>You can also manually add the verification to your config:</p>
287
+ <ol>
288
+ <li>Open <code>doc-builder.config.js</code></li>
289
+ <li>Add or update the SEO section:<pre><code class="language-javascript">seo: {
290
+ enabled: true,
291
+ customMetaTags: [
292
+ {
293
+ name: &quot;google-site-verification&quot;,
294
+ content: &quot;YOUR_VERIFICATION_CODE&quot;
295
+ }
296
+ ]
297
+ }
298
+ </code></pre>
299
+ </li>
300
+ <li>Save and rebuild your documentation</li>
301
+ </ol>
302
+ <h2>Best Practices</h2>
303
+ <ol>
304
+ <li><strong>Keep verification active</strong>: Don&#39;t remove the meta tag after verification</li>
305
+ <li><strong>Add site URL</strong>: Configure <code>seo.siteUrl</code> in your config for better SEO</li>
306
+ <li><strong>Submit sitemap</strong>: After verification, submit your sitemap.xml</li>
307
+ <li><strong>Monitor regularly</strong>: Check Search Console weekly for issues</li>
308
+ <li><strong>Multiple owners</strong>: Add team members as additional owners in Search Console</li>
309
+ </ol>
310
+ <h2>Related Features</h2>
311
+ <ul>
312
+ <li><strong>Sitemap generation</strong>: Automatically generated at <code>/sitemap.xml</code></li>
313
+ <li><strong>robots.txt</strong>: Automatically generated with proper directives</li>
314
+ <li><strong>SEO optimization</strong>: Built-in meta tags and structured data</li>
315
+ <li><strong>Production URL</strong>: Set with <code>doc-builder set-production-url</code></li>
316
+ </ul>
317
+ <h2>Security Note</h2>
318
+ <p>Your verification code is specific to your Google account and domain. It&#39;s safe to commit to your repository as it only grants access to Search Console data, not your Google account.</p>
319
+ <h2>Next Steps</h2>
320
+ <p>After verification:</p>
321
+ <ol>
322
+ <li>Submit your sitemap in Search Console</li>
323
+ <li>Set up email alerts for crawl errors</li>
324
+ <li>Monitor search performance and impressions</li>
325
+ <li>Use the data to improve your documentation SEO</li>
326
+ </ol>
327
+ <hr>
328
+ <p>For more information about Google Search Console, visit the <a href="https://support.google.com/webmasters">official documentation</a>.</p>
329
+
330
+ </div>
331
+ </main>
332
+ </div>
333
+
334
+ <!-- Scripts -->
335
+ <script src="/js/main.js"></script>
336
+
337
+ </body>
338
+ </html>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="SEO Guide for @knowcode/doc-builder.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.288Z",
62
- "dateModified": "2025-07-22T06:01:14.288Z",
64
+ "datePublished": "2025-07-22T06:56:56.793Z",
65
+ "dateModified": "2025-07-22T06:56:56.793Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/guides/seo-guide.html"
@@ -98,7 +101,7 @@
98
101
 
99
102
  <div class="header-actions">
100
103
  <div class="deployment-info">
101
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
104
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
102
105
  </div>
103
106
 
104
107
 
@@ -159,6 +162,7 @@
159
162
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
160
163
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
161
164
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
165
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
162
166
  <a href="/guides/seo-guide.html" class="nav-item active" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
163
167
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
164
168
  </nav>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Troubleshooting Guide for @knowcode/doc-builder.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.294Z",
62
- "dateModified": "2025-07-22T06:01:14.294Z",
64
+ "datePublished": "2025-07-22T06:56:56.796Z",
65
+ "dateModified": "2025-07-22T06:56:56.796Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/guides/troubleshooting-guide.html"
@@ -98,7 +101,7 @@
98
101
 
99
102
  <div class="header-actions">
100
103
  <div class="deployment-info">
101
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
104
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
102
105
  </div>
103
106
 
104
107
 
@@ -159,6 +162,7 @@
159
162
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
160
163
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
161
164
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
165
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
162
166
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
163
167
  <a href="/guides/troubleshooting-guide.html" class="nav-item active" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
164
168
  </nav>
package/html/index.html CHANGED
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="@knowcode/doc-builder.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.255Z",
62
- "dateModified": "2025-07-22T06:01:14.255Z",
64
+ "datePublished": "2025-07-22T06:56:56.764Z",
65
+ "dateModified": "2025-07-22T06:56:56.764Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/README.html"
@@ -92,7 +95,7 @@
92
95
 
93
96
  <div class="header-actions">
94
97
  <div class="deployment-info">
95
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
98
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
96
99
  </div>
97
100
 
98
101
 
@@ -153,6 +156,7 @@
153
156
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
154
157
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
155
158
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
159
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
156
160
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
157
161
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
158
162
  </nav>
package/html/js/main.js CHANGED
@@ -512,9 +512,28 @@ function updateThemeIcon(theme) {
512
512
  const menuToggle = document.getElementById('menu-toggle');
513
513
  const sidebar = document.querySelector('.sidebar');
514
514
 
515
+ // Create overlay element for mobile
516
+ let overlay = document.querySelector('.sidebar-overlay');
517
+ if (!overlay && window.innerWidth <= 768) {
518
+ overlay = document.createElement('div');
519
+ overlay.className = 'sidebar-overlay';
520
+ document.body.appendChild(overlay);
521
+ }
522
+
515
523
  if (menuToggle) {
516
524
  menuToggle.addEventListener('click', () => {
517
525
  sidebar.classList.toggle('open');
526
+ if (overlay) {
527
+ overlay.classList.toggle('active');
528
+ }
529
+ });
530
+ }
531
+
532
+ // Close menu when clicking overlay
533
+ if (overlay) {
534
+ overlay.addEventListener('click', () => {
535
+ sidebar.classList.remove('open');
536
+ overlay.classList.remove('active');
518
537
  });
519
538
  }
520
539
 
@@ -532,7 +551,8 @@ function initFloatingMenuButton() {
532
551
  floatingButton.className = 'floating-menu-toggle';
533
552
  floatingButton.setAttribute('aria-label', 'Toggle menu');
534
553
  floatingButton.innerHTML = '<i class="fas fa-bars"></i>';
535
- floatingButton.style.display = 'none'; // Hidden by default
554
+ floatingButton.style.display = 'flex'; // Always visible on mobile
555
+ floatingButton.classList.add('visible'); // Start visible
536
556
 
537
557
  // Add to body
538
558
  document.body.appendChild(floatingButton);
@@ -540,6 +560,26 @@ function initFloatingMenuButton() {
540
560
  // Toggle sidebar on click
541
561
  floatingButton.addEventListener('click', () => {
542
562
  sidebar.classList.toggle('open');
563
+
564
+ // Handle overlay
565
+ let overlay = document.querySelector('.sidebar-overlay');
566
+ if (!overlay) {
567
+ overlay = document.createElement('div');
568
+ overlay.className = 'sidebar-overlay';
569
+ document.body.appendChild(overlay);
570
+
571
+ // Add overlay click handler
572
+ overlay.addEventListener('click', () => {
573
+ sidebar.classList.remove('open');
574
+ overlay.classList.remove('active');
575
+ floatingButton.querySelector('i').className = 'fas fa-bars';
576
+ });
577
+ }
578
+
579
+ if (overlay) {
580
+ overlay.classList.toggle('active');
581
+ }
582
+
543
583
  // Update icon based on state
544
584
  const icon = floatingButton.querySelector('i');
545
585
  if (sidebar.classList.contains('open')) {
@@ -549,33 +589,7 @@ function initFloatingMenuButton() {
549
589
  }
550
590
  });
551
591
 
552
- // Show/hide based on scroll position
553
- let scrollTimeout;
554
-
555
- window.addEventListener('scroll', () => {
556
- clearTimeout(scrollTimeout);
557
- scrollTimeout = setTimeout(() => {
558
- const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
559
- const headerHeight = document.querySelector('.header')?.offsetHeight || 64;
560
-
561
- // Show floating button when scrolled past header
562
- if (scrollTop > headerHeight + 50) {
563
- floatingButton.style.display = 'flex';
564
- // Add slight delay for smooth appearance
565
- setTimeout(() => {
566
- floatingButton.classList.add('visible');
567
- }, 10);
568
- } else {
569
- floatingButton.classList.remove('visible');
570
- // Hide after transition completes
571
- setTimeout(() => {
572
- if (!floatingButton.classList.contains('visible')) {
573
- floatingButton.style.display = 'none';
574
- }
575
- }, 300);
576
- }
577
- }, 100);
578
- });
592
+ // Remove scroll-based visibility - button is always visible on mobile
579
593
 
580
594
  // Update icon when sidebar state changes from other sources
581
595
  const observer = new MutationObserver(() => {
@@ -611,11 +625,21 @@ document.addEventListener('click', (e) => {
611
625
  if (window.innerWidth <= 768) {
612
626
  const isClickInsideSidebar = sidebar && sidebar.contains(e.target);
613
627
  const isMenuToggle = e.target.closest('#menu-toggle');
628
+ const isFloatingButton = e.target.closest('#floating-menu-toggle');
614
629
  const isNavItem = e.target.closest('.nav-item, .nav-title');
630
+ const overlay = document.querySelector('.sidebar-overlay');
615
631
 
616
632
  // Close sidebar only if clicking outside AND not on menu toggle AND not on nav items
617
- if (!isClickInsideSidebar && !isMenuToggle && !isNavItem && sidebar?.classList.contains('open')) {
633
+ if (!isClickInsideSidebar && !isMenuToggle && !isFloatingButton && !isNavItem && sidebar?.classList.contains('open')) {
618
634
  sidebar.classList.remove('open');
635
+ if (overlay) {
636
+ overlay.classList.remove('active');
637
+ }
638
+ // Update floating button icon if it exists
639
+ const floatingBtn = document.getElementById('floating-menu-toggle');
640
+ if (floatingBtn) {
641
+ floatingBtn.querySelector('i').className = 'fas fa-bars';
642
+ }
619
643
  }
620
644
  }
621
645
  });
package/html/sitemap.xml CHANGED
@@ -2,79 +2,85 @@
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
3
  <url>
4
4
  <loc>https://doc-builder-delta.vercel.app/404.html</loc>
5
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
5
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
6
6
  <changefreq>monthly</changefreq>
7
7
  <priority>0.6</priority>
8
8
  </url>
9
9
  <url>
10
10
  <loc>https://doc-builder-delta.vercel.app/README.html</loc>
11
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
11
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
12
12
  <changefreq>monthly</changefreq>
13
13
  <priority>0.6</priority>
14
14
  </url>
15
15
  <url>
16
16
  <loc>https://doc-builder-delta.vercel.app/claude-workflow-guide.html</loc>
17
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
17
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
18
18
  <changefreq>monthly</changefreq>
19
19
  <priority>0.8</priority>
20
20
  </url>
21
21
  <url>
22
22
  <loc>https://doc-builder-delta.vercel.app/documentation-index.html</loc>
23
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
23
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
24
24
  <changefreq>monthly</changefreq>
25
25
  <priority>0.6</priority>
26
26
  </url>
27
27
  <url>
28
28
  <loc>https://doc-builder-delta.vercel.app/guides/authentication-guide.html</loc>
29
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
29
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
30
30
  <changefreq>monthly</changefreq>
31
31
  <priority>0.8</priority>
32
32
  </url>
33
33
  <url>
34
34
  <loc>https://doc-builder-delta.vercel.app/guides/claude-workflow-guide.html</loc>
35
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
35
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
36
36
  <changefreq>monthly</changefreq>
37
37
  <priority>0.8</priority>
38
38
  </url>
39
39
  <url>
40
40
  <loc>https://doc-builder-delta.vercel.app/guides/document-standards.html</loc>
41
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
41
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
42
42
  <changefreq>monthly</changefreq>
43
43
  <priority>0.8</priority>
44
44
  </url>
45
45
  <url>
46
46
  <loc>https://doc-builder-delta.vercel.app/guides/documentation-standards.html</loc>
47
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
47
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
48
+ <changefreq>monthly</changefreq>
49
+ <priority>0.8</priority>
50
+ </url>
51
+ <url>
52
+ <loc>https://doc-builder-delta.vercel.app/guides/google-site-verification-guide.html</loc>
53
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
48
54
  <changefreq>monthly</changefreq>
49
55
  <priority>0.8</priority>
50
56
  </url>
51
57
  <url>
52
58
  <loc>https://doc-builder-delta.vercel.app/guides/seo-guide.html</loc>
53
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
59
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
54
60
  <changefreq>monthly</changefreq>
55
61
  <priority>0.8</priority>
56
62
  </url>
57
63
  <url>
58
64
  <loc>https://doc-builder-delta.vercel.app/guides/troubleshooting-guide.html</loc>
59
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
65
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
60
66
  <changefreq>monthly</changefreq>
61
67
  <priority>0.8</priority>
62
68
  </url>
63
69
  <url>
64
70
  <loc>https://doc-builder-delta.vercel.app/index.html</loc>
65
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
71
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
66
72
  <changefreq>weekly</changefreq>
67
73
  <priority>1.0</priority>
68
74
  </url>
69
75
  <url>
70
76
  <loc>https://doc-builder-delta.vercel.app/vercel-cli-setup-guide.html</loc>
71
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
77
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
72
78
  <changefreq>monthly</changefreq>
73
79
  <priority>0.8</priority>
74
80
  </url>
75
81
  <url>
76
82
  <loc>https://doc-builder-delta.vercel.app/vercel-first-time-setup-guide.html</loc>
77
- <lastmod>2025-07-22T06:01:14.316Z</lastmod>
83
+ <lastmod>2025-07-22T06:56:56.811Z</lastmod>
78
84
  <changefreq>monthly</changefreq>
79
85
  <priority>0.8</priority>
80
86
  </url>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Vercel CLI Setup Guide.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.298Z",
62
- "dateModified": "2025-07-22T06:01:14.298Z",
64
+ "datePublished": "2025-07-22T06:56:56.800Z",
65
+ "dateModified": "2025-07-22T06:56:56.800Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/vercel-cli-setup-guide.html"
@@ -92,7 +95,7 @@
92
95
 
93
96
  <div class="header-actions">
94
97
  <div class="deployment-info">
95
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
98
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
96
99
  </div>
97
100
 
98
101
 
@@ -153,6 +156,7 @@
153
156
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
154
157
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
155
158
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
159
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
156
160
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
157
161
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
158
162
  </nav>
@@ -28,6 +28,9 @@
28
28
  <meta name="twitter:description" content="Vercel First-Time Setup Guide - Complete Prompt-by-Prompt Walkthrough.">
29
29
  <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
30
30
 
31
+ <!-- Custom Meta Tags -->
32
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
33
+
31
34
  <!-- Fonts -->
32
35
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
33
36
 
@@ -58,8 +61,8 @@
58
61
  "name": "Knowcode Ltd",
59
62
  "url": "https://knowcode.tech"
60
63
  },
61
- "datePublished": "2025-07-22T06:01:14.306Z",
62
- "dateModified": "2025-07-22T06:01:14.306Z",
64
+ "datePublished": "2025-07-22T06:56:56.803Z",
65
+ "dateModified": "2025-07-22T06:56:56.803Z",
63
66
  "mainEntityOfPage": {
64
67
  "@type": "WebPage",
65
68
  "@id": "https://doc-builder-delta.vercel.app/vercel-first-time-setup-guide.html"
@@ -92,7 +95,7 @@
92
95
 
93
96
  <div class="header-actions">
94
97
  <div class="deployment-info">
95
- <span class="deployment-date" title="Built with doc-builder v1.5.2">Last updated: Jul 22, 2025, 06:01 AM UTC</span>
98
+ <span class="deployment-date" title="Built with doc-builder v1.5.3">Last updated: Jul 22, 2025, 06:56 AM UTC</span>
96
99
  </div>
97
100
 
98
101
 
@@ -153,6 +156,7 @@
153
156
  <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="This guide explains how to configure and use the built-in authentication feature in @knowcode/doc-builder to protect your documentation with basic..."><i class="fas fa-file-alt"></i> Authentication Guide</a>
154
157
  <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
155
158
  <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
159
+ <a href="/guides/google-site-verification-guide.html" class="nav-item" data-tooltip="Google Search Console verification allows you to: Monitor your site&#039;s performance in Google Search Submit sitemaps for better indexing View search..."><i class="fas fa-file-alt"></i> Google Site Verification Guide</a>
156
160
  <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
157
161
  <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a></div></div>
158
162
  </nav>
@@ -229,7 +229,8 @@ function generateHTML(title, content, navigation, currentPath = '', config = {},
229
229
  ogImage: config.seo.ogImage,
230
230
  siteName: siteName,
231
231
  language: config.seo.language,
232
- type: 'article'
232
+ type: 'article',
233
+ customMetaTags: config.seo.customMetaTags || []
233
234
  });
234
235
 
235
236
  // Generate JSON-LD
package/lib/seo.js CHANGED
@@ -84,7 +84,8 @@ function generateMetaTags(options) {
84
84
  ogImage,
85
85
  siteName,
86
86
  language = 'en-US',
87
- type = 'article'
87
+ type = 'article',
88
+ customMetaTags = []
88
89
  } = options;
89
90
 
90
91
  const tags = [];
@@ -157,6 +158,18 @@ function generateMetaTags(options) {
157
158
  }
158
159
  }
159
160
 
161
+ // Add custom meta tags
162
+ if (customMetaTags && customMetaTags.length > 0) {
163
+ tags.push(` \n <!-- Custom Meta Tags -->`);
164
+ customMetaTags.forEach(tag => {
165
+ if (tag.name && tag.content) {
166
+ tags.push(` <meta name="${escapeHtml(tag.name)}" content="${escapeHtml(tag.content)}">`);
167
+ } else if (tag.property && tag.content) {
168
+ tags.push(` <meta property="${escapeHtml(tag.property)}" content="${escapeHtml(tag.content)}">`);
169
+ }
170
+ });
171
+ }
172
+
160
173
  return tags.join('\n');
161
174
  }
162
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {