Docusaurus – Build optimized websites quickly, focus on your content
Docusaurus 3.5 enables quick website building and content management using MDX, supporting React components, localization, document versioning, and Algolia search, enhancing efficiency for users and organizations.
Read original articleDocusaurus has released version 3.5, which allows users to build optimized websites quickly while focusing on content creation. The platform utilizes MDX, enabling users to write documentation and blog posts that are converted into static HTML files. It supports embedding React components within Markdown, enhancing customization. Docusaurus features a pluggable architecture, allowing developers to extend and tailor their projects. It also includes built-in localization support, document versioning for maintaining documentation across project releases, and a content search feature powered by Algolia. Users have praised Docusaurus for its ease of use and efficiency in managing documentation, with many noting that it allows them to spend more time on content rather than site setup. The platform has been adopted by various organizations, including Redux and IOTA, highlighting its effectiveness in improving documentation processes.
- Docusaurus 3.5 focuses on quick website building and content management.
- It supports MDX for writing documentation and embedding React components.
- Built-in features include localization, document versioning, and Algolia search.
- Users report increased efficiency and ease of use in managing documentation.
- The platform is widely adopted by various organizations for its effectiveness.
Related
Show HN: I am building an open-source Confluence and Notion alternative
Docmost is an open-source collaborative wiki software in beta, offering real-time collaboration, permissions management, and more. Users can access the website for details, documentation, and development resources.
Let's Treat Docs Like Code
Treating documentation like code involves using tools like GitHub, automation, and static site generators. Importance of learning these tools, best practices for efficient writing, protecting branches, case studies, and resources are discussed. Insights on building documentation sites are provided.
Show HN: AutoDocument – Multi-Source Document Generation
AutoDocument is an open-source tool for automating document processes, featuring advanced templating, multi-step workflows, and support for various file storage options, receiving positive user feedback for its capabilities.
Migrating from DokuWiki to Obsidian
The author migrated notes from DokuWiki to Obsidian for better usability, using a script for conversion and preferring Git for backups, resulting in a smoother note-taking experience.
Quarkdown: Markdown with Superpowers
Quarkdown is an open-source Markdown tool for creating slides, books, and documents from one source. It supports CommonMark, function calls, customizable layouts, and various data formats, with ongoing development.
https://news.ycombinator.com/item?id=34389421
I helped him in recovering from a Google SEO penalty, and he documented his journey on his blog:
https://johnnyreilly.com/how-we-fixed-my-seo
This might be helpful for those using Docusaurus, as some default settings, like pagination and tag pages, can generate thousands of non-helpful pages. These issues can be easily fixed with noindex tags and a sitemap/structure cleanup.
Overall, I think Docusaurus is great. It's clean, flexible, and the community is very responsive, so it's constantly improving at a fast pace
Even if the code example works today, it might not in the future and tests prevent people getting stuck on outdated docs like we often see.
Other notable mentions are
- mkdocs-material, if you prefer python to js
- astro starlight, not quite as mature and a bit heavier but looks nicer out the box and includes built-in search
Somehow, someway, it was very resource-intensive for what it was.
We now run a homemade alternative that basically does the same job, but keeps scaling to five digit document counts (so far).
The SEO features, integrated Algolia search, and built-in components save a lot of time and help you focus on writing markdown.
The plugin system and React-based customization is powerful, but for most projects you should be fine with the provided components and editing the custom css file.
For a look at how a dev tool company uses Docusaurus to implement its docs, check out this article on Amplication's approach:
https://medium.com/abundant-dev/amplication-documentation-ca...
This might help those wanting to use Docusaurus with a docs-as-code workflow, especially when using GitHub or other git platforms for reviews.
Bonus points if you prefer to not deal with the JS ecosystem and prefer Python.
The main downside is that while reST is well-suited for extending the syntax actually writing Sphinx extensions is, subjectively, significantly more arcane than writing React components/MDX plugins.
A recent discussion on this topic, part of the "I prefer rST to Markdown" submission: https://news.ycombinator.com/item?id=41120772
My personal opinion when we chose Docusaurus was that it struck the right balance in having just enough batteries included.
It was quick and easy to launch something without having to fiddle with too much config, while allowing some scripting, customisability, and templating through MDX.
It's probably also a good thing that Facebook dogfoods Docusaurus in some places, while keeping it MIT licensed so the community can fork it if Facebook ever decides to stop maintaining it.
https://pagespeed.web.dev/analysis/https-eightshift-com/c5vu...
Would love feedbacks from anyone who have been with both Starlight and Docusaurus; thanks!
e.g. are there anything great about Starlight that I should stick to it? SEO-wise, etc.
what I want is a simple CMS basically, not as complex as drupal etc, but at least support login to view when I need it.
It works very well for this purpose. I didn't bother to change the default UI though. And I haven't added any search mechanism (I keep the content organized, thus I don't need it much). It has a blog feature, but I don't use it.
It's hosted in Netlify, deploying automatically on each push.
Here's the source code if you are curious: https://github.com/AlbertVilaCalvo/Wiki
Related
Show HN: I am building an open-source Confluence and Notion alternative
Docmost is an open-source collaborative wiki software in beta, offering real-time collaboration, permissions management, and more. Users can access the website for details, documentation, and development resources.
Let's Treat Docs Like Code
Treating documentation like code involves using tools like GitHub, automation, and static site generators. Importance of learning these tools, best practices for efficient writing, protecting branches, case studies, and resources are discussed. Insights on building documentation sites are provided.
Show HN: AutoDocument – Multi-Source Document Generation
AutoDocument is an open-source tool for automating document processes, featuring advanced templating, multi-step workflows, and support for various file storage options, receiving positive user feedback for its capabilities.
Migrating from DokuWiki to Obsidian
The author migrated notes from DokuWiki to Obsidian for better usability, using a script for conversion and preferring Git for backups, resulting in a smoother note-taking experience.
Quarkdown: Markdown with Superpowers
Quarkdown is an open-source Markdown tool for creating slides, books, and documents from one source. It supports CommonMark, function calls, customizable layouts, and various data formats, with ongoing development.