FYI, I’ve created a fix for this issue: [SPARK-51104][DOC] Self-host
JavaScript and CSS in Spark website
<https://github.com/apache/spark/pull/49823>

On Tue, Feb 4, 2025 at 11:10 PM <pbk1...@gmail.com> wrote:

> 1.It seems to be a `CSP` issue, as follows:
> [image: d14447a60a387863b505f6b66b8e012a.png]
>
> 2.What is `CSP`?
>
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors
> https://developer.chrome.com/docs/privacy-security/csp
>
> 3.Temporary solution
> After installing extendsion ` Allow CSP: Content-Security-Policy` on the
> Chrome browser, it is possible for me to proceed as follows:
>
> https://chromewebstore.google.com/detail/allow-csp-content-securit/hnojoemndpdjofcdaonbefcfecpjfflh
> [image: image.png]
> [image: image.png]
>
> 4.Long term solution, `still under investigation`, maybe there are two
> solutions below
> A.Modify the iframe strategy of some pages
> B.Modify the configuration of `nginx` server.
>
> On Wed, Feb 5, 2025 at 1:39 PM Hyukjin Kwon <gurwls...@apache.org> wrote:
>
>> Hi all,
>>
>> I was randomly navigating Spark documentation and realised that Java API
>> documentation does not work.
>>
>> https://spark.apache.org/docs/latest/api/java/index.html
>>
>> I can open the page but when I navigate and visit pages, like 70% does
>> not work. Is this specific to me? Or can it be reproduced on your side too?
>>
>> Seems like the issue does not exist in the development documentation FWIW.
>>
>> Would be great to fix it if this happens to you too.
>>
>> cc @Pan Bingkun <panbing...@apache.org> @Yang Jie FYI
>>
>> [image: Screenshot 2025-02-05 at 2.38.20 PM.png]
>>
>
>
> --
>
>                         潘炳坤
>

Reply via email to