Skip to content

Commit 516437d

Browse files
committed
docs: Add complete v1.2 documentation
- New /docs/v1-2-features page with comprehensive guide - New /docs/releases/v1-2 release notes page - Updated main docs page with v1.2 card - Updated releases page with v1.2 entry - All pages built and tested
1 parent 0c9d63c commit 516437d

File tree

4 files changed

+716
-7
lines changed

4 files changed

+716
-7
lines changed

app/docs/page.tsx

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,23 @@ export default function DocsPage() {
6060
]}
6161
/>
6262

63+
{/* v1.2 Features */}
64+
<DocCard
65+
icon={<Sparkle size={32} weight="duotone" />}
66+
title="v1.2 Features (NEW)"
67+
description="Tables, Includes & Enterprise Security"
68+
links={[
69+
{ text: 'Complete v1.2 Guide', href: '/docs/v1-2-features' },
70+
{ text: '@table Blocks', href: '/docs/v1-2-features#table' },
71+
{ text: '@include Directive', href: '/docs/v1-2-features#include' },
72+
{ text: 'Security Grade A+', href: '/docs/v1-2-features#security' }
73+
]}
74+
/>
75+
6376
{/* v1.1 Features */}
6477
<DocCard
6578
icon={<Sparkle size={32} weight="duotone" />}
66-
title="v1.1 Features (NEW)"
79+
title="v1.1 Features"
6780
description="Enhanced formatting and security"
6881
links={[
6982
{ text: 'Complete v1.1 Guide', href: '/docs/v1-1-features' },
@@ -115,7 +128,8 @@ export default function DocsPage() {
115128
title="Releases"
116129
description="Release notes and changelogs"
117130
links={[
118-
{ text: 'v1.1 Release Notes (Latest)', href: '/docs/releases/v1-1' },
131+
{ text: 'v1.2 Release Notes (Latest)', href: '/docs/releases/v1-2' },
132+
{ text: 'v1.1 Release Notes', href: '/docs/releases/v1-1' },
119133
{ text: 'v1.0 Release Notes', href: '/docs/releases/v1-0' },
120134
{ text: 'All Releases', href: '/docs/releases' },
121135
{ text: 'Changelog', href: 'https://github.com/OmniScriptOSF/omniscript-core/blob/main/CHANGELOG.md' }
@@ -128,8 +142,8 @@ export default function DocsPage() {
128142
title="Resources"
129143
description="Additional learning materials"
130144
links={[
131-
{ text: 'Specification v1.1 (Current)', href: 'https://github.com/OmniScriptOSF/omniscript-core/blob/main/spec/v1.1/osf-spec.md' },
132-
{ text: 'Specification v1.0', href: 'https://github.com/OmniScriptOSF/omniscript-core/blob/main/spec/v1.0/osf-spec.md' },
145+
{ text: 'Specification v1.2 (Current)', href: 'https://github.com/OmniScriptOSF/omniscript-core/blob/main/spec/v1.2/osf-spec.md' },
146+
{ text: 'Specification v1.1', href: 'https://github.com/OmniScriptOSF/omniscript-core/blob/main/spec/v1.1/osf-spec.md' },
133147
{ text: 'GitHub Repository', href: 'https://github.com/OmniScriptOSF/omniscript-core' },
134148
{ text: 'VSCode Extension', href: 'https://marketplace.visualstudio.com/items?itemName=OmniScriptOSF.omniscript-vscode' }
135149
]}

app/docs/releases/page.tsx

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,51 @@ export default function ReleasesPage() {
2121
View release notes, changelogs, and migration guides for all versions of OmniScript Format.
2222
</p>
2323

24+
{/* v1.2 - Tables & Includes */}
25+
<div className="mb-12 border-2 border-green-500 p-6">
26+
<div className="flex items-center gap-4 mb-4">
27+
<h2 className="text-3xl font-bold">v1.2.0</h2>
28+
<span className="px-3 py-1 bg-green-500 text-black text-sm font-bold">
29+
LATEST RELEASE
30+
</span>
31+
<span className="text-gray-400">October 16, 2025</span>
32+
</div>
33+
34+
<p className="text-gray-300 mb-4">
35+
<CheckCircle size={20} weight="duotone" className="inline mr-2" />
36+
Major update! Tables, modular documents, and enterprise-grade security.
37+
</p>
38+
39+
<div className="mb-4">
40+
<h3 className="text-xl font-bold mb-2">✨ What's New</h3>
41+
<ul className="list-disc list-inside space-y-1 text-gray-300">
42+
<li>@table blocks - Markdown-style tables with captions, alignment, styling</li>
43+
<li>@include directive - Modular documents with file composition</li>
44+
<li>Security Grade A+ - Path traversal protection, ReDoS prevention</li>
45+
<li>203 tests passing (130 core + 73 converters)</li>
46+
<li>85-91% code reduction - Highly modular architecture</li>
47+
<li>Zero breaking changes - Fully backward compatible</li>
48+
</ul>
49+
</div>
50+
51+
<div className="flex gap-4">
52+
<a
53+
href="/docs/releases/v1-2"
54+
className="px-6 py-3 bg-white text-black font-bold hover:bg-gray-200"
55+
>
56+
Read Full Release Notes →
57+
</a>
58+
<a
59+
href="https://github.com/OmniScriptOSF/omniscript-core/releases/tag/v1.2.0"
60+
className="px-6 py-3 border-2 border-white hover:bg-white hover:text-black font-bold"
61+
target="_blank"
62+
rel="noopener noreferrer"
63+
>
64+
View on GitHub
65+
</a>
66+
</div>
67+
</div>
68+
2469
{/* v1.0 - Production Release */}
2570
<div className="mb-12 border-2 border-green-500 p-6">
2671
<div className="flex items-center gap-4 mb-4">
@@ -107,10 +152,43 @@ export default function ReleasesPage() {
107152
</a>
108153
</div>
109154

155+
{/* v1.1 - Enhanced Features */}
156+
<div className="mb-12 border-2 border-white p-6">
157+
<div className="flex items-center gap-4 mb-4">
158+
<h2 className="text-3xl font-bold">v1.1.0</h2>
159+
<span className="px-3 py-1 bg-gray-700 text-white text-sm font-bold">
160+
STABLE
161+
</span>
162+
<span className="text-gray-400">October 16, 2025</span>
163+
</div>
164+
165+
<p className="text-gray-300 mb-4">
166+
Enhanced formatting and security improvements.
167+
</p>
168+
169+
<div className="mb-4">
170+
<h3 className="text-xl font-bold mb-2">✨ What's New</h3>
171+
<ul className="list-disc list-inside space-y-1 text-gray-300">
172+
<li>Strikethrough text support (~~text~~)</li>
173+
<li>Ordered lists and blockquotes</li>
174+
<li>Unicode escape sequences</li>
175+
<li>Enhanced XSS protection</li>
176+
<li>Better error messages with line numbers</li>
177+
</ul>
178+
</div>
179+
180+
<a
181+
href="/docs/releases/v1-1"
182+
className="inline-block px-6 py-3 border-2 border-white hover:bg-white hover:text-black font-bold"
183+
>
184+
Read v1.1 Release Notes
185+
</a>
186+
</div>
187+
110188
{/* Upcoming */}
111189
<div className="border-2 border-blue-500 p-6">
112190
<div className="flex items-center gap-4 mb-4">
113-
<h2 className="text-3xl font-bold">v1.1</h2>
191+
<h2 className="text-3xl font-bold">v1.3</h2>
114192
<span className="px-3 py-1 bg-blue-500 text-black text-sm font-bold">
115193
PLANNED
116194
</span>
@@ -123,11 +201,11 @@ export default function ReleasesPage() {
123201
<div className="mb-4">
124202
<h3 className="text-xl font-bold mb-2">📋 Roadmap</h3>
125203
<ul className="list-disc list-inside space-y-1 text-gray-300">
126-
<li>@table block - Markdown-style tables</li>
127-
<li>@include directive - Import external files</li>
204+
<li>@table converter support (PDF, DOCX, PPTX)</li>
128205
<li>@variables - Template variables</li>
129206
<li>Custom themes system</li>
130207
<li>Plugin architecture</li>
208+
<li>Real-time collaboration</li>
131209
</ul>
132210
</div>
133211

0 commit comments

Comments
 (0)