Docs/update tailwind and docusaurus#3430
Open
roynakakawa wants to merge 3 commits into
Open
Conversation
roynakakawa
requested review from
Alenar,
jpraynaud and
turmelclem
as code owners
July 22, 2026 14:51
There was a problem hiding this comment.
Pull request overview
This PR upgrades the documentation website stack (Docusaurus + Tailwind) and adjusts the site/theme styling and markdown to remain compatible, including enabling Docusaurus v4 “future” flags and updating custom CSS/component classes.
Changes:
- Upgrade Docusaurus packages to
^3.10.2and Tailwind to^4.3.3, adding the Tailwind PostCSS plugin. - Replace the inline Tailwind PostCSS configuration with a dedicated plugin and update
custom.cssto Tailwind v4 import/theme patterns plus Infima overrides. - Update multiple markdown files (docs + blog) for updated admonition title syntax and minor formatting tweaks.
Reviewed changes
Copilot reviewed 26 out of 27 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/website/versioned_docs/version-maintained/mithril/advanced/threat-model.md | Update admonition title syntax and minor spacing/formatting. |
| docs/website/versioned_docs/version-maintained/mithril/advanced/mithril-protocol/protocol.md | Update admonition title syntax and minor formatting. |
| docs/website/versioned_docs/version-maintained/manual/operate/run-signer-node.md | Minor markdown list spacing adjustments. |
| docs/website/versioned_docs/version-maintained/manual/operate/run-aggregator-node.md | Minor markdown list spacing adjustments. |
| docs/website/versioned_docs/version-maintained/manual/develop/nodes/mithril-client-library-wasm.md | Update admonition title syntax. |
| docs/website/tailwind.config.ts | Remove Tailwind v3-era config file. |
| docs/website/src/theme/Navbar/Layout/index.tsx | Adjust navbar layout class list for Tailwind v4 styling changes. |
| docs/website/src/theme/Navbar/Content/index.tsx | Consolidate social link styling via a shared class. |
| docs/website/src/theme/Footer/Logo/index.tsx | Move footer logo text styling into a dedicated CSS class. |
| docs/website/src/theme/Footer/Links/MultiColumn/index.tsx | Adjust footer list classes and spacing utilities. |
| docs/website/src/theme/Footer/LinkItem/index.tsx | Add a stable class name for footer link item styling. |
| docs/website/src/plugins/plugin-tailwind.ts | New Tailwind PostCSS plugin hook for Docusaurus. |
| docs/website/src/css/custom.css | Switch to Tailwind v4 imports/@theme and add Infima override rules; remove some dead rules. |
| docs/website/src/components/WhyMithril.tsx | Adjust spacing utility class names. |
| docs/website/src/components/UseCases.tsx | Adjust spacing/leading utility class names. |
| docs/website/src/components/HomepageHero.tsx | Adjust navbar-height spacing handling and centralize hero title styling. |
| docs/website/src/components/Features.tsx | Adjust leading/spacing utility class names. |
| docs/website/src/components/AnimatedText.tsx | Adjust layout sizing and centralize heading styling. |
| docs/website/root/mithril/advanced/threat-model.md | Keep root docs version aligned with versioned docs formatting changes. |
| docs/website/root/mithril/advanced/mithril-protocol/protocol.md | Keep root docs version aligned with versioned docs formatting changes. |
| docs/website/root/manual/operate/run-signer-node.md | Keep root docs version aligned with versioned docs formatting changes. |
| docs/website/root/manual/operate/run-aggregator-node.md | Keep root docs version aligned with versioned docs formatting changes. |
| docs/website/package.json | Bump Docusaurus + Tailwind versions; add @tailwindcss/postcss and postcss. |
| docs/website/package-lock.json | Lockfile updates reflecting dependency bumps and new Tailwind v4 dependency tree. |
| docs/website/docusaurus.config.js | Enable v4 future flags and switch Tailwind integration to the new plugin (note: requires config fix). |
| docs/website/blog/2026-01-06-multiple-aggregators-testing-program.md | Update admonition title syntax in blog markdown. |
| docs/website/blog/2026-01-06-dmq-testing-program.md | Update admonition title syntax in blog markdown. |
Files not reviewed (1)
- docs/website/package-lock.json: Generated file
Comment on lines
17
to
+22
| onBrokenLinks: "throw", | ||
| onBrokenMarkdownLinks: "warn", | ||
| markdown: { | ||
| hooks: { | ||
| onBrokenMarkdownLinks: "warn", | ||
| }, | ||
| }, |
Test Results 5 files ± 0 209 suites ±0 1h 0m 44s ⏱️ - 2h 14m 22s Results for commit 028d727. ± Comparison against base commit 936eadd. This pull request removes 76 tests.♻️ This comment has been updated with latest results. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content
Pre-submit checklist
Comments
Issue(s)
This PR closes #3413 and #3414