alamb opened a new issue, #163: URL: https://github.com/apache/parquet-site/issues/163
- While debugging https://github.com/apache/parquet-site/issues/159 I would like the local rendered site to match the production site as much as possible so we can test changes before making them live. There are currently several differences This results in: 1. The fonts don't appear quite the same 2. The local version of the page has search, but the deployed one does not I suspect this is related to the fact that there are several resources used when rendering the site locally that are blocked on the production site: https://parquet.apache.org/ I believe the errors are due to the fact that the docsy template we use tries to fetch CSS and jquery from third-party servers that are not allowed by the apache.org server Here are the errors: ``` (index):1 Loading the script 'https://code.jquery.com/jquery-3.7.1.min.js' violates the following Content Security Policy directive: "script-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. The action has been blocked. (index):1 Loading the stylesheet 'https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i&display=swap' violates the following Content Security Policy directive: "style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback. The action has been blocked. (index):1 Loading the stylesheet 'https://cdn.jsdelivr.net/npm/@docsearch/[email protected]' violates the following Content Security Policy directive: "style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback. The action has been blocked. main.min.5ea9bb4146d…cd03b7fa7f2bb4.js:5 Uncaught ReferenceError: jQuery is not defined at main.min.5ea9bb4146d…fa7f2bb4.js:5:83140 (index):1 Loading the script 'https://cdn.jsdelivr.net/npm/@docsearch/[email protected]' violates the following Content Security Policy directive: "script-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. The action has been blocked. (index):5 Uncaught ReferenceError: docsearch is not defined at (index):5:968 (index):1 Loading the stylesheet 'https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i&display=swap' violates the following Content Security Policy directive: "style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback. The action has been blocked. (index):1 Loading the stylesheet 'https://cdn.jsdelivr.net/npm/@docsearch/[email protected]' violates the following Content Security Policy directive: "style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback. The action has been blocked. ``` <img width="2269" height="1405" alt="Image" src="https://github.com/user-attachments/assets/42512bd7-b9a3-4f98-a998-bda04765268b" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
