Skip to content

feat: resturcture docs #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions docs/learning/concepts/edge.mdx

This file was deleted.

12 changes: 0 additions & 12 deletions docs/learning/concepts/micro-frontend.mdx

This file was deleted.

34 changes: 0 additions & 34 deletions docs/learning/concepts/module-federation.mdx

This file was deleted.

33 changes: 0 additions & 33 deletions docs/learning/concepts/terminologies.mdx

This file was deleted.

8 changes: 0 additions & 8 deletions docs/learning/react-webpack.mdx

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,21 @@
"@types/node": "^22.13.13",
"@types/react": "^19.0.12",
"autoprefixer": "^10.4.21",
"dotenv": "^16.5.0",
"globals": "^16.0.0",
"nx": "21.1.2",
"postcss": "^8.5.3",
"postcss-loader": "^8.1.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.2",
"dotenv": "^16.5.0"
"typescript": "^5.8.2"
},
"optionalDependencies": {
"@rspress/mdx-rs-linux-x64-gnu": "^0.6.6"
},
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"@rspress/theme-default": "patches/@rspress__theme-default.patch"
},
"onlyBuiltDependencies": [
"@biomejs/biome",
Expand Down
63 changes: 63 additions & 0 deletions patches/@rspress__theme-default.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
diff --git a/dist/bundle.css b/dist/bundle.css
index 5d3288642b3aacdde9f44747854047832cf79a6a..f1d39cddeb4a8c012c1f434b596d2b626118151e 100644
--- a/dist/bundle.css
+++ b/dist/bundle.css
@@ -1,7 +1,7 @@
.aside-link {
- border-radius: var(--rp-radius-small) 0 0 var(--rp-radius-small);
+ border-radius: 0 0 0 0;
margin-bottom: 1px;
- padding: .25rem 0;
+ padding: 0.4rem 0.2rem;
}

.aside-link:hover {
@@ -15,7 +15,7 @@

.aside-link-text {
overflow-wrap: break-word;
- padding: 0 12px;
+ padding: 6px 12px;
font-size: .8125rem;
line-height: 1.25rem;
}
@@ -53,7 +53,7 @@

.navContainer_d18b1 {
background: var(--rp-c-bg);
- height: var(--rp-nav-height);
+ border-bottom: 0.4px solid var(--rp-c-text-1);
z-index: var(--rp-z-index-nav);
transition: transform .3s, opacity .3s;
top: 0;
@@ -243,7 +243,7 @@
}

.menuItem_ac22e, .menuItemActive_de63c {
- border-radius: 0 var(--rp-radius) var(--rp-radius) 0;
+ border-radius: 0 0 0 0;
font-size: 13px;
line-height: 19px;
}
diff --git a/dist/bundle.js b/dist/bundle.js
index ef6850600f48b035786e29398a6e5ea9eb2dc020..a1c92257c8666e49eed84af3753200cb19bcb5ca 100644
--- a/dist/bundle.js
+++ b/dist/bundle.js
@@ -601,7 +601,7 @@ function SidebarGroup(props) {
collapsible && toggleCollapse(e);
},
style: {
- borderRadius: 0 === depth ? '0 var(--rp-radius) var(--rp-radius) 0' : void 0,
+ borderRadius: 0 === depth ? '0 0 0 0' : void 0,
cursor: collapsible || item.link ? 'pointer' : 'normal'
},
children: [
@@ -689,7 +689,7 @@ function SidebarItem(props) {
style: {
fontSize: 0 === depth ? '14px' : '13px',
marginLeft: 0 === depth ? 0 : '18px',
- borderRadius: '0 var(--rp-radius) var(--rp-radius) 0',
+ borderRadius: '0 0 0 0',
...0 === depth ? highlightTitleStyle : {}
},
children: [
Loading
Loading