Skip to content

Releases

[email protected] – GitHub Heading IDs, Codeblock Parsing & Link Fixes

Choose a tag to compare

@mgks mgks released this 16 Nov 17:37

docmd logo

GitHub Heading IDs, Codeblock Parsing & Link Fixes

v0.10.1 adds support for GitHub-compatible flat heading IDs, alongside fixes for codeblock preservation in MDX compilation, internal link normalization for filenames containing dots and query parameters, and sidebar parsing improvements in the MkDocs migration tool.

Added

  • GitHub-Compatible Flat Heading IDs (@docmd/parser): Added option "markdown": { "headingIds": "github" } (or per-page frontmatter headingIds: github) to generate flat heading IDs following GitHub's slugging convention (lowercase, drop punctuation without collapsing dashes, spaces to hyphens, and -1, -2 suffixes for duplicate headings on a page). By default, docmd preserves its existing hierarchical contextual heading IDs ("nested"). Suggested by @thinkbig1979 in #286.

Fixed

  • Codeblock Expression Stripping (@docmd/plugin-mdx, lite-mdx): Upgraded lite-mdx to 0.1.2 with robust CommonMark-compliant code fence scanning. Code blocks containing quotes, titles, or language attributes (such as ```json "docmd.config.json") are now strictly protected from JSX/MDX expression compilation. Additionally, @docmd/plugin-mdx now only triggers MDX processing on .md files when JSX syntax or imports/exports are present.
  • Internal Links with Dots & Query Strings (@docmd/parser): Fixed issue where links to Markdown pages with dots in their filename (e.g. release-1.0.md, docmd.config.md) were misclassified as raw file assets, skipping trailing slashes and subpage ../ depth shifts. Query strings (e.g. other.md?tab=npm, index.md?tab=npm) are now separated alongside hash fragments before extension stripping and properly preserved across relative depth shifts. Resolves #284.
  • MkDocs Navigation Migration (@docmd/core): Fixed docmd migrate --mkdocs to terminate navigation parsing at the next top-level YAML key (preventing plugins: and markdown_extensions: from being added to the sidebar), unquote quoted titles/paths, and map index.md to root / or subfolder <dir>/ routes. Contributed by @jayhemnani9910 in #285.
  • Dynamic Version Test Assertion: Updated test assertion in tests/cli-contracts/variables-engine.test.js to assert dynamically against registry.get('docmd.version'), preventing breakage during patch bumps.

Documentation & Diagnostics

  • Heading IDs & Link Normalization Guides: Added configuration and frontmatter reference documentation for markdown.headingIds, and documented link preservation for filenames containing dots and query parameters across all four locales.
  • Iconify Plugin Documentation: Added dedicated documentation and live interactive container examples (Callouts, Buttons, Cards, Tabs, Tags) across all four locales (en, de, es, zh) in plugins/iconify.md.
  • Nested Code Block Formatting: Fixed nested code fence escaping in the Tabs component example, using 4-backtick blocks with wrapping ::: tabs container syntax.

Links

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io/
Dev & Writing Skills: https://github.com/docmd-io/docmd-skills

New Contributors

Full Changelog: 0.10.0...0.10.1

[email protected] – Production Server, Static Assets & MDX

Choose a tag to compare

@mgks mgks released this 13 Nov 21:16
e912544

docmd logo

Production Server, Static Assets & MDX

v0.10.0 introduces a dedicated production HTTP server (docmd serve), a zero-configuration public static root assets pipeline, native MDX component support powered by lite-mdx, pre-flight environment diagnostics (docmd doctor), and ecosystem-wide standardisation across supporting libraries.

Added

  • Production HTTP Server (@docmd/core): Introduces the docmd serve command for running production documentation sites with zero file-watching overhead. Features built-in Gzip and Deflate compression, standard security response headers (CSP, HSTS, frame protections), container liveness and readiness probes at /healthz, and configurable host binding. Docker image now defaults to docmd serve --host 0.0.0.0. Contributed by @svallory in #273 and #279.
  • Opt-in MCP over HTTP (@docmd/core): Exposes Model Context Protocol capabilities under docmd serve at POST /mcp, using a transport-independent JSON-RPC handler gated behind serve.mcp: true with bearer token or header authentication. Contributed by @svallory in #278.
  • Production Plugin Action Host (@docmd/core, @docmd/api): Extends plugin actions to docmd serve with strict origin allowlists and caller identity gating, preventing unauthorised context writes in production. Contributed by @svallory in #272 and #277.
  • Public Static Root Assets Pipeline (@docmd/core): Automatically detects a top-level public/ directory (or custom paths specified via static in docmd.config.json) and copies files directly to the build root, preserving directory hierarchy for root assets such as robots.txt, favicon.ico, CNAME, and .well-known/funding-manifest-urls.
  • MDX Component Rendering (@docmd/plugin-mdx, lite-mdx): Bundles first-class MDX support into core using the high-performance lite-mdx compiler. Allows authoring interactive JSX components alongside standard Markdown syntax with zero required configuration.
  • Pre-flight Doctor Diagnostics (@docmd/core, @docmd/tui): Adds docmd doctor command to validate environment health, Node.js version compatibility, engine prerequisites, port availability, template layouts, and plugin integrity with structured, colour-coded terminal reporting.
  • Dynamic Headless Flag (@docmd/core): Adds --no-open CLI flag and DOCMD_NO_OPEN=true environment variable support across dev, serve, and test runners, preventing unwanted browser window spawns in automated CI and headless container workflows.
  • Dynamic Version Fallbacks (@docmd/parser, @docmd/ui): Automates fallback synchronisation for docmd.version and docmd.buildYear in parser registries and client runtimes, backed by automated version maintenance scripts.
  • Optional Iconify Plugin (@docmd/plugin-iconify): Adds zero-overhead on-demand icon resolution supporting over 100,000 icons from 100+ icon sets via standard icon:iconify:<name> syntax.

Improved

  • Network Interface Binding (@docmd/core): Adds the --host <address> CLI flag for docmd dev, docmd serve, and workspace workflows, defaulting safely to 127.0.0.1 for local development. Contributed by @svallory in #269.
  • Playground Web Worker Sandboxing (@docmd/plugin-playground): Offloads code execution into background web workers to ensure long-running or blocking scripts do not freeze the browser UI thread.
  • Build Tree Hygiene: Ensures pnpm -r run build leaves a clean git working tree by isolating transient generated files. Contributed by @svallory in #275.
  • Test Suite Isolation: Allocates dedicated temporary fixture roots per test process, preventing concurrency race conditions. Contributed by @svallory in #276.
  • Ecosystem Metadata & Funding: Standardised package keywords, README documentation across internal plugins, and aligned repository and funding manifests to https://docmd.io and the docmd-io organisation.

Fixed

  • CSP Compliance & Inline Script Synchronization (@docmd/ui): Replaced dynamic new Function() evaluation during SPA <head> hydration with safe static regex parsing and native JSON.parse, eliminating CSP violations under strict policies.
  • Safari WebKit Layout & Sizing (@docmd/template-summer): Replaced -webkit-fill-available with height: 100% on heading anchors and adjusted .summer-main grid alignment to eliminate phantom whitespace in Safari.
  • Multi-Word Tab Aliases (@docmd/parser): Extended tab container normaliser to support unquoted multi-word titles and canonical === / ==== tab delimiters.
  • SPA Body Script Execution (@docmd/ui): Prevented Single-Page Application (SPA) client navigation from re-executing inline body scripts, avoiding duplicate DOM manipulation and event listeners. Contributed by @MSOB7YY in #270.
  • Highlight.js Theme Flash (@docmd/ui, @docmd/template-summer): Applied syntax highlight theme styles immediately upon initial page load, eliminating unstyled code flashes during hydration. Contributed by @MSOB7YY in #270.
  • Non-Index Folder Links (@docmd/parser): Resolved relative links targeting directory paths without trailing slashes from deeply nested pages. Contributed by @GPT-AGI in #271.
  • Gitignore Ancestor Traversal (@docmd/core): Restricted unanchored gitignore and exclusion patterns to their own parent directories, preventing ancestor directory filters from over-excluding project source files. Contributed by @svallory in #274.
  • MCP Path Traversal Hardening (@docmd/core): Confined read_doc and list_docs to markdown files inside configured source roots, blocking symlink escapes. Contributed by @svallory in #268.
  • Breadcrumb Schema Fallback (@docmd/plugin-seo): Resolved missing intermediate items in JSON-LD breadcrumb markup with self-healing hierarchy fallbacks.

Security & Maintenance

  • Playground HTML previews run inside sandboxed iframes without allow-same-origin, restricting access to parent DOM, cookies, and storage. Runtime variable injection uses .textContent to avoid DOM XSS.
  • Production server security headers: docmd serve enforces Content-Security-Policy (CSP), HTTP Strict Transport Security (HSTS), X-Content-Type-Options, and Frame-Options by default.
  • WebSocket origin validation: Enforces strict origin allowlists and blocks untrusted incoming messages during action host execution.
  • Updated docker/login-action to 4.8.0 in PR #281.
  • Updated npm runtime dependencies (ws, minimatch, @typescript-eslint, playwright, lucide-static) in PR #282.

Links

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io/
Dev & Writing Skills: https://github.com/docmd-io/docmd-skills

Contributors

New Contributors

Full Changelog: 0.9.9...0.10.0

[email protected] – Variables, Playground & Personalisation

Choose a tag to compare

@mgks mgks released this 03 Nov 17:11

docmd logo

OpenAPI, LLMs & Internationalisation

v0.9.9 introduces a unified Variables Engine and interactive Playground, alongside fixes for search routing, template resolution, monorepo dependency handling, and AI assistant context synthesis.

Added

  • Unified Variables & Personalisation Engine (@docmd/core, @docmd/parser, @docmd/ui): Introduces {{ variable }} interpolation during static builds, with fallback values using || and syntax escaping via \{{ ... }}. Supports built-in variables including docmd.version, docmd.buildYear, docmd.buildDate, docmd.buildTime, docmd.gitCommit, docmd.gitBranch, site.title, site.base, page.title, page.slug, and page.path. Variables can also be used in configuration, banners, and footer copyright strings. Environment variables are accessible through env.*, with DOCMD_VAR_ values promoted to top-level variables.
  • Headless Client Runtime (@docmd/ui): Bundles docmd-runtime.js across the default and summer templates. Exposes window.docmd.var with get(), set(), list(), and sync() for dynamic personalisation, reactive DOM updates, personalised code snippets, and cross-frame synchronisation.
  • Interactive Playground Plugin (@docmd/plugin-playground): Adds a zero-configuration code runner, enabled by default. Supports executable fenced code blocks and ::: playground containers, source script integration via src, Live and Code view tabs, HTML/CSS previews, console interception, and execution result display. Integrates with the client runtime and Variables Engine, including docmd.var.get(), docmd.var.set(), and docmd.theme.toggle().

Improved

  • AI Assistant Context Synthesis (@docmd/plugin-ai): Introduces Snippet-First Synthesis for documentation tool calling, delivering relevant passages and code examples with fewer roundtrips.
  • Playground Authoring & Runtime Experience: Adds graceful warnings for missing scripts, structured execution error alerts, editor reset behaviour, and read-only mode handling. Playground assets are injected conditionally, so pages without playground blocks load no additional CSS or JavaScript.

Fixed

  • Versioned Search Path Resolution (@docmd/plugin-search): Search index loading now works correctly under versioned base paths such as /vX.Y.Z/. The client prioritises the authoritative build-time window.DOCMD_SITE_ROOT, retaining relative path deduction as a fallback. Contributed by @Goldloli in #266, closing #262.
  • SPA Logo Navigation (@docmd/ui): External logo destinations and root-relative workspace links now bypass unwanted client-side routing interception, fixing navigation errors while preserving internal SPA transitions.
  • Template Layout Slot Resolution (@docmd/api, @docmd/ui): Eliminates false-positive layout slot warnings, including those affecting the summer theme.
  • Monorepo Runtime Dependency Isolation: Restricts source package detection to valid monorepo contexts and adds hierarchical module resolution fallbacks to prevent peer dependency pruning during npm v7+ workspace development.

Security & Maintenance

  • Playground HTML previews run inside sandboxed iframes without allow-same-origin, restricting access to parent DOM, cookies, and storage. Runtime variable injection uses .textContent to avoid DOM XSS.
  • Updated the npm dependency group across workspace packages in PR #265.
  • Updated docker/login-action in PR #264.

Links

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io/
Dev & Writing Skills: https://github.com/docmd-io/docmd-skills

New Contributors

Full Changelog: 0.9.8...0.9.9

[email protected] – OpenAPI, LLMs & Internationalisation

Choose a tag to compare

@mgks mgks released this 16 Oct 20:53

docmd logo

OpenAPI, LLMs & Internationalisation

Release v0.9.8 improves OpenAPI rendering, adds custom LLM instructions and section grouping, fixes link validation and MCP output, and brings Turkish translations into parity across both templates.

Added

  • Collapsible OpenAPI operations with table of contents navigation, clearer schema constraints, required-field indicators, array item details, and improved $ref resolution in request bodies. ([PR #255](#255), contributed by @w666, closes #254).
  • Custom LLM instructions through the plugins.llms.prompt configuration option, allowing project-specific guidance to be included in generated llms.txt files. Documentation links are now grouped under descriptive section headings.
  • Turkish UI translations across the default and Summer templates, alongside a new README.tr.md. Translation keys have been reconciled across all 10 supported languages. ([PR #258](#258), contributed by @KeuqS).

Improved

  • OpenAPI runtime reliability: Added js-yaml and markdown-it as direct dependencies of @docmd/plugin-openapi, avoiding reliance on transitive dependency resolution in standalone and containerised environments.
  • Link validation: Improved handling of Markdown links with optional titles, links inside fenced code blocks, root-relative /assets/ paths, and images with empty alt text. Validation now also respects config.exclude. ([PR #256](#256), contributed by @Aryan007-dev, addresses #250 and #251; additional validator fixes address #259).
  • Image captions: Captions now appear centred beneath figures with italic text and a content-sized layout, replacing the previous heavy background boxes. ([PR #253](#253), contributed by @w666, closes #252).

Fixed

  • MCP stdio compatibility: The docmd mcp command no longer prints decorative startup banners to stdout. This keeps JSON-RPC communication clean for clients such as Claude Desktop and Cursor. ([PR #260](#260), contributed by @vishalhabib99).

Security & Maintenance

  • Updated the npm dependency group and workspace dependencies.
  • Added dependency overrides for patched versions of katex and sharp.
  • Removed internal issue references from source comments.

Links

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io/
Dev & Writing Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.7...0.9.8

[email protected] – Python Engine & Security Hardening

Choose a tag to compare

@mgks mgks released this 27 Sep 13:40

docmd logo

Python Engine & Security Hardening

Release v0.9.7 introduces the Python engine, unifies engine lifecycle management, fixes `.gitignore` and MCP exclusion regressions, and hardens CLI and development server security.

Added

  • Python engine through @docmd/engine-python, adding Python 3.8+ as an engine option alongside JavaScript and Rust.
  • The Python engine uses a persistent stdio worker for file discovery, Git history parsing, and search indexing, avoiding repeated subprocess startup costs.
  • Setting "engine": "python" automatically uses Python when available and falls back to the JavaScript engine when it is not.
  • Added standard shutdown() and destroy() hooks across the JavaScript, Rust, and Python engine implementations.
  • Added automatic idle cleanup for Python engine workers to prevent orphaned background processes.

Improved

  • Engine lifecycle management is now handled consistently across build and development workflows, ensuring subprocesses, native bindings, and worker resources are released cleanly.
  • Updated search integration and plugin peer dependencies to require docmd-search >=0.1.6, including Python engine support.
  • Git history extraction, search indexing, and batch file scanning can now use the Python engine directly.
  • Build and MCP file discovery now share the same exclusion behaviour, reducing differences between published documentation and content exposed through tooling.

Fixed

  • Fixed anchored .gitignore patterns introduced in v0.9.6 (#244).

    Patterns such as /airo are now matched relative to the project root instead of the absolute filesystem path. Previously, an ancestor directory with the same name could cause every documentation page to be excluded and result in Generated 0 pages.

  • Fixed config.exclude handling in MCP tools (#245).

    search_docs, list_docs, and validate_docs now honour the same config.exclude, .gitignore, and standard skip rules used by the build pipeline. Excluded drafts, archived pages, and other unpublished files are no longer exposed through these MCP tools.

Security

  • Replaced shell-interpolated execSync calls with spawnSync and explicit argument arrays in doctor and search indexing.
  • Escaped reflected request URLs in development server 404 and 500 pages to prevent reflected XSS.
  • Added stricter redirect target validation in docmd dev.
  • Live server asset paths now pass through canonical path validation, preventing traversal outside the generated output directory.

Links

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io
Dev & Writing Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: https://github.com/docmd-io/docmd/commits/0.9.7

[email protected] – Focus Mode, Banners & Zero-Config Builds

Choose a tag to compare

@mgks mgks released this 21 Sep 10:42
dc93b44

docmd logo

Focus Mode, Banners & Zero-Config Builds

Release v0.9.6 adds Focus Mode, multi-position banners, richer SEO and knowledge outputs, improved AI Assistant behaviour, automatic file exclusions, and zero-config runtime dependency installation.

Added

  • Focus Mode for distraction-free reading, with dedicated print, light/dark mode, keyboard shortcuts, and clean print/PDF output across the Default and Summer templates.
  • Multi-position banners across top, header, sidebar-top, sidebar-bottom, toc-top, toc-bottom, and footer, with project/version inheritance, Markdown content, actions, variants, and persistent dismissal.
  • Heading permalink copying - clicking a heading anchor now copies the complete URL with visual confirmation.
  • Structured JSON-LD through @docmd/plugin-seo, including Organization, WebSite, BreadcrumbList, and custom frontmatter ldJson.
  • Project-level exclusions using config.exclude glob patterns, alongside automatic .gitignore filtering for builds and semantic search.
  • Post-build asset declarations through report.resolvedAssets, exposing an immutable snapshot of resolved plugin and template assets to post-build hooks.
  • AI Assistant message actions for Copy Response, Retry, and Edit Prompt through plugins.ai.messageActions.
  • Markdown controls for markdown.linkify, markdown.typographer, and markdown.linkifyDefaultScheme.
  • Live Editor return navigation back to docmd.io.
  • Automatic runtime dependency installation for official templates, plugins, semantic search dependencies, and rendering engines declared directly in configuration.

Improved

  • AI Assistant multi-turn reasoning now supports up to six internal turns, giving tool-assisted searches and page reads more room to complete before synthesis.
  • AI Assistant streaming now supports live replacement through meta.replace: true, preventing internal tool markers from leaking into responses.
  • Added a multi-tier synthesis fallback for queries referencing concepts that are not directly represented in primary navigation.
  • Image lightbox behaviour now re-binds correctly across SPA page transitions and includes updated caption and close controls.
  • Reading-time calculation now better accounts for code blocks and media.
  • Open Knowledge Format output now includes concept descriptions and merges both tags and keywords.
  • Title handling now supports layout.titleSeparator, layout.titleAppend, and per-page frontmatter overrides.
  • HTML <title>, Open Graph, and Twitter titles now use consistent values.
  • Card banners in sidebar and table-of-contents positions now default to persistent unless explicitly configured as dismissible.
  • dismissible, dismissable, and closable are now supported as banner configuration aliases.
  • Markdown containers now support additional title, text, and label properties, while ::: details open matches the existing collapsible behaviour.
  • Summer template integration now maps shared docmd and plugin CSS variables correctly to Summer theme tokens.
  • Added adaptive mobile search to the Summer template with Cmd/Ctrl+K, /, and Escape keyboard handling.
  • Improved Git metadata popovers and AI Assistant input behaviour on smaller screens.
  • Updated lucide-static to ^1.47.0.
  • Updated onnxruntime-node to ^1.27.0 for modern Node.js, Apple Silicon, and Linux environments.
  • Runtime dependencies are now discovered before compilation and installed together in a single batch, preventing npm from pruning packages installed during earlier build stages.
  • Runtime package resolution now uses registry-aware versions while restricting automatic installation to recognised docmd packages and dependencies.

Fixed

  • Fixed client-side navigation edge cases involving quoted href values, external targets, rel="noopener", and root paths.
  • Fixed escaped sidebar navigation attributes so custom data attributes, ARIA labels, and link properties render correctly.
  • Fixed live plugin configuration reloads not updating the active runtime module.
  • Fixed KaTeX presets in the Live Editor incorrectly escaping $$.
  • Fixed image lightbox bindings being lost after client-side navigation.
  • Fixed heading anchors requiring manual URL copying instead of copying the permalink directly.
  • Fixed mobile Git popovers causing horizontal page overflow.
  • Fixed AI Assistant prompt inputs overflowing narrow mobile viewports.
  • Fixed Issues: #226, #227, #228, #230, #232, #233, #235, #239, #240, #241, #242

Security

  • Updated sharp to address upstream libheif security advisories.
  • Updated adm-zip to resolve directory traversal and arbitrary file write vulnerabilities.
  • Updated protobufjs to address prototype pollution vulnerabilities.
  • Added automated pnpm audit --audit-level=high checks to the preparation pipeline.
  • Added stricter dependency overrides and peer dependency definitions for docmd-search.

Contributors

Thanks to the community members who contributed fixes and improvements to this release:

  • @MSOB7YY - Summer mobile search, responsive Git popovers, CSS token bridging, AI input responsiveness, and route fixes (#238, #229).
  • @w666 - SPA-aware image lightbox improvements and heading permalink click-to-copy (#234, #236).
  • @omarkohl - Reported multiple issues and shared suggestions for configurable Markdown autolinking, typography, and default URL scheme handling (#241, #242).
  • @justinTM - Improved reading-time calculation & API to expose resolved asset declarations (#231).

New Contributors

Links

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io
Dev & Writing Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.5...0.9.6

[email protected] – Assistant Tools & Improved Threads

Choose a tag to compare

@mgks mgks released this 08 Sep 14:42

docmd logo

Assistant Tools & Improved Threads

✨ This release introduces autonomous AI Assistant tools and a larger context window, redesigns collaborative Threads, and improves OpenAPI workspaces and live server capabilities.

Highlights

docmd v0.9.5 introduces autonomous AI Assistant tools with an expanded context window, a redesigned collaborative Threads experience, improved OpenAPI workspace support, and new capabilities for plugins that depend on the live development server.

AI Assistant

The AI Assistant now includes five autonomous browser-side tools:

  • get_site_structure — inspect versions, locales, projects, and page navigation.
  • search_documentation — search documentation using keyword or semantic search.
  • read_documentation_page — read structured documentation across workspace projects.
  • navigate_to_page — navigate directly to relevant documentation pages.
  • copy_code_snippet — copy code and commands with visual feedback.

The assistant can now use up to 200,000 characters of documentation context by default, removing previous hard limits that could truncate larger technical explanations.

A new contextWindow (or contextLimit) option also allows projects to control the amount of context used.

This release also improves code block rendering with syntax highlighting, language labels, and copy buttons, while fixing Cloud relay analytics for multi-turn tool calls and query formatting.

Threads

The collaborative Threads plugin has been redesigned to provide a cleaner and more persistent commenting experience.

  • Thread cards remain visible when opening and closing the sidebar.
  • Creating threads, replying, and resolving discussions now update in place without reloading the page.
  • Inline comment previews now include quoted context and an option to open the discussion in the sidebar.
  • The discussion trigger is now a right-docked slide tab, avoiding collisions with other page controls.
  • Updated icons and styling across the plugin.
  • Improved integration with both the Default and Summer templates.
  • Section-level “New Thread” actions are now revealed on hover or keyboard focus to reduce visual clutter.

OpenAPI

The OpenAPI plugin now better supports multi-project workspaces and more flexible specification sources.

  • Specification files can now be resolved from the active document, project root, or workspace root.
  • Download links now correctly respect the download configuration.
  • OpenAPI specifications can be embedded directly in Markdown using openapi fenced code blocks.
  • Missing or invalid specifications now display clearer development error messages.

Live Server Capabilities

Plugins can now declare requiresLiveServer: true when they depend on the active development server.

During static production builds, docmd automatically excludes live-only client assets while preserving the relevant Markdown and container parsing.

The browser API also introduces:

  • docmd.isLive() for checking live server connectivity.
  • docmd.ping() for verifying an end-to-end connection with the development server.

This allows live-only plugins such as collaborative commenting to work during development without adding unnecessary runtime overhead to static production builds.

Merged Pull Requests

  • PR #225: release: v0.9.5 — AI Assistant autonomous tools, Threads dev-server mode, and Summer template modernisations
  • PR #211: Use open-api plugin settings instead of global ones (Contributed by @w666, resolves #210)

Closed Issues

  • #222: [Feature]: Enclose any inline Markdown code the assistant emits in four-backtick fences, not three — to prevent codeblock leakage when the assistant's own response is rendered through a Markdown pipeline
  • #221: [Feature]: Add assistant-side capabilities for grounding, navigation, and diff workflows (proposed tools + config knobs)
  • #220: [Bug]: docmd-assistant does not forward the documented MCP tool surface (read_documentation_page, navigate_to_page, copy_code_snippet, and others) to the model — assistant is restricted to search_documentation + get_site_structure
  • #219: [Bug]: docmd-assistant does not propagate locale to docmd-search — non-"en" locales silently get English-only results with no notice
  • #218: [Bug]: docmd-assistant does not surface cross-project matches — answers scoped to one project silently ignore relevant results from sibling projects
  • #217: [Bug]: docmd-assistant surfaces raw backend errors as "Load failed" — no error category, no recovery guidance, no log correlation
  • #216: [Bug]: docmd-search version filter silently fails for docmd-assistant search tool
  • #215: [Bug]: AI assistant returns malformed response, exposes internal tags instead of final answer
  • #213: [Feature]: Update lucide icons to latest (Updated lucide-static to ^1.43.0 with 1,949 SVG icons supported)
  • #210: [Bug]: Download button in OpenAPI plugin is not displayed regardless of the settings

Thanks 💖

Thanks to all contributors and community members who reported issues and provided feedback.

Documentation: https://docs.docmd.io/
Cloud Platform: https://cloud.docmd.io
Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.4...0.9.5

[email protected] – AI Assistant, OpenAPI & Build Performance

Choose a tag to compare

@mgks mgks released this 23 Aug 17:08

docmd logo

AI Assistant, OpenAPI & Build Performance

✨ This release improves AI Assistant configuration and reliability, fixes OpenAPI dark mode, and significantly accelerates testing and build workflows.

Highlights

docmd v0.9.4 improves AI Assistant reliability and configuration, fixes OpenAPI dark mode rendering, and brings major performance improvements to the test and build pipelines.

OpenAPI

  • Fixed OpenAPI operation containers, schema tables, parameters, and responses rendering with incorrect backgrounds in dark mode.
  • Improved visual consistency between OpenAPI components and the surrounding documentation theme.

AI Assistant

  • Fixed plugins.ai.assistant: false and plugins.ai.enabled: false so the Assistant widget and its assets are fully excluded when disabled.
  • Upgraded to docmd-assistant v0.1.15, fixing false-positive tool stripping and preserving natural language responses across multi-turn conversations.

Test & Build Performance

  • Parallelised integration test execution across CPU cores, reducing test runtime by around 65%.
  • Improved deterministic build caching and excluded generated site/ and _site/ directories from snapshot hashing.
  • Optimised pnpm prep, reducing runtime from around 4.7 minutes to 1.3 minutes.
  • Standardised pnpm sim output with consistent status indicators.

Resolved Issues

  • Fixed OpenAPI styles in dark mode (#207, PR #208 - @w666).
  • Fixed AI Assistant disable configuration being ignored by the asset pipeline (#209).

Thanks 💖

Thanks to all contributors and community members who reported issues and provided feedback.

Documentation: https://docs.docmd.io/
docmd Cloud: https://cloud.docmd.io
docmd-assistant: https://github.com/docmd-io/docmd-assistant
docmd-search: https://github.com/docmd-io/docmd-search
Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.3...0.9.4

[email protected] – Offline Mermaid, OpenAPI & AI Assistant Improvements

Choose a tag to compare

@mgks mgks released this 19 Aug 14:20

docmd logo

Offline Mermaid, OpenAPI & AI Assistant Improvements

✨ This release brings fully offline Mermaid diagrams, richer OpenAPI examples, more reliable AI Assistant tool execution, and improved URL and file:// handling.

Highlights

docmd v0.9.3 improves offline and air-gapped documentation, expands OpenAPI support, and makes the AI Assistant more reliable across different tool-call formats. It also includes several URL, service worker, and layout stability fixes.

Offline Mermaid

Mermaid diagrams are now bundled locally, removing the runtime CDN dependency.

Diagrams work in air-gapped environments and when documentation is opened directly through file://. #198

OpenAPI

The OpenAPI plugin now supports:

  • Request and response examples.
  • Multiple schema examples and media types.
  • Contained schema tables with independent horizontal scrolling.
  • Better handling of deeply nested schemas without affecting the page layout.

AI Assistant

Upgraded to docmd-assistant v0.1.14 with improved tool-call handling.

  • Supports tool calls returned as JSON, Markdown code blocks, bracketed syntax, and zero-argument calls.
  • Prevents raw tool-call strings from appearing in chat responses.
  • Executes tools and produces clean, fact-grounded responses.
  • AI client assets now work correctly in offline file:// environments.

Fixes

  • Fixed protocol-relative URLs being incorrectly collapsed during URL sanitisation.
  • Added safe handling for service worker registration on file:// pages.
  • Fixed AI Assistant responses returning raw tool-call strings instead of the expected answer. #206
  • Improved verification and stability across the affected engine and plugin paths.
  • fix(parser): collapse a leading // in sanitizeUrl by @eeshsaxena in #203
  • Add support for examples and data types display in Open API plugin by @w666 in #200
  • fix(offline): bundle client assets as classic IIFE scripts and guard service worker on file://. #205

Thanks 💖

Thanks to all contributors and community members who reported issues and provided feedback.

Documentation: https://docs.docmd.io/
docmd Cloud: https://cloud.docmd.io
docmd-assistant: https://github.com/docmd-io/docmd-assistant
docmd-search: https://github.com/docmd-io/docmd-search
Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.2...0.9.3

[email protected] – AI Assistant Reliability & UX

Choose a tag to compare

@mgks mgks released this 11 Aug 09:58
1a1557a

docmd logo

Container Engine & AI Assistant Improvements

✨ This release makes the AI Assistant more reliable across multi-turn conversations and relay environments, with improved tool execution, cleaner code blocks, resilient streaming, and better Markdown rendering.

Highlights

docmd v0.9.2 significantly improves the reliability and usability of the AI Assistant, with more dependable multi-turn tool execution, stronger context preservation, cleaner code block rendering, and improved compatibility with streaming and non-streaming relay endpoints.

AI Assistant

  • Reliable multi-turn tool execution: Upgraded to docmd-assistant v0.1.11, improving context and query preservation across multiple tool calls such as search_documentation and get_site_structure.
  • Better context-grounded responses: Final responses now stay grounded in retrieved documentation and preserve relevant links.
  • Improved code blocks: Code snippets now use a dedicated language header and cleaner formatting inside the chat interface.
  • Fixed Markdown rendering: Resolved stray paragraphs and line breaks around code blocks and lists.
  • Improved relay compatibility: The assistant now handles both streaming (text/event-stream) and standard JSON responses, avoiding failures on proxy and serverless deployments.
  • Improved TypeScript types: Fixed missing parameter and hook type definitions across @docmd/plugin-ai.

Thanks 💖

Thanks to all contributors and community members who reported issues and provided feedback.

Documentation: https://docs.docmd.io/
docmd Cloud: https://cloud.docmd.io
docmd-assistant: https://github.com/docmd-io/docmd-assistant
docmd-search: https://github.com/docmd-io/docmd-search
Skills: https://github.com/docmd-io/docmd-skills

Full Changelog: 0.9.1...0.9.2