You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<img src=".github/media/caps_light.png" alt="Default case - Light">
55
+

56
56
</td>
57
57
<td width="50%">
58
-
<img src=".github/media/caps_dark.png" alt="Default case - Dark">
58
+

59
59
</td>
60
60
</tr>
61
61
</table>
@@ -115,7 +115,7 @@ services:
115
115
- /path/to/your/public:/app/public
116
116
```
117
117
118
-
> [!TIP]
118
+
> [!TIP]
119
119
> Use an absolute path for the volume mount (e.g., `/home/user/my-site/public`). Relative paths may not work correctly with tools like Portainer.
120
120
121
121
Run:
@@ -132,7 +132,7 @@ docker compose restart
132
132
133
133
### Other Deployment Options
134
134
135
-
> [!NOTE]
135
+
> [!NOTE]
136
136
> In this case, you need to replace the content in `public/` with your own.
137
137
138
138
Once you have your Fork or branch ready, you can deploy the app but the reader position Permalinks as well as the Body of Work links will fail. This is due to SPA handling of paths and (from my understanding) how React works. But this can be fixed.
@@ -193,7 +193,7 @@ Tell everyone everything!
193
193
194
194
## Theming
195
195
196
-
> [!NOTE]
196
+
> [!NOTE]
197
197
> For complete theming documentation, including all available presets, customization options, and local font support, see [THEMING.md](https://github.com/DeepanshKhurana/ode/blob/main/THEMING.md)
198
198
199
199
Ode comes with 10 built-in themes that you can use and customize. Switch between presets, override colors and fonts, or build your own theme from scratch.
This is the documentation site for **Ode**, built with [Docusaurus](https://docusaurus.io/).
4
+
5
+
## Overview
6
+
7
+
The documentation is programmatically linked to the root markdown files of the Ode project. This ensures that the documentation site is always in sync with the main repository without duplicating content.
8
+
9
+
## Local Development
10
+
11
+
```bash
12
+
npm install
13
+
npm start
14
+
```
15
+
16
+
This command starts a local development server. Most changes are reflected live.
17
+
18
+
## Build
19
+
20
+
```bash
21
+
npm run build
22
+
```
23
+
24
+
This command generates static content into the `build` directory.
25
+
26
+
## Changes
27
+
28
+
Some changes are made to the default Docusaurus way of doing things.
29
+
30
+
-**Live Imports**: Root markdown files are inlined during the build process.
31
+
-**GitHub Alerts**: GitHub-style admonitions (`> [!NOTE]`) are automatically converted to Docusaurus callouts.
32
+
-**Image Resolution**: Images in `.github/media/` are automatically resolved and made clickable.
33
+
-**Search**: Local search is powered by `@easyops-cn/docusaurus-search-local`.
0 commit comments