Skip to content

Commit 4ca5966

Browse files
committed
chore: remove OG image generation
OG images are now generated at runtime by the web server. Removed og:* scripts from package.json, assets/og/ directory, and OG references from CLAUDE.md and README.md.
1 parent cd37ddd commit 4ca5966

10 files changed

Lines changed: 3 additions & 8 deletions

CLAUDE.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MDMbox Documentation
22

3-
This is a documentation repository for MDMbox. It uses Health Samurai's `docs-tools` for linting, image optimization, and OG image generation.
3+
This is a documentation repository for MDMbox. It uses Health Samurai's `docs-tools` for linting and image optimization.
44

55
All documentation is written in **English**.
66

@@ -9,7 +9,6 @@ All documentation is written in **English**.
99
```
1010
docs/ — markdown files (documentation pages)
1111
assets/ — images and downloadable files
12-
assets/og/ — auto-generated Open Graph images (do not edit)
1312
SUMMARY.md — table of contents and navigation
1413
docs-lint.yaml — linter configuration
1514
redirects.yaml — URL redirects
@@ -72,7 +71,6 @@ Place images in `assets/` directory (use subdirectories to organize, e.g. `asset
7271
- Supported formats: PNG, JPG, JPEG, GIF, SVG, WebP, AVIF
7372
- CI automatically converts images to AVIF and updates references — commit as PNG/JPG, optimization happens on push
7473
- To optimize locally before pushing: `bun images:optimize`
75-
- Do not edit files in `assets/og/` — these are auto-generated Open Graph images
7674

7775
### Mermaid Diagrams
7876

@@ -254,4 +252,4 @@ Common lint errors and how to fix them:
254252
- **deprecated-links** — link points to a page in a deprecated directory. Update to current page.
255253
- **absolute-links** — hardcoded absolute URL to own docs domain. Use relative markdown links instead.
256254
257-
CI automatically optimizes images and generates OG images on push.
255+
CI automatically optimizes images on push.

assets/og/configure-mdm-module.png

-18.8 KB
Binary file not shown.
-18.6 KB
Binary file not shown.

assets/og/index.png

-21.2 KB
Binary file not shown.
-20.1 KB
Binary file not shown.

assets/og/mathematical-details.png

-18 KB
Binary file not shown.
Binary file not shown.

assets/og/rbac.png

-17.7 KB
Binary file not shown.

assets/og/run-mdm-locally.png

-16.2 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
"lint:json": "docs-lint --json",
99
"images:check": "docs-images check",
1010
"images:optimize": "docs-images optimize",
11-
"images:dry-run": "docs-images optimize --dry-run",
12-
"og:generate": "docs-og generate",
13-
"og:dry-run": "docs-og generate --dry-run",
14-
"og:diff": "docs-og generate --diff"
11+
"images:dry-run": "docs-images optimize --dry-run"
1512
},
1613
"devDependencies": {
1714
"docs-tools": "github:HealthSamurai/docs-tools"

0 commit comments

Comments
 (0)