Starlight
Getting started
About this site
Louโs Code is the monorepo I created to use as the central hub for all my libraries, consolidating resources while streamlining development and maintaining a cohesive ecosystem of tools and components.
To make the documentation easy to consume for others, this site relies on combining the power of two open-source technologies:
TypeDoc
It generates markdown files from the inline documentation of each library. Check it out here.
I wish it was as easy as plug-and-play, but I had to write a bunch of custom logic for that combination to work. Nevertheless, the end result is one Iโm quite happy with.
Youโll notice two main sections in the sidebar: Guides and Reference.
Guides
Guides has the background of each library, separated into 3 sections written manually by me:
- Why: My reasoning for creating that library.
- How: How did I do it (tech used, architecture, etc.).
- Where: Where I use that particular library.
Reference
Reference, on the other hand, has the auto-generated documentation of each library. Because itโs auto-generated, I must say ๐ here be dragons ๐ mainly because the inline documentation in the libraries is meant to be used directly in your editor of choice.