-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
We have about 6 000 documents in our main content pages. Regenerating static HTML version, send to a Lucene index every updated document at every merge to master would be intensive for no real benefit.
How about we remove the need for the static site generator to require a full generation run at every change. One reason most static site generator has to require a full run are cases when you want to list folders with sub pages.
Why not leverage an already baked-in feature from the web server and let it generate sub pages for us.
That way our static-site generator won’t need to have this task to be done.
Expected tasks
- Have a proof of concept that fills requirements
- Create web server package with "Directory listing" that we can theme
- Create files in static site generator content source "directory listing templates" to be used by web server
- Commit NGINX configuration to make use of the templates into https://github.com/webplatform/docs along with redirect maps config of issue Ensure original URLs are redirected (301 Moved Permanently) to normalized names, including pages that has redirects #6