@knowcode/doc-builder 1.3.10 → 1.3.11
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 +19 -0
- package/lib/core-builder.js +0 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,25 @@ 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.3.11] - 2025-07-19
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **CRITICAL FIX**: Removed duplicate CSS file loading that was causing style conflicts
|
|
12
|
+
- Now only loads `notion-style.css` matching the original working build
|
|
13
|
+
- This fixes both tooltip functionality and spacing issues
|
|
14
|
+
|
|
15
|
+
### Root Cause
|
|
16
|
+
- The npm package was loading both `notion-style.css` AND `style.css`
|
|
17
|
+
- The `style.css` file was overriding proper styles from `notion-style.css`
|
|
18
|
+
- This caused spacing conflicts and broke tooltip positioning
|
|
19
|
+
- The original cybersolstice build only loads `notion-style.css`
|
|
20
|
+
|
|
21
|
+
### Impact
|
|
22
|
+
- Tooltips now work correctly with proper positioning
|
|
23
|
+
- Navigation spacing matches the original design
|
|
24
|
+
- No more CSS variable conflicts between themes
|
|
25
|
+
- Consistent styling throughout the application
|
|
26
|
+
|
|
8
27
|
## [1.3.10] - 2025-07-19
|
|
9
28
|
|
|
10
29
|
### Fixed
|
package/lib/core-builder.js
CHANGED
|
@@ -83,7 +83,6 @@ function generateHTML(title, content, navigation, currentPath = '', config = {})
|
|
|
83
83
|
|
|
84
84
|
<!-- Styles -->
|
|
85
85
|
<link rel="stylesheet" href="/css/notion-style.css">
|
|
86
|
-
<link rel="stylesheet" href="/css/style.css">
|
|
87
86
|
|
|
88
87
|
<!-- Favicon -->
|
|
89
88
|
<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>">
|
|
@@ -821,7 +820,6 @@ async function createDefaultIndexPage(outputDir, config, version) {
|
|
|
821
820
|
<title>Welcome to ${siteName}</title>
|
|
822
821
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
823
822
|
<link rel="stylesheet" href="/css/notion-style.css">
|
|
824
|
-
<link rel="stylesheet" href="/css/style.css">
|
|
825
823
|
<style>
|
|
826
824
|
.welcome-container {
|
|
827
825
|
max-width: 800px;
|