mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 03:29:19 +02:00
- Move markdown and wiki-import tree into docs/; keep app shell at repo root - Point docusaurus docs path to docs/; edit links to mleem97/gregWiki - Sync and i18n scripts use gregWiki root and ../.wiki under gregFramework - Sidebars: workspace layout from root docs ids; plugins under mods/extensions - Fix redirects, module catalog URLs, release note paths, and wiki-import category keys - Update repo inventory for split repos; Dockerfile for single-repo context Made-with: Cursor
59 lines
1.1 KiB
Markdown
59 lines
1.1 KiB
Markdown
# Greg Wiki (Docusaurus)
|
|
|
|
This folder is configured as a Docusaurus site using the existing Markdown wiki files.
|
|
|
|
## Local run
|
|
|
|
```bash
|
|
npm install
|
|
npm run start
|
|
```
|
|
|
|
## Production build
|
|
|
|
```bash
|
|
npm run build
|
|
npm run serve
|
|
```
|
|
|
|
## Coolify deployment notes
|
|
|
|
- Build command: `npm install ; npm run build`
|
|
- Start command: `npm run serve -- --host 0.0.0.0 --port $PORT`
|
|
- Port: `3000` (or use Coolify `$PORT`)
|
|
|
|
If you use Docker deployment mode in Coolify, this repo includes a `Dockerfile`.
|
|
|
|
## Multi-repo wiki import
|
|
|
|
This workspace can import GitHub wiki pages for every repository of one or more owners.
|
|
|
|
- Config file: `wiki-import.config.json`
|
|
- Import script: `scripts/import-wikis.mjs`
|
|
|
|
### Configure owners
|
|
|
|
Edit `wiki-import.config.json`:
|
|
|
|
```json
|
|
{
|
|
"owners": [
|
|
{
|
|
"name": "mleem97",
|
|
"destination": "Repos/mleem97"
|
|
}
|
|
],
|
|
"includeArchived": false,
|
|
"perPage": 100
|
|
}
|
|
```
|
|
|
|
### Run import
|
|
|
|
```bash
|
|
npm run import:wikis:dry
|
|
npm run import:wikis
|
|
```
|
|
|
|
Imported docs are placed under owner/repo folders such as `Repos/mleem97/<repo>/` and automatically appear in the Docusaurus sidebar.
|