The staging static website https://static.staging.kernelci.org/ is deployed periodically with changes from pending PRs. Each page has a publication date which makes it only visible once that date is reached. For example:
This is useful to be able to control when a new page or blog post becomes publicly visible without updating the website. However, for staging purposes it's necessary to verify that the page is rendering correctly before it is deployed in production. Previously, PRs would first have an earlier date set which would then get updated before merging for production deployment. Hugo however provides a feature to disable the filtering of "future" pages, so enabling it on staging would help with reviews while keeping the feature enabled for production:
-F, --buildFuture include content with publishdate in the future
So in principle, adding the option to the command line in the staging.kernelci.org script should enable it:
The staging static website https://static.staging.kernelci.org/ is deployed periodically with changes from pending PRs. Each page has a publication date which makes it only visible once that date is reached. For example:
This is useful to be able to control when a new page or blog post becomes publicly visible without updating the website. However, for staging purposes it's necessary to verify that the page is rendering correctly before it is deployed in production. Previously, PRs would first have an earlier date set which would then get updated before merging for production deployment. Hugo however provides a feature to disable the filtering of "future" pages, so enabling it on staging would help with reviews while keeping the feature enabled for production:
So in principle, adding the option to the command line in the
staging.kernelci.org
script should enable it: