Skip to content

docs: integrate mdbook-admonish and modernize documentation styling#43

Merged
elasticdotventures merged 8 commits into
mainfrom
feat/doc-enhancement-ci-opt
Apr 23, 2026
Merged

docs: integrate mdbook-admonish and modernize documentation styling#43
elasticdotventures merged 8 commits into
mainfrom
feat/doc-enhancement-ci-opt

Conversation

@elasticdotventures
Copy link
Copy Markdown
Member

This PR enhances the documentation visual style and optimizes the CI pipeline.

Changes:

  • Integrated mdbook-admonish for rich callouts.
  • Modernized CSS with Inter font, gradient headers, and refined UI components (tables, code blocks, sidebar).
  • Optimized CI 'docs' job using jontze/action-mdbook for significantly faster builds.
  • Added informative callout to the Introduction.
  • Validated build integrity with 'just docgen-check'.

- Integrated 'mdbook-admonish' preprocessor for rich callouts.
- Modernized CSS with Inter font, gradient headers, and refined UI components.
- Optimized CI 'docs' job using 'jontze/action-mdbook' for faster builds.
- Added informative note to Introduction page.
- Validated build integrity with 'just docgen-check'.
Copilot AI review requested due to automatic review settings April 22, 2026 22:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the mdBook documentation pipeline and theme to support richer callouts (admonitions) and a refreshed visual style, while attempting to speed up the CI docs build.

Changes:

  • Added mdbook-admonish preprocessor support and included its CSS in the HTML output.
  • Refreshed documentation styling (layout, headings, sidebar, tables, code blocks) and added a new intro callout.
  • Switched CI docs setup to jontze/action-mdbook@v3 and added a custom head.hbs importing Inter from Google Fonts.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
book/theme/rhai-live.css Adds broader layout/typography/table/code styling on top of the existing Rhai live-editor theme CSS.
book/theme/mdbook-admonish.css Introduces the mdbook-admonish stylesheet (icon + admonition component styling).
book/theme/head.hbs Injects Inter via Google Fonts into the mdBook HTML head.
book/src/intro.md Adds an admonish info callout to the Introduction.
book/book.toml Registers the admonish preprocessor and includes its CSS in additional-css; updates preprocessor ordering.
.github/workflows/ci.yml Replaces manual mdBook/mdbook-mermaid installs with jontze/action-mdbook@v3 in the docs job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread book/theme/rhai-live.css
Comment thread book/theme/rhai-live.css Outdated
Comment thread .github/workflows/ci.yml
Comment thread book/book.toml
Comment thread book/theme/head.hbs Outdated
Comment thread book/theme/mdbook-admonish.css Outdated
- Refactored 3D rendering to use unique geometric volumes for each architectural idiom.
- Implemented a tiered iconography inheritance system (Base Categories -> Specialized Roles).
- Restored unique silhouettes for 'ingest' (Arrow), 'classify' (Pentagon), and 'reconcile' (Cross).
- Enhanced text contrast with dark labels and high-visibility white halos.
- Fixed emoji icon centering using mathematical SVG baselines.
- Broadened semantic inference to cover comprehensive technical terminology in the book.
- Cleaned up build artifacts and verified across all documentation chapters.
Copy link
Copy Markdown
Member Author

@elasticdotventures elasticdotventures left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed the actionable feedback in this PR:

  • removed external Google Fonts dependency from book/theme/head.hbs (local-first docs rendering)
  • applied docs font stack to main content and restricted inline-code styling to avoid affecting fenced blocks
  • scoped mdbook-admonish summary selectors to admonition titles only
  • updated .github/workflows/ci.yml docs job to run on PRs, install mdbook-admonish, and only deploy pages on push branches

Also revalidated the previously failing ledgerr-mcp contract_codegen test locally after regenerating MCP artifacts.

@elasticdotventures elasticdotventures merged commit feb0d8f into main Apr 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants