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

Consider adding a special "__wyam" folder in preview mode #640

Open avishnyakov opened 6 years ago

avishnyakov commented 6 years ago

This is something Wyam can borrow from Middleman:

Middleman - Seeing the Sitemap

https://middlemanapp.com/advanced/sitemap/#seeing-the-sitemap

The idea is that in the preview mode Wyam might provide a "system" view over what's going on. Similar to middleman, http://localhost:port/__wyam would output tons of useful info on how Wyam sees and configures the current web site.

This is a very nice way to expose the following things:

Hit a simple middleman web site under Docker container if you need to look into more details on this. Hope this gives an idea on what/why can be improved.

daveaglick commented 6 years ago

This is an interesting idea. Sounds kind of related to #157 - whereas that issue is about showing debug information in real-time as injected web content, this would that debug information to disk. Possibly they could share some code as far as what gets gathered and output - or maybe #157 just becomes an injected web-based view of what's been written to the _wyam folder.