Skip to content

Commit 7ff82a2

Browse files
committed
feat: Documentation for Editors and OT
Signed-off-by: Progyan Bhattacharya <bprogyan@gmail.com>
1 parent 5ed989d commit 7ff82a2

22 files changed

+1249
-656
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- commit-message:
4+
prefix: chore(workflow)
5+
directory: "/"
6+
package-ecosystem: "github-actions"
7+
schedule:
8+
interval: "weekly"
9+
10+
- commit-message:
11+
include: scope
12+
prefix: chore
13+
directory: /
14+
groups:
15+
production-dependencies:
16+
dependency-type: "production"
17+
development-dependencies:
18+
dependency-type: "development"
19+
package-ecosystem: npm
20+
schedule:
21+
interval: daily
22+
versioning-strategy: increase-if-necessary

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.16.0

astro.config.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import mdx from "@astrojs/mdx";
2+
import icon from "astro-icon";
23
import react from "@astrojs/react";
4+
import sharp from "sharp";
35
import sitemap from "@astrojs/sitemap";
46
import tailwindcss from "@tailwindcss/vite";
57
import { defineConfig } from "astro/config";
@@ -8,14 +10,18 @@ import { defineConfig } from "astro/config";
810
export default defineConfig({
911
site: "https://ot.js.org",
1012
compressHTML: true,
13+
image: {
14+
service: sharp(),
15+
},
1116
integrations: [
17+
icon(),
18+
react(),
1219
mdx({
1320
syntaxHighlight: "shiki",
1421
shikiConfig: { theme: 'github-dark-dimmed' },
1522
gfm: true,
1623
}),
1724
sitemap(),
18-
react(),
1925
],
2026
prefetch: {
2127
prefetchAll: true,
@@ -24,6 +30,7 @@ export default defineConfig({
2430
redirects: {
2531
"/docs": "/docs/getting-started"
2632
},
33+
trailingSlash: "never",
2734
vite: {
2835
plugins: [tailwindcss()],
2936
},

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"description": "Documentation site for Operational Transformation Package",
55
"scripts": {
6-
"dev": "astro dev --host 0.0.0.0 --verbose",
6+
"dev": "astro dev --host 0.0.0.0",
77
"start": "astro dev",
88
"build": "astro build",
99
"preview": "astro preview",
@@ -24,6 +24,13 @@
2424
"@astrojs/react": "4.3.0",
2525
"@astrojs/rss": "4.0.12",
2626
"@astrojs/sitemap": "3.5.1",
27+
"@iconify-json/ant-design": "1.2.5",
28+
"@iconify-json/codicon": "1.2.31",
29+
"@iconify-json/ic": "1.2.4",
30+
"@iconify-json/lucide": "1.2.73",
31+
"@iconify-json/mdi": "1.2.3",
32+
"@iconify-json/ph": "1.2.2",
33+
"@iconify-json/simple-icons": "1.2.58",
2734
"@radix-ui/react-accordion": "1.2.12",
2835
"@radix-ui/react-dialog": "1.1.15",
2936
"@radix-ui/react-navigation-menu": "1.2.14",
@@ -49,6 +56,7 @@
4956
"@otjs/firebase-ace": "0.2.2",
5057
"@otjs/firebase-monaco": "0.2.2",
5158
"@tailwindcss/typography": "0.5.16",
59+
"@theprodev/tsconfigs": "0.3.0",
5260
"@types/react": "19.1.11",
5361
"@types/react-dom": "19.1.7",
5462
"firebase": "~12.1.0",
@@ -60,6 +68,7 @@
6068
"prettier-plugin-astro": "0.14.1",
6169
"remark": "15.0.1",
6270
"sass": "1.90.0",
71+
"sharp": "0.34.5",
6372
"unist-util-visit": "5.0.0"
6473
},
6574
"packageManager": "pnpm@10.15.0+sha512.486ebc259d3e999a4e8691ce03b5cac4a71cbeca39372a9b762cb500cfdf0873e2cb16abe3d951b1ee2cf012503f027b98b6584e4df22524e0c7450d9ec7aa7b"

0 commit comments

Comments
 (0)