-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Todo: Incremental builds #37
Comments
This is a great idea! Rebuilding the left sidebar on each run and iframing it into every page looks straightforward. We can also assume that per_page will not be changed for an existing site and iframe the page number section, so every month gets its own iframe. Incrementally building pages seems complex, the last page could have less messages than the config[”per_page”]. We can work around this by rebuilding this last page, which requires figuring out its filename and the message ID of the first message on this page. Linking message replies between old and new pages will also need a few steps. To get a page’s first message or the page number a message belongs to:
|
Thanks @faraazb. Yep, it's probably best to store the data in a new table, all behind a new |
Also wondering How I could contribute, this is the missing piece of this great piece of code! |
@faraazb's comment lays out a good starting point if you would like to attempt this. Thanks. |
For large groups, re-publishing and re-uploading every page isn't ideal. There should be a mechanism to build incrementally, maybe with an optional
--incremental
flag.The text was updated successfully, but these errors were encountered: