typedoc
Docusaurus
typedoc | Docusaurus | |
---|---|---|
33 | 298 | |
7,881 | 57,853 | |
1.2% | 1.6% | |
9.7 | 9.6 | |
12 days ago | 2 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typedoc
- TypeDoc usage in @vercel/edge
-
Dual Node TypeScript Packages - The Easy Way
Documentation generation from your compiled .d.ts with typedoc
-
Publish pure ESM npm package written in TypeScript to JSR
JavaScript (TypeScript) ecosystem has various types of API docs generators. Maybe the most popular one is TypeDoc. While generating API docs itself is easy, hosting API docs is pretty hard. Publishing generated HTML to static hosting service like GitHub Pages is the method I adopted previously, but it's not an ideal solution because we can't view docs for older versions.
-
Learn how to document JavaScript/TypeScript code using JSDoc & Typedoc
Firstly, install Typedoc using npm:
- Document Playwright tests with typedoc
-
90% less disk space + 80% faster doc generation w/ TypeDoc. Introducing the "Default Modern Theme" for TypeDoc + complete linkable API docs for the built-in TS lib declarations.
Background:The main bottleneck with the TypeDoc default theme especially for large projects is the verbose HTML for the left-hand navigation that linearly grows for each page based on the project size and consumes a massive amount of disk space; see this TypeDoc issue. The DMT caches the left-hand navigation HTML and dynamically creates a shared web component that is utilized across all pages only making a single copy of the navigation HTML. This reduces disk space utilization by up to 90% and also makes doc generation ~80% faster. I also include some style additions and replace the main search index generation using compressed MesssagePack instead of JSON which reduces the search index size by more than 90%.
-
Prim+RPC: a bridge between JavaScript environments. Easy-to-understand, type-safe, transport-agnostic RPC/IPC for JavaScript, supporting callbacks, batching, file uploads, custom serialization, and more.
While the Prim+RPC server is expected to be JavaScript, I'd like to support other languages through JSON Schema. I wrote a tool that translates TypeDoc comments into RPC-specific documentation. My plan is to turn this result into JSON Schema that can be served with the Prim+RPC server. This means you can get typed suggestions (for instance, from an IDE that understands JSON Schema) when writing requests in JSON files (I wrote a little about this here, still a WIP). From this, you could use your favorite HTTP client in the language of your choice, like but still benefit from having typed requests.
-
What software do you use to write documentation?
Docusaurus has a Typedoc plugin. Also there is a typedoc markdown plugin.
-
Mastering JSDoc: the complete guide for Javascript developers
Finally, JSDoc can be used to generate documentation for your code using tools like JSDoc itself and TypeDoc. These tools generate HTML or Markdown documentation based on your JSDoc annotations, making it easier for others to understand how your code works and how to use it.
-
Opinionated standards for JSDoc
Since you're using TypeScript, use TypeDoc.
Docusaurus
-
hCaptcha, a bot detection tool, usage in Supabase and Chatwoot
hCaptcha docs is built using Docusaurus and their developer guide provides a vanilla example, but there’s framework specific examples provided as well.
-
Owning the Chaos: A Simple Guide to Tackling Obscure Errors
Create visibility: A good mental model of your systems, data and code is beneficial to solving for errors so create tangible mind maps or documentation for the whole team to benefit from. Miro and Docusaurus are excellent tools for this.
-
MdBook – a command line tool to create books with Markdown
VitePress and Docusaurus seem decent. I think VitePress might be more suited to blogging, but I admit I haven’t actually used or tested either.
https://docusaurus.io/
https://vitepress.dev/
-
Why You Should TRUST Frameworks (And What It Takes to Build One From Scratch)
For efficient workflows, Commander.js offers a custom CLI, while Docusaurus powers documentation, ensuring that everything is easy to find and well-maintained.
-
Hacktoberfest week 2
I am aware of Docusaurus, since I have seen other documentation and some of our course material site built on it. Under the hood it uses React so I was familiar with it. But this documentation website was written in Python. Although I'm not a fan of Python, it intrigued me, since not only it is written in python, more specifically using Sphinx which utilizes reStructuredText as its markup language. There was Makefile in it as well. A lot of new things but it looked very interesting.
-
Docusaurus authentication with Entra ID and MSAL
Docusaurus (https://docusaurus.io) is a well-regarded open-source tool for building documentation websites. It is a static-site generator that builds a single-page application leveraging the full power of React. However, it does not provide any kind of authentication out of the box. Adding authentication is crucial for securing access to your documentation.
-
One-liner CLI to scaffold+deploy landing page?
- [Optional] List of language codes
I want to avoid JavaScript lock-in at all costs.
https://docusaurus.io/ (far from being a one-liner, still uses JavaScript)
- Show HN: We built a FOSS documentation CMS with a pretty GUI
- Ask HN: Best static site generator for non-designer?
- Docusaurus – Build optimized websites quickly, focus on your content
What are some alternatives?
tsdoc - A doc comment standard for TypeScript
oauth2-proxy - A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.
nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js.
VuePress - 📝 Minimalistic Vue-powered static site generator
JSDoc - An API documentation generator for JavaScript.
mkdocs-material - Documentation that simply works
storybook - Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
terraform-docs - Generate documentation from Terraform modules in various output formats
BookStack - A platform to create documentation/wiki content built with PHP & Laravel
docsify - 🃏 A magical documentation site generator.