Hi, Wrote a script that does the job and committed the resulting patched version to the 6_6 guide: https://solr.apache.org/guide/6_6/a-quick-overview.html
I can proceed with committing to svn the other fixed guides as well. Please followup in SOLR-17342. Jan > 20. mars 2025 kl. 16:17 skrev Jan Høydahl <jan....@cominvent.com>: > > Hi, > > We fixed our main website alrady: > https://issues.apache.org/jira/browse/SOLR-17342 > Except the artifacthub widgets on solr-operator page. We should just disable > those scripts and do a static link instead. > > The 9.x series ref-guide seems to work, but the previous not. > That's basically a bunch of static html+css+js lying around at > https://svn.apache.org/repos/infra/sites/solr/guide/ > > So one could svn checkout all those, and make a a script that would replace > lines like this > > <script src="https://code.jquery.com/jquery-3.5.1.min.js" > integrity="sha384-ZvpUoO/+PpLXR1lu4jmpXWu80pZlYUAfxl5NsBMWOEPSjUn/6Z/hRTt8+pR6L4N2" > crossorigin="anonymous"></script> > > with a local variant, and at the same time drop the downloaded script into > the "js/" folder. > > Jan > >> 20. mars 2025 kl. 15:44 skrev Houston Putman <hous...@apache.org>: >> >> Probably, and i was looking into that, but this is just beyond my extremely >> limited web knowledge. So if someone was to drive that, i would be willing >> to put in the effort to get the upload working for all affected versions. >> >> - Houston >> >> On Thu, Mar 20, 2025 at 5:48 AM Colvin Cowie <colvin.cowie....@gmail.com> >> wrote: >> >>> Can the dependencies be minified/packed and bundled with the reference >>> guide rather than fetching them? >>> >>> On Wed, 19 Mar 2025 at 21:47, Houston Putman <hous...@apache.org> wrote: >>> >>>> Yeah Apache turned this on recently, so there's no way around it, and >>>> nothing that we did wrong on our end. >>>> >>>> I'm not sure how we fix this, but it really is a bad experience for users >>>> (and us developers). >>>> >>>> - Houston >>>> >>>> On Wed, Mar 19, 2025 at 4:44 PM Alexandre Rafalovitch < >>> arafa...@gmail.com> >>>> wrote: >>>> >>>>> Loading CSS from 3rd party sites: >>>>> https://content-security-policy.com/examples/blocked-csp/ >>>>> >>>>> >>>>> Console error: >>>>> a-quick-overview.html:13 Refused to load the stylesheet ' >>>>> >>> https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css >>>> ' >>>>> because it violates the following Content Security Policy directive: >>>>> "style-src 'self' 'unsafe-inline' data:". Note that 'style-src-elem' >>> was >>>>> not explicitly set, so 'style-src' is used as a fallback. >>>>> >>>>> a-quick-overview.html:14 Refused to load the stylesheet ' >>>>> >>>> >>> https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css >>>>> ' >>>>> because it violates the following Content Security Policy directive: >>>>> "style-src 'self' 'unsafe-inline' data:". Note that 'style-src-elem' >>> was >>>>> not explicitly set, so 'style-src' is used as a fallback. >>>>> >>>>> >>>>> On Wed, 19 Mar 2025 at 17:36, Chris Hostetter < >>> hossman_luc...@fucit.org> >>>>> wrote: >>>>> >>>>>> >>>>>> : I'm not able to see any article text on the webpages for Solr >>>> Reference >>>>>> : Guide versions 8.6 through 8.11 (e.g. >>>>>> : https://solr.apache.org/guide/8_11/a-quick-overview.html), and my >>>>>> : colleagues are reporting the same issue. Did something break the >>>>>> : rendering of these pages? >>>>>> >>>>>> Hmmm, good question -- I can reproduce what you describe on multiple >>>>>> browsers, and whatever the problem is seems to be related to CSS -- >>>> with >>>>>> all stylesheets disabled the contents of all the pages are there. >>>>>> >>>>>> >>>>>> Any HTML/CSS experts out there who can help debug this? >>>>>> >>>>>> >>>>>> >>>>>> -Hoss >>>>>> http://www.lucidworks.com/ >>>>>> >>>>> >>>> >>> >