statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.65k stars 236 forks source link

Docs Recipe #342

Closed daveaglick closed 7 years ago

daveaglick commented 7 years ago

A new recipe that generates API documentation from source code as well as textual content from Markdown/Razor files. Some requirements:

When done, consider bringing some features back to Blog Recipe like searching, multi-level content pages, header sidebars, etc.

daveaglick commented 7 years ago

Initial thoughts on theme:

gep13 commented 7 years ago

@daveaglick with regard to this:

Text content should allow two levels of nesting, - top level and sub pages

We actually have an open issue on the website to include an additional layer of nesting:

https://github.com/cake-build/website/issues/41

Is this something that will be configurable?

daveaglick commented 7 years ago

@gep13 Yep! I went ahead and made the nesting depth arbitrary so you'll be able to add as many levels as needed.

FWIW, it's also file-driven so you won't need a ToC XML file like you've been using. To add extra items you just add a file, and nesting is just a folder.

gep13 commented 7 years ago

Sweet! 👍

jairbubbles commented 7 years ago

For "Edit in GitHub link" it would be great if we can customize the link and the name / icon. For instance "Edit in Gitlab".

daveaglick commented 7 years ago

@jairbubbles Totally agree. Planning to have user supply the base URL and then just append the Markdown and/or code relative path to that, so host could be anything.

daveaglick commented 7 years ago

castaway-fire

gep13 commented 7 years ago

WOO HOO!