-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Modifications to built HTML in a post_build job do not show up in the site preview #9797
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
Comments
Hi Chris! It seems that you are hitting this bug #9172 which will be solved by #9179 The problem here is that Read the Docs is moving the output of the build process immediately after I suggest you to subscribe to #9179 to get updates about this. That issue is already in our roadmap, so we plan to fix it in the following weeks/months. I think this issue could be closed as duplicated. |
Is this completed now? I see that this one is still open |
Details
I am experimenting with using staticrypt to encrypt some HTML files that are built with Sphinx before being uploaded to RTD. To do so, I'm using a
post_build
event that modifies the built HTML and replaces it with an encrypted version. However, in the PR preview these changes do not seem to propagate.For example:
post_build
configuration I'm using to do the encryptingcat
command at the end and, in the build preview, I confirm that the contents of the HTML are in-fact encrypted.Project info:
Expected Result
I expected the page to be hidden behind a password, similar to other pages with
staticrypt
.Actual Result
The page is viewable to anyone.
The text was updated successfully, but these errors were encountered: