@knowcode/doc-builder 1.2.1 → 1.2.2

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,12 @@ 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.2.2] - 2025-07-19
9
+
10
+ ### Fixed
11
+ - Removed accidentally included temp-test directory from npm package
12
+ - Added .npmignore file to prevent test directories from being published
13
+
8
14
  ## [1.2.1] - 2025-07-19
9
15
 
10
16
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,69 +0,0 @@
1
- # Welcome to Documentation
2
-
3
- **Generated**: 2025-07-19 UTC
4
- **Status**: Placeholder - Ready for customization
5
- **Verified**: ❓ (Auto-generated content)
6
-
7
- ## Overview
8
-
9
- This documentation site was built with @knowcode/doc-builder. This is an auto-generated placeholder to help you get started.
10
-
11
- ## Getting Started
12
-
13
- 1. **Replace this file**: Edit `docs/README.md` with your project's actual documentation
14
- 2. **Add content**: Create additional markdown files in the `docs/` directory
15
- 3. **Organize with folders**: Use subfolders to structure your documentation
16
- 4. **Rebuild**: Run `npx @knowcode/doc-builder build` to regenerate the site
17
-
18
- ## Documentation Structure
19
-
20
- Your documentation can include:
21
-
22
- - **Overview**: Main project description (this file)
23
- - **Guides**: Step-by-step tutorials
24
- - **API Reference**: Technical documentation
25
- - **Examples**: Code samples and usage
26
- - **Architecture**: System design and technical details
27
-
28
- ## Next Steps
29
-
30
- 1. Edit this README.md file with your project information
31
- 2. Create additional markdown files for your content
32
- 3. Organize files into logical folders
33
- 4. Use Mermaid diagrams for visual explanations
34
- 5. Deploy with `npx @knowcode/doc-builder deploy`
35
-
36
- ## Documentation Standards
37
-
38
- This project follows structured documentation conventions:
39
-
40
- ### File Organization
41
- - Use descriptive filenames with hyphens (e.g., `user-guide.md`)
42
- - Organize related content in folders
43
- - Include a README.md in each major folder
44
-
45
- ### Content Format
46
- - Start each document with metadata (Generated date, Status, Verified status)
47
- - Use clear headings and consistent structure
48
- - Include diagrams where helpful to explain concepts
49
- - Mark information as verified (✅) or speculated (❓)
50
-
51
- ### Mermaid Diagrams
52
- Include visual diagrams to explain complex concepts:
53
-
54
- ```mermaid
55
- graph TD
56
- A[Start Documentation] --> B{Have Content?}
57
- B -->|Yes| C[Edit README.md]
58
- B -->|No| D[Create Content Files]
59
- C --> E[Build & Deploy]
60
- D --> E
61
- E --> F[Share Documentation]
62
- ```
63
-
64
- ## Support
65
-
66
- For help with @knowcode/doc-builder:
67
- - Check the documentation at your package source
68
- - Use `npx @knowcode/doc-builder --help` for CLI options
69
- - Review the generated configuration guide if available
@@ -1 +0,0 @@
1
- # Test File
@@ -1,164 +0,0 @@
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="Documentation site built with @knowcode/doc-builder">
7
- <title>Welcome to Documentation - Documentation</title>
8
-
9
- <!-- Fonts -->
10
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
11
-
12
- <!-- Icons -->
13
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
14
-
15
- <!-- Mermaid -->
16
- <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
17
-
18
- <!-- Styles -->
19
- <link rel="stylesheet" href="/css/notion-style.css">
20
- <link rel="stylesheet" href="/css/style.css">
21
-
22
- <!-- Favicon -->
23
- <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>">
24
- </head>
25
- <body>
26
- <!-- Header -->
27
- <header class="header">
28
- <div class="header-content">
29
- <a href="/index.html" class="logo">Documentation</a>
30
-
31
- <div class="header-actions">
32
- <div class="deployment-info">
33
- <span class="deployment-date">Last updated: Jul 19, 2025, 11:59 AM UTC</span>
34
- </div>
35
-
36
-
37
-
38
- <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
39
- <i class="fas fa-moon"></i>
40
- </button>
41
-
42
- <button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
43
- <i class="fas fa-bars"></i>
44
- </button>
45
- </div>
46
- </div>
47
- </header>
48
-
49
- <!-- Preview Banner -->
50
- <div id="preview-banner" class="preview-banner">
51
- <div class="banner-content">
52
- <i class="fas fa-exclamation-triangle banner-icon"></i>
53
- <span class="banner-text">This documentation is a preview version - some content may be incomplete</span>
54
- <button id="dismiss-banner" class="banner-dismiss" aria-label="Dismiss banner">
55
- <i class="fas fa-times"></i>
56
- </button>
57
- </div>
58
- </div>
59
-
60
- <!-- Breadcrumbs -->
61
- <nav class="breadcrumbs" id="breadcrumbs">
62
- <!-- Breadcrumbs will be generated by JavaScript -->
63
- </nav>
64
-
65
- <!-- Main Content -->
66
- <div class="main-wrapper">
67
- <!-- Sidebar -->
68
- <aside class="sidebar">
69
- <div class="sidebar-header">
70
- <div class="filter-box">
71
- <input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
72
- <i class="fas fa-search filter-icon"></i>
73
- </div>
74
- </div>
75
- <nav class="navigation">
76
-
77
- <div class="nav-section" data-level="0">
78
- <a class="nav-title expanded" href="/README.html" >
79
- <i class="fas fa-home"></i> Documentation
80
- </a>
81
- <div class="nav-content" >
82
- <a href="/README.html" class="nav-item active"><i class="fas fa-file-alt"></i> Overview</a>
83
- <a href="/test-file.html" class="nav-item"><i class="fas fa-file-alt"></i> Test File</a></div></div>
84
- </nav>
85
- <div class="resize-handle"></div>
86
- </aside>
87
-
88
- <!-- Content Area -->
89
- <main class="content">
90
- <div class="content-inner">
91
- <h1>Welcome to Documentation</h1>
92
- <p><strong>Generated</strong>: 2025-07-19 UTC<br><strong>Status</strong>: Placeholder - Ready for customization<br><strong>Verified</strong>: ❓ (Auto-generated content)</p>
93
- <h2>Overview</h2>
94
- <p>This documentation site was built with @knowcode/doc-builder. This is an auto-generated placeholder to help you get started.</p>
95
- <h2>Getting Started</h2>
96
- <ol>
97
- <li><strong>Replace this file</strong>: Edit <code>docs/README.md</code> with your project&#39;s actual documentation</li>
98
- <li><strong>Add content</strong>: Create additional markdown files in the <code>docs/</code> directory</li>
99
- <li><strong>Organize with folders</strong>: Use subfolders to structure your documentation</li>
100
- <li><strong>Rebuild</strong>: Run <code>npx @knowcode/doc-builder build</code> to regenerate the site</li>
101
- </ol>
102
- <h2>Documentation Structure</h2>
103
- <p>Your documentation can include:</p>
104
- <ul>
105
- <li><strong>Overview</strong>: Main project description (this file)</li>
106
- <li><strong>Guides</strong>: Step-by-step tutorials</li>
107
- <li><strong>API Reference</strong>: Technical documentation</li>
108
- <li><strong>Examples</strong>: Code samples and usage</li>
109
- <li><strong>Architecture</strong>: System design and technical details</li>
110
- </ul>
111
- <h2>Next Steps</h2>
112
- <ol>
113
- <li>Edit this README.md file with your project information</li>
114
- <li>Create additional markdown files for your content</li>
115
- <li>Organize files into logical folders</li>
116
- <li>Use Mermaid diagrams for visual explanations</li>
117
- <li>Deploy with <code>npx @knowcode/doc-builder deploy</code></li>
118
- </ol>
119
- <h2>Documentation Standards</h2>
120
- <p>This project follows structured documentation conventions:</p>
121
- <h3>File Organization</h3>
122
- <ul>
123
- <li>Use descriptive filenames with hyphens (e.g., <code>user-guide.md</code>)</li>
124
- <li>Organize related content in folders</li>
125
- <li>Include a README.md in each major folder</li>
126
- </ul>
127
- <h3>Content Format</h3>
128
- <ul>
129
- <li>Start each document with metadata (Generated date, Status, Verified status)</li>
130
- <li>Use clear headings and consistent structure</li>
131
- <li>Include diagrams where helpful to explain concepts</li>
132
- <li>Mark information as verified (✅) or speculated (❓)</li>
133
- </ul>
134
- <h3>Mermaid Diagrams</h3>
135
- <p>Include visual diagrams to explain complex concepts:</p>
136
- <div class="mermaid-wrapper">
137
- <div class="mermaid-title">Diagram</div>
138
- <div class="mermaid">graph TD
139
- A[Start Documentation] --&gt; B{Have Content?}
140
- B --&gt;|Yes| C[Edit README.md]
141
- B --&gt;|No| D[Create Content Files]
142
- C --&gt; E[Build &amp; Deploy]
143
- D --&gt; E
144
- E --&gt; F[Share Documentation]
145
- </div>
146
- </div>
147
-
148
- <h2>Support</h2>
149
- <p>For help with @knowcode/doc-builder:</p>
150
- <ul>
151
- <li>Check the documentation at your package source</li>
152
- <li>Use <code>npx @knowcode/doc-builder --help</code> for CLI options</li>
153
- <li>Review the generated configuration guide if available</li>
154
- </ul>
155
-
156
- </div>
157
- </main>
158
- </div>
159
-
160
- <!-- Scripts -->
161
- <script src="/js/main.js"></script>
162
-
163
- </body>
164
- </html>