You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 8, 2023. It is now read-only.
I propose revisiting migrating the docs to Docusaurus, especially after significant improvements to their tech since previous discussions.
I would love to draft up a proof of concept for the team if there's serious interest, and help with efforts to migrate if the demo proves viable.
Motivation
My team recently spent some time investigating alternatives to Express and some elements of the Fastify docs gave us pause. The most pressing for us was the lack of order and headers in the sidebar which made getting started more cumbersome than necessary. Additionally, something about the "system defaults" approach to Fastify's docs makes the site feel less professional than, say, Create React App or React Redux.
I think Docusaurus's default styling, creature comforts, and additional features make migrating a compelling option. Recent (since #100) support for markdown will make migrating far less troublesome than it once was.
Potential benefits:
Order pages in the sidebar
More intuitive table-of-contents (potentially subjective)
Separating the table of contents and sidebar could prevent confusion on what's a page and what's a page's content (and allows for more nested docs)
Improved code blocks
Copy button
Built in titles
Better styling (subjective)
Better docs-wide styling
Large number of ready-to-use components (ex. tabs, admonitions)
Dark mode
"Trendier" default design
Familiarity with developers
Docusaurus is widely used across the React ecosystem and, for me at least, instills a degree of confidence when I see it
Existing familiarity translates to comfort and ease of use
Internationalization support
Adopting this feature would obviously incur many additional challenges, so it's benefits are diminished
Off-load documentation maintenance to a well-established industry standard
Using a tool such as Docusaurus could save the core Fastify team some dev time
Prerequisites
🚀 Feature Proposal
Related: #100 and fastify/fastify#722.
I propose revisiting migrating the docs to Docusaurus, especially after significant improvements to their tech since previous discussions.
I would love to draft up a proof of concept for the team if there's serious interest, and help with efforts to migrate if the demo proves viable.
Motivation
My team recently spent some time investigating alternatives to Express and some elements of the Fastify docs gave us pause. The most pressing for us was the lack of order and headers in the sidebar which made getting started more cumbersome than necessary. Additionally, something about the "system defaults" approach to Fastify's docs makes the site feel less professional than, say, Create React App or React Redux.
I think Docusaurus's default styling, creature comforts, and additional features make migrating a compelling option. Recent (since #100) support for markdown will make migrating far less troublesome than it once was.
Potential benefits:
Example
No response