question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve library API documentation

See original GitHub issue

I’m not really happy with the TypeDoc-generated docs that are hosted at https://api-docs.simplewebauthn.dev/. It’s primarily because of things like this:

Screen Shot 2020-08-04 at 9 40 35 AM

What arguments are within Options? Who knows?!

This is partially my fault for rolling with an old version of TypeDoc that works with a plugin that supports a “library” mode. I chose this approach because early testing produced adequate documentation of the monorepo’s multiple libraries, but it just hasn’t scaled well as the libraries’ have evolved.

Now that I have a proper website up with its own docs section, though, it’s feasible for me to start maintaining manually-authored API docs and host them there to achieve the desired level of exposure of the various methods’ arguments.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MasterKalecommented, Oct 28, 2020

Whoops, didn’t mean for this to get closed (so that’s what happens when you link an issue to a PR 🤔). PR #66 upgraded docs to a beta release of TypeDoc that uses its upcoming Library mode and some of the roughness that inspired this ticket has already gone away.

That said I’m reopening this ticket to continue tracking improvements. I’m still not entirely satisfied, but maybe with some luck I can help the TypeDoc project improve its library mode.

1reaction
MasterKalecommented, Sep 10, 2020

Oh dang, Nuxt has a way for me to quickly get a site like that up and running? I went with Docusaurus because I thought I’d have to wire up my own version of Nuxt’s site and opted for something that seemed more turnkey.

I honestly prefer Nuxt’s format, though, so I’ll take a closer look at the template you linked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Five Common Library and API Documentation Problems
Writing technical documentation is never easy. Learn how to avoid the most common API problems from developers who have stumbled upon them ...
Read more >
Ten Extras for Great API Documentation - A List Apart
Continuously improving your API documentation is an investment, but it can have a huge impact. Great documentation builds trust, ...
Read more >
10 Best API Documentation Tools for 2022 [+Why Use One]
Check out some of the best API documentation tools that can help you create and maintain your documentation in less time.
Read more >
Improve Performance | API Client Library for .NET
This document covers techniques you can use to improve the performance of your application. The documentation for the specific API you are using...
Read more >
Documenting APIs: A guide for technical writers and engineers
In this course on writing documentation for APIs, instead of just talking about abstract concepts, I contextualize APIs with a direct, hands-on approach....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found