@knowcode/doc-builder 1.4.17 → 1.4.19
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 +24 -0
- package/assets/css/notion-style.css +20 -41
- package/html/README.html +1 -1
- package/html/claude-workflow-guide.html +1 -1
- package/html/css/notion-style.css +20 -41
- package/html/documentation-index.html +1 -1
- package/html/guides/document-standards.html +1 -1
- package/html/index.html +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ 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.4.19] - 2025-07-21
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed large white gap appearing at 768px breakpoint
|
|
12
|
+
- Removed duplicate CSS definitions for breadcrumbs
|
|
13
|
+
- Corrected margin-top calculation for mobile layout
|
|
14
|
+
|
|
15
|
+
### Background
|
|
16
|
+
- Duplicate breadcrumb CSS definitions were causing conflicts
|
|
17
|
+
- Main wrapper had incorrect margin-top on mobile (80px instead of 40px)
|
|
18
|
+
- Now properly accounts for only the fixed header height on mobile
|
|
19
|
+
|
|
20
|
+
## [1.4.18] - 2025-07-21
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- Fixed responsive breakpoint - sidebar now remains visible on tablets (768px-1024px)
|
|
24
|
+
- Removed large gap above content on mobile devices
|
|
25
|
+
- Improved mobile layout consistency
|
|
26
|
+
|
|
27
|
+
### Background
|
|
28
|
+
- Sidebar was disappearing at 1024px instead of 768px
|
|
29
|
+
- Mobile layout had excessive padding causing large gaps
|
|
30
|
+
- Now follows proper responsive design patterns for tablets vs mobile
|
|
31
|
+
|
|
8
32
|
## [1.4.17] - 2025-07-21
|
|
9
33
|
|
|
10
34
|
### Improved
|
|
@@ -443,26 +443,7 @@ pre code {
|
|
|
443
443
|
color: var(--color-text-primary);
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
/* Breadcrumbs */
|
|
447
|
-
.breadcrumbs {
|
|
448
|
-
background: var(--color-bg-default);
|
|
449
|
-
border-bottom: 1px solid var(--color-border-default);
|
|
450
|
-
padding: var(--space-2) 0;
|
|
451
|
-
position: fixed;
|
|
452
|
-
top: var(--header-height);
|
|
453
|
-
left: 0;
|
|
454
|
-
right: 0;
|
|
455
|
-
z-index: 900;
|
|
456
|
-
transition: top var(--duration-normal);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.breadcrumbs.banner-visible {
|
|
460
|
-
top: calc(var(--header-height) + 3.5rem);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.breadcrumbs:not(.banner-visible) {
|
|
464
|
-
top: var(--header-height);
|
|
465
|
-
}
|
|
446
|
+
/* Breadcrumbs - definition moved to line 888 to avoid duplication */
|
|
466
447
|
|
|
467
448
|
.breadcrumb-item {
|
|
468
449
|
display: inline-flex;
|
|
@@ -899,10 +880,18 @@ tr:hover {
|
|
|
899
880
|
right: 0;
|
|
900
881
|
height: var(--breadcrumb-height);
|
|
901
882
|
z-index: 900;
|
|
902
|
-
transition: background-color var(--duration-normal);
|
|
883
|
+
transition: top var(--duration-normal), background-color var(--duration-normal);
|
|
903
884
|
gap: var(--space-2);
|
|
904
885
|
}
|
|
905
886
|
|
|
887
|
+
.breadcrumbs.banner-visible {
|
|
888
|
+
top: calc(var(--header-height) + 3.5rem);
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.breadcrumbs:not(.banner-visible) {
|
|
892
|
+
top: var(--header-height);
|
|
893
|
+
}
|
|
894
|
+
|
|
906
895
|
.breadcrumb-item {
|
|
907
896
|
display: flex;
|
|
908
897
|
align-items: center;
|
|
@@ -942,10 +931,7 @@ tr:hover {
|
|
|
942
931
|
opacity: 1;
|
|
943
932
|
}
|
|
944
933
|
|
|
945
|
-
/*
|
|
946
|
-
.breadcrumbs.banner-visible {
|
|
947
|
-
top: calc(var(--header-height) + 3.5rem);
|
|
948
|
-
}
|
|
934
|
+
/* Banner visibility handled in main breadcrumbs definition */
|
|
949
935
|
|
|
950
936
|
/* Menu Toggle (Mobile) */
|
|
951
937
|
.menu-toggle {
|
|
@@ -959,7 +945,14 @@ tr:hover {
|
|
|
959
945
|
}
|
|
960
946
|
|
|
961
947
|
/* Responsive Design */
|
|
962
|
-
|
|
948
|
+
/* Keep sidebar visible on tablets, hide only on mobile */
|
|
949
|
+
|
|
950
|
+
@media (max-width: 768px) {
|
|
951
|
+
.header-content {
|
|
952
|
+
padding: 0 var(--space-4);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/* Hide sidebar on mobile */
|
|
963
956
|
.sidebar {
|
|
964
957
|
transform: translateX(-100%);
|
|
965
958
|
transition: transform var(--duration-normal) var(--easing-out);
|
|
@@ -971,6 +964,7 @@ tr:hover {
|
|
|
971
964
|
|
|
972
965
|
.main-wrapper {
|
|
973
966
|
margin-left: 0;
|
|
967
|
+
margin-top: var(--header-height); /* Only account for fixed header on mobile */
|
|
974
968
|
}
|
|
975
969
|
|
|
976
970
|
.content {
|
|
@@ -983,21 +977,6 @@ tr:hover {
|
|
|
983
977
|
}
|
|
984
978
|
}
|
|
985
979
|
|
|
986
|
-
@media (max-width: 768px) {
|
|
987
|
-
.header-content {
|
|
988
|
-
padding: 0 var(--space-4);
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
/* Adjust mobile layout when banner is visible */
|
|
992
|
-
.main-wrapper.banner-visible {
|
|
993
|
-
padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 4rem);
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
.sidebar.banner-visible {
|
|
997
|
-
top: calc(var(--header-height) + var(--breadcrumb-height) + 4rem);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
980
|
/* Mermaid Diagrams */
|
|
1002
981
|
.mermaid {
|
|
1003
982
|
background: var(--color-bg-secondary);
|
package/html/README.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<div class="header-actions">
|
|
31
31
|
<div class="deployment-info">
|
|
32
|
-
<span class="deployment-date" title="Built with doc-builder v1.4.
|
|
32
|
+
<span class="deployment-date" title="Built with doc-builder v1.4.19">Last updated: Jul 21, 2025, 05:36 PM UTC</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<div class="header-actions">
|
|
31
31
|
<div class="deployment-info">
|
|
32
|
-
<span class="deployment-date" title="Built with doc-builder v1.4.
|
|
32
|
+
<span class="deployment-date" title="Built with doc-builder v1.4.19">Last updated: Jul 21, 2025, 05:36 PM UTC</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
|
|
@@ -443,26 +443,7 @@ pre code {
|
|
|
443
443
|
color: var(--color-text-primary);
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
/* Breadcrumbs */
|
|
447
|
-
.breadcrumbs {
|
|
448
|
-
background: var(--color-bg-default);
|
|
449
|
-
border-bottom: 1px solid var(--color-border-default);
|
|
450
|
-
padding: var(--space-2) 0;
|
|
451
|
-
position: fixed;
|
|
452
|
-
top: var(--header-height);
|
|
453
|
-
left: 0;
|
|
454
|
-
right: 0;
|
|
455
|
-
z-index: 900;
|
|
456
|
-
transition: top var(--duration-normal);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.breadcrumbs.banner-visible {
|
|
460
|
-
top: calc(var(--header-height) + 3.5rem);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.breadcrumbs:not(.banner-visible) {
|
|
464
|
-
top: var(--header-height);
|
|
465
|
-
}
|
|
446
|
+
/* Breadcrumbs - definition moved to line 888 to avoid duplication */
|
|
466
447
|
|
|
467
448
|
.breadcrumb-item {
|
|
468
449
|
display: inline-flex;
|
|
@@ -899,10 +880,18 @@ tr:hover {
|
|
|
899
880
|
right: 0;
|
|
900
881
|
height: var(--breadcrumb-height);
|
|
901
882
|
z-index: 900;
|
|
902
|
-
transition: background-color var(--duration-normal);
|
|
883
|
+
transition: top var(--duration-normal), background-color var(--duration-normal);
|
|
903
884
|
gap: var(--space-2);
|
|
904
885
|
}
|
|
905
886
|
|
|
887
|
+
.breadcrumbs.banner-visible {
|
|
888
|
+
top: calc(var(--header-height) + 3.5rem);
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.breadcrumbs:not(.banner-visible) {
|
|
892
|
+
top: var(--header-height);
|
|
893
|
+
}
|
|
894
|
+
|
|
906
895
|
.breadcrumb-item {
|
|
907
896
|
display: flex;
|
|
908
897
|
align-items: center;
|
|
@@ -942,10 +931,7 @@ tr:hover {
|
|
|
942
931
|
opacity: 1;
|
|
943
932
|
}
|
|
944
933
|
|
|
945
|
-
/*
|
|
946
|
-
.breadcrumbs.banner-visible {
|
|
947
|
-
top: calc(var(--header-height) + 3.5rem);
|
|
948
|
-
}
|
|
934
|
+
/* Banner visibility handled in main breadcrumbs definition */
|
|
949
935
|
|
|
950
936
|
/* Menu Toggle (Mobile) */
|
|
951
937
|
.menu-toggle {
|
|
@@ -959,7 +945,14 @@ tr:hover {
|
|
|
959
945
|
}
|
|
960
946
|
|
|
961
947
|
/* Responsive Design */
|
|
962
|
-
|
|
948
|
+
/* Keep sidebar visible on tablets, hide only on mobile */
|
|
949
|
+
|
|
950
|
+
@media (max-width: 768px) {
|
|
951
|
+
.header-content {
|
|
952
|
+
padding: 0 var(--space-4);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/* Hide sidebar on mobile */
|
|
963
956
|
.sidebar {
|
|
964
957
|
transform: translateX(-100%);
|
|
965
958
|
transition: transform var(--duration-normal) var(--easing-out);
|
|
@@ -971,6 +964,7 @@ tr:hover {
|
|
|
971
964
|
|
|
972
965
|
.main-wrapper {
|
|
973
966
|
margin-left: 0;
|
|
967
|
+
margin-top: var(--header-height); /* Only account for fixed header on mobile */
|
|
974
968
|
}
|
|
975
969
|
|
|
976
970
|
.content {
|
|
@@ -983,21 +977,6 @@ tr:hover {
|
|
|
983
977
|
}
|
|
984
978
|
}
|
|
985
979
|
|
|
986
|
-
@media (max-width: 768px) {
|
|
987
|
-
.header-content {
|
|
988
|
-
padding: 0 var(--space-4);
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
/* Adjust mobile layout when banner is visible */
|
|
992
|
-
.main-wrapper.banner-visible {
|
|
993
|
-
padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 4rem);
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
.sidebar.banner-visible {
|
|
997
|
-
top: calc(var(--header-height) + var(--breadcrumb-height) + 4rem);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
980
|
/* Mermaid Diagrams */
|
|
1002
981
|
.mermaid {
|
|
1003
982
|
background: var(--color-bg-secondary);
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<div class="header-actions">
|
|
31
31
|
<div class="deployment-info">
|
|
32
|
-
<span class="deployment-date" title="Built with doc-builder v1.4.
|
|
32
|
+
<span class="deployment-date" title="Built with doc-builder v1.4.19">Last updated: Jul 21, 2025, 05:36 PM UTC</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<div class="header-actions">
|
|
31
31
|
<div class="deployment-info">
|
|
32
|
-
<span class="deployment-date" title="Built with doc-builder v1.4.
|
|
32
|
+
<span class="deployment-date" title="Built with doc-builder v1.4.19">Last updated: Jul 21, 2025, 05:36 PM UTC</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
|
package/html/index.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
<div class="header-actions">
|
|
31
31
|
<div class="deployment-info">
|
|
32
|
-
<span class="deployment-date" title="Built with doc-builder v1.4.
|
|
32
|
+
<span class="deployment-date" title="Built with doc-builder v1.4.19">Last updated: Jul 21, 2025, 05:36 PM UTC</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
|