@knowcode/doc-builder 1.1.12 → 1.2.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.
- package/CHANGELOG.md +63 -0
- package/assets/css/notion-style.css +264 -49
- package/lib/core-builder.js +317 -68
- package/lib/deploy.js +12 -55
- package/package.json +1 -1
- package/temp-test/docs/README.md +69 -0
- package/temp-test/docs/test-file.md +1 -0
- package/temp-test/html/README.html +164 -0
- package/temp-test/html/css/notion-style.css +1758 -0
- package/temp-test/html/css/style.css +1974 -0
- package/temp-test/html/js/auth.js +65 -0
- package/temp-test/html/js/main.js +1333 -0
- package/temp-test/html/test-file.html +101 -0
|
@@ -0,0 +1,101 @@
|
|
|
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>Test File - 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"><i class="fas fa-file-alt"></i> Overview</a>
|
|
83
|
+
<a href="/test-file.html" class="nav-item active"><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>Test File</h1>
|
|
92
|
+
|
|
93
|
+
</div>
|
|
94
|
+
</main>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<!-- Scripts -->
|
|
98
|
+
<script src="/js/main.js"></script>
|
|
99
|
+
|
|
100
|
+
</body>
|
|
101
|
+
</html>
|