caddyserver / website

The Caddy website
157 stars 153 forks source link

Building website with custom module docs #384

Open ImpostorKeanu opened 8 months ago

ImpostorKeanu commented 8 months ago

Hi again!

Is there any documentation on how to build the website and have it reflect documentation for custom modules in the "JSON Config Structure"? I've found the moduledoc project, but haven't quite figured how to generate the desired output and marry it with the website content.

If someone is kind enough to give me a few breadcrumbs, maybe I can find the time to document and share the process (if it isn't already).

Thanks again for the phenomenal projects! They're becoming more and more critical to my work with each passing day.

mholt commented 8 months ago

Good question... there is not. The code that generates the module docs is open source but the website backend is niche (i.e. not generally useful) and not open source because it includes the account database and such.

But, perhaps separating out the module documentation from the rest of the website would be a good endeavor at some point, similar to how you can run godoc locally.

ImpostorKeanu commented 8 months ago

Got it! Thanks for considering the enhancement.