Skip to content

Commit 179f9c8

Browse files
authored
DOC-3402: Update LLM files with TinyMCE AI pages and fix categorization (#4041)
Add tinymceai and tinymceai-* paths to the AI Features category in generate-llm-files.js so all 15 TinyMCE AI pages are included in generated output. Add 'Other' to categoryStructure to prevent silent drops. Add dedicated TinyMCE AI section to llms.txt template noting AI Assistant is legacy. Regenerate both llms.txt and llms-full.txt.
1 parent 4edd8ea commit 179f9c8

3 files changed

Lines changed: 80 additions & 11 deletions

File tree

-scripts/generate-llm-files.js

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,8 @@ function categorizeUrl(urlPath) {
493493
}
494494

495495
// Premium Features - AI Features
496-
if (urlPath === 'ai' || urlPath.startsWith('ai-')) {
496+
if (urlPath === 'ai' || urlPath.startsWith('ai-') ||
497+
urlPath === 'tinymceai' || urlPath.startsWith('tinymceai-')) {
497498
return { category: 'Premium Features', subcategory: 'AI Features' };
498499
}
499500

@@ -1047,7 +1048,8 @@ export default {
10471048
{ category: 'Release Information', subcategory: null },
10481049
{ category: 'Accessibility & Security', subcategory: null },
10491050
{ category: 'Support & Resources', subcategory: null },
1050-
{ category: 'Legacy & Other', subcategory: null }
1051+
{ category: 'Legacy & Other', subcategory: null },
1052+
{ category: 'Other', subcategory: null }
10511053
];
10521054

10531055
let currentMainCategory = null;
@@ -1176,6 +1178,24 @@ function App() {
11761178
- [Image Plugin](${BASE_URL}/image/): Image handling and editing
11771179
- [Link Plugin](${BASE_URL}/link/): Link management
11781180
1181+
## TinyMCE AI (Premium)
1182+
1183+
TinyMCE AI (\`tinymceai\` plugin) is the current AI writing assistant for TinyMCE. It provides chat, review, and quick actions powered by multiple LLM providers. The earlier AI Assistant (\`ai\` plugin) is legacy; new integrations should use TinyMCE AI.
1184+
1185+
- [TinyMCE AI Introduction](${BASE_URL}/tinymceai-introduction/): Overview of TinyMCE AI features and capabilities
1186+
- [Chat](${BASE_URL}/tinymceai-chat/): Conversational AI with history and persistent context
1187+
- [Review](${BASE_URL}/tinymceai-review/): Content analysis and proofreading
1188+
- [Actions](${BASE_URL}/tinymceai-actions/): Fast, stateless AI operations for specific tasks
1189+
- [AI Models](${BASE_URL}/tinymceai-models/): Supported AI models and configuration
1190+
- [Plugin Configuration](${BASE_URL}/tinymceai/): \`tinymceai\` plugin options and setup
1191+
- [Integration Options](${BASE_URL}/tinymceai-integration-options/): Cloud and self-hosted integration paths
1192+
- [API Overview](${BASE_URL}/tinymceai-api-overview/): TinyMCE AI API for use inside and outside the editor
1193+
- [API Quick Start](${BASE_URL}/tinymceai-api-quick-start/): Get started with the TinyMCE AI API
1194+
- [Streaming](${BASE_URL}/tinymceai-streaming/): Streaming responses from the AI API
1195+
- [JWT Authentication](${BASE_URL}/tinymceai-jwt-authentication-intro/): Authentication setup for TinyMCE AI
1196+
- [Limits](${BASE_URL}/tinymceai-limits/): Rate limits and usage constraints
1197+
- [AI Assistant (legacy)](${BASE_URL}/ai/): Earlier \`ai\` plugin — use TinyMCE AI for new projects
1198+
11791199
## API Reference
11801200
11811201
- [Editor API](${BASE_URL}/apis/tinymce.editor/): Core editor API

modules/ROOT/attachments/llms-full.txt

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export default {
219219

220220
## Complete Documentation Index
221221

222-
This section provides a complete list of all 395 documentation pages available in TinyMCE 8, organized by category. This comprehensive index ensures LLMs have access to every documentation page, reducing the risk of hallucinations or missing important details.
222+
This section provides a complete list of all 411 documentation pages available in TinyMCE 8, organized by category. This comprehensive index ensures LLMs have access to every documentation page, reducing the risk of hallucinations or missing important details.
223223

224224
### Getting Started & Installation
225225

@@ -433,6 +433,21 @@ This section provides a complete list of all 395 documentation pages available i
433433
- **Azure AI integration guide**: https://www.tiny.cloud/docs/tinymce/latest/ai-azure/
434434
- **Google Gemini integration guide**: https://www.tiny.cloud/docs/tinymce/latest/ai-gemini/
435435
- **OpenAI ChatGPT integration guide**: https://www.tiny.cloud/docs/tinymce/latest/ai-openai/
436+
- **TinyMCE AI API Overview**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-api-overview/
437+
- **TinyMCE AI API Quick Start**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-api-quick-start/
438+
- **TinyMCE AI Chat**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-chat/
439+
- **TinyMCE AI Integration Options**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-integration-options/
440+
- **TinyMCE AI Introduction**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-introduction/
441+
- **TinyMCE AI JWT Authentication**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-jwt-authentication-intro/
442+
- **TinyMCE AI JWT Permissions**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-permissions/
443+
- **TinyMCE AI Limits**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-limits/
444+
- **TinyMCE AI Models**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-models/
445+
- **TinyMCE AI Plugin**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai/
446+
- **TinyMCE AI Quick Actions**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-actions/
447+
- **TinyMCE AI Review**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-review/
448+
- **TinyMCE AI Streaming**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-streaming/
449+
- **TinyMCE AI with JWT authentication (Node.js) Guide**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-with-jwt-authentication-nodejs/
450+
- **TinyMCE AI with JWT authentication (PHP) Guide**: https://www.tiny.cloud/docs/tinymce/latest/tinymceai-with-jwt-authentication-php/
436451

437452
#### Comments & Collaboration
438453
- **Commands, Events and APIs for the Comments plugin**: https://www.tiny.cloud/docs/tinymce/latest/comments-commands-events-apis/
@@ -450,14 +465,17 @@ This section provides a complete list of all 395 documentation pages available i
450465
#### Export & Import
451466
- **Docx to HTML Converter API**: https://www.tiny.cloud/docs/tinymce/latest/docx-to-html-converter-api/
452467
- **Export to PDF plugin**: https://www.tiny.cloud/docs/tinymce/latest/exportpdf/
453-
- **Export to PDF with JWT authentication (Node.js) Guide**: https://www.tiny.cloud/docs/tinymce/latest/export-to-pdf-with-jwt-authentication-nodejs/
454-
- **Export to PDF with JWT authentication (PHP) Guide**: https://www.tiny.cloud/docs/tinymce/latest/export-to-pdf-with-jwt-authentication-php/
468+
- **Export to PDF with JWT authentication (Node.js) Guide (nodejs)**: https://www.tiny.cloud/docs/tinymce/latest/export-to-pdf-v2-with-jwt-authentication-nodejs/
469+
- **Export to PDF with JWT authentication (Node.js) Guide (nodejs)**: https://www.tiny.cloud/docs/tinymce/latest/export-to-pdf-with-jwt-authentication-nodejs/
470+
- **Export to PDF with JWT authentication (PHP) Guide (php)**: https://www.tiny.cloud/docs/tinymce/latest/export-to-pdf-v2-with-jwt-authentication-php/
471+
- **Export to PDF with JWT authentication (PHP) Guide (php)**: https://www.tiny.cloud/docs/tinymce/latest/export-to-pdf-with-jwt-authentication-php/
455472
- **Export to Word plugin**: https://www.tiny.cloud/docs/tinymce/latest/exportword/
456473
- **Export to Word Standalone Service**: https://www.tiny.cloud/docs/tinymce/latest/export-to-word-standalone-service/
457474
- **Export to Word with JWT authentication (Node.js) Guide**: https://www.tiny.cloud/docs/tinymce/latest/export-to-word-with-jwt-authentication-nodejs/
458475
- **Export to Word with JWT authentication (PHP) Guide**: https://www.tiny.cloud/docs/tinymce/latest/export-to-word-with-jwt-authentication-php/
459476
- **HTML to Docx Converter API**: https://www.tiny.cloud/docs/tinymce/latest/html-to-docx-converter-api/
460-
- **HTML to PDF Converter API**: https://www.tiny.cloud/docs/tinymce/latest/html-to-pdf-converter-api/
477+
- **HTML to PDF Converter API (api)**: https://www.tiny.cloud/docs/tinymce/latest/html-to-pdf-converter-api/
478+
- **HTML to PDF Converter API (v2)**: https://www.tiny.cloud/docs/tinymce/latest/html-to-pdf-converter-api-v2/
461479
- **Import from Word Standalone Service**: https://www.tiny.cloud/docs/tinymce/latest/import-from-word-standalone-service/
462480
- **Import from Word with JWT authentication (Node.js) Guide**: https://www.tiny.cloud/docs/tinymce/latest/import-from-word-with-jwt-authentication-nodejs/
463481
- **Import from Word with JWT authentication (PHP) Guide**: https://www.tiny.cloud/docs/tinymce/latest/import-from-word-with-jwt-authentication-php/
@@ -543,6 +561,7 @@ This section provides a complete list of all 395 documentation pages available i
543561
- **Bundling an NPM version of TinyMCE with CommonJS and Browserify**: https://www.tiny.cloud/docs/tinymce/latest/browserify-cjs-npm/
544562
- **Bundling an NPM version of TinyMCE with ES6 and Rollup.js**: https://www.tiny.cloud/docs/tinymce/latest/rollup-es6-npm/
545563
- **Bundling the User Interface localizations for TinyMCE**: https://www.tiny.cloud/docs/tinymce/latest/bundling-localization/
564+
- **Bundling TinyMCE - Overview**: https://www.tiny.cloud/docs/tinymce/latest/bundling-guide/
546565
- **Bundling TinyMCE content CSS using module loading**: https://www.tiny.cloud/docs/tinymce/latest/bundling-content-css/
547566
- **Bundling TinyMCE from NPM using Webpack and CommonJS**: https://www.tiny.cloud/docs/tinymce/latest/webpack-cjs-npm/
548567
- **Bundling TinyMCE from NPM with ES6 and Vite**: https://www.tiny.cloud/docs/tinymce/latest/vite-es6-npm/
@@ -624,11 +643,8 @@ This section provides a complete list of all 395 documentation pages available i
624643
### Migration Guides
625644

626645
- **Migrating from Froala to TinyMCE**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-froala/
627-
- **Migrating from TinyMCE 4 to TinyMCE 7.0**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-4x/
628646
- **Migrating from TinyMCE 4 to TinyMCE 8**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-4x-to-8x/
629-
- **Migrating from TinyMCE 5 to TinyMCE 7.0**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-5x/
630647
- **Migrating from TinyMCE 5 to TinyMCE 8**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-5x-to-8x/
631-
- **Migrating from TinyMCE 6 to TinyMCE 7.0**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-6x/
632648
- **Migrating from TinyMCE 6 to TinyMCE 8**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-6x-to-8x/
633649
- **Migrating from TinyMCE 7 to TinyMCE 8**: https://www.tiny.cloud/docs/tinymce/latest/migration-from-7x/
634650
- **TinyMCE Migration Guides**: https://www.tiny.cloud/docs/tinymce/latest/migration-guides/
@@ -673,6 +689,7 @@ This section provides a complete list of all 395 documentation pages available i
673689
- **TinyMCE 8.3.0**: https://www.tiny.cloud/docs/tinymce/latest/8.3.0-release-notes/
674690
- **TinyMCE 8.3.1**: https://www.tiny.cloud/docs/tinymce/latest/8.3.1-release-notes/
675691
- **TinyMCE 8.3.2**: https://www.tiny.cloud/docs/tinymce/latest/8.3.2-release-notes/
692+
- **TinyMCE 8.4.0**: https://www.tiny.cloud/docs/tinymce/latest/8.4.0-release-notes/
676693

677694

678695
### Accessibility & Security
@@ -689,11 +706,25 @@ This section provides a complete list of all 395 documentation pages available i
689706

690707
- **Premium upgrade promotion**: https://www.tiny.cloud/docs/tinymce/latest/promotions/
691708
- **Support**: https://www.tiny.cloud/docs/tinymce/latest/support/
692-
- **Tiny Docs Ai**: https://www.tiny.cloud/docs/tinymce/latest/tiny-docs-ai/
693709

694710

695711
### Legacy & Other
696712

697713
- **Interactive integration example**: https://www.tiny.cloud/docs/tinymce/latest/ie-template-creation/
698714
- **MoxieManager plugin**: https://www.tiny.cloud/docs/tinymce/latest/moxiemanager/
699715

716+
717+
### Other
718+
719+
- **Adding or changing the editor content CSS**: https://www.tiny.cloud/docs/tinymce/latest/add-css-options/
720+
- **Autocompleter**: https://www.tiny.cloud/docs/tinymce/latest/autocompleter/
721+
- **Changing user formatting controls**: https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/
722+
- **Copy & paste options**: https://www.tiny.cloud/docs/tinymce/latest/copy-and-paste/
723+
- **Creating custom URL dialogs**: https://www.tiny.cloud/docs/tinymce/latest/urldialog/
724+
- **Custom sidebar**: https://www.tiny.cloud/docs/tinymce/latest/customsidebar/
725+
- **Inline CSS plugin**: https://www.tiny.cloud/docs/tinymce/latest/inline-css/
726+
- **Localization options**: https://www.tiny.cloud/docs/tinymce/latest/ui-localization/
727+
- **Non-editable content**: https://www.tiny.cloud/docs/tinymce/latest/non-editable-content-options/
728+
- **TinyMCE 8 Documentation**: https://www.tiny.cloud/docs/tinymce/latest/
729+
- **User Lookup API**: https://www.tiny.cloud/docs/tinymce/latest/userlookup/
730+

modules/ROOT/attachments/llms.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,24 @@ function App() {
8989
- [Image Plugin](https://www.tiny.cloud/docs/tinymce/latest/image/): Image handling and editing
9090
- [Link Plugin](https://www.tiny.cloud/docs/tinymce/latest/link/): Link management
9191

92+
## TinyMCE AI (Premium)
93+
94+
TinyMCE AI (`tinymceai` plugin) is the current AI writing assistant for TinyMCE. It provides chat, review, and quick actions powered by multiple LLM providers. The earlier AI Assistant (`ai` plugin) is legacy; new integrations should use TinyMCE AI.
95+
96+
- [TinyMCE AI Introduction](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-introduction/): Overview of TinyMCE AI features and capabilities
97+
- [Chat](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-chat/): Conversational AI with history and persistent context
98+
- [Review](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-review/): Content analysis and proofreading
99+
- [Actions](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-actions/): Fast, stateless AI operations for specific tasks
100+
- [AI Models](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-models/): Supported AI models and configuration
101+
- [Plugin Configuration](https://www.tiny.cloud/docs/tinymce/latest/tinymceai/): `tinymceai` plugin options and setup
102+
- [Integration Options](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-integration-options/): Cloud and self-hosted integration paths
103+
- [API Overview](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-api-overview/): TinyMCE AI API for use inside and outside the editor
104+
- [API Quick Start](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-api-quick-start/): Get started with the TinyMCE AI API
105+
- [Streaming](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-streaming/): Streaming responses from the AI API
106+
- [JWT Authentication](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-jwt-authentication-intro/): Authentication setup for TinyMCE AI
107+
- [Limits](https://www.tiny.cloud/docs/tinymce/latest/tinymceai-limits/): Rate limits and usage constraints
108+
- [AI Assistant (legacy)](https://www.tiny.cloud/docs/tinymce/latest/ai/): Earlier `ai` plugin — use TinyMCE AI for new projects
109+
92110
## API Reference
93111

94112
- [Editor API](https://www.tiny.cloud/docs/tinymce/latest/apis/tinymce.editor/): Core editor API
@@ -101,5 +119,5 @@ function App() {
101119

102120
## Complete Documentation
103121

104-
For a complete list of all 395 documentation pages, see [llms-full.txt](https://www.tiny.cloud/docs/llms-full.txt).
122+
For a complete list of all 411 documentation pages, see [llms-full.txt](https://www.tiny.cloud/docs/llms-full.txt).
105123

0 commit comments

Comments
 (0)