@@ -70,7 +70,7 @@ flowchart TD
70
70
71
71
B --> B1["`**remote-content/remote-content.js**
72
72
🎯 Main entry point - imports all sources`"]
73
- B --> B2["`**remote-sources/[ category]/[ name] .js**
73
+ B --> B2["`**remote-sources/category/ name.js**
74
74
⚙️ Individual content configurations`"]
75
75
B --> B3["`**component-configs.js**
76
76
📋 Central repository definitions`"]
@@ -91,13 +91,13 @@ flowchart TD
91
91
🛠️ Apply multiple transformation layers`"]
92
92
93
93
C3 --> C3a["`**MDX Compatibility**
94
- • <br> → <br />
95
- • Fix unclosed HTML tags
94
+ • Fix HTML tag formatting
95
+ • Close unclosed HTML tags
96
96
• Escape JSX expressions`"]
97
97
98
98
C3a --> C3b["`**Link & Image Fixing**
99
- • ./docs/file.md → github.com/org/repo/blob/main/docs/file.md
100
- • ./ image.png → github.com/org/repo/ raw/main/image.png `"]
99
+ • Convert relative links to GitHub URLs
100
+ • Convert image paths to GitHub raw URLs `"]
101
101
102
102
C3b --> C3c["`**Frontmatter Addition**
103
103
• title, description, sidebar config
@@ -112,7 +112,7 @@ flowchart TD
112
112
113
113
D --> D1["`**docs/architecture/**
114
114
• architecture.mdx (main repo)
115
- • Components/[ name] .md (auto-generated)`"]
115
+ • Components/component- name.md (auto-generated)`"]
116
116
117
117
D --> D2["`**docs/guide/**
118
118
• Installation guides
@@ -173,19 +173,19 @@ graph TD
173
173
174
174
I --> I1["`**Step 1: MDX Fixes**
175
175
repo-transforms.js<br/>
176
- • Fix <br> tags → <br /> <br/>
176
+ • Fix HTML tag formatting <br/>
177
177
• Fix unclosed HTML tags<br/>
178
178
• Escape JSX expressions`"]
179
179
180
180
I1 --> I2["`**Step 2: Image Resolution**
181
181
repo-transforms.js<br/>
182
- •  →  <br/>
183
- • < img src='./path'> → <img src='github- raw-url'> `"]
182
+ • Markdown images to GitHub raw URLs <br/>
183
+ • HTML img tags to GitHub raw URLs `"]
184
184
185
185
I2 --> I3["`**Step 3: Link Resolution**
186
186
repo-transforms.js<br/>
187
- • [text](./file.md) → [text](github- blob-url) <br/>
188
- • [label]: ./path → [label]: github- blob-url `"]
187
+ • Relative links to GitHub blob URLs <br/>
188
+ • Reference links to GitHub blob URLs `"]
189
189
190
190
I3 --> I4["`**Step 4: Content Wrapping**
191
191
utils.js - createContentWithSource()<br/>
@@ -199,7 +199,7 @@ graph TD
199
199
sidebar_label: Inference Scheduler<br/>
200
200
sidebar_position: 1<br/>
201
201
---<br/><br/>
202
- [ TRANSFORMED CONTENT] <br/><br/>
202
+ TRANSFORMED CONTENT<br/><br/>
203
203
:::info Content Source<br/>
204
204
This content is automatically synced...<br/>
205
205
:::`"]
@@ -228,7 +228,7 @@ graph TD
228
228
graph TB
229
229
subgraph DOCUSAURUS["**Docusaurus Integration**"]
230
230
DC["`**docusaurus.config.js**
231
- plugins: [ ...remoteContentPlugins] `"]
231
+ plugins: ...remoteContentPlugins`"]
232
232
end
233
233
234
234
subgraph MAIN["**Main Entry Point**"]
@@ -260,7 +260,7 @@ graph TB
260
260
subgraph SOURCES["**Content Source Configurations**"]
261
261
subgraph ARCH["**Architecture Sources**"]
262
262
AM["`**architecture-main.js**
263
- Main repo README → architecture.mdx`"]
263
+ Main repo README to architecture.mdx`"]
264
264
CG["`**components-generator.js**
265
265
Auto-generates component docs`"]
266
266
end
0 commit comments