[
https://issues.apache.org/jira/browse/SOLR-17342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916345#comment-17916345
]
Jan Høydahl edited comment on SOLR-17342 at 1/23/25 10:17 AM:
--------------------------------------------------------------
I merged the first PR to internalize some fonts and scripts.
However, I see that there is still a [script from
artifacthub|https://artifacthub.io/docs/topics/embedding_artifacts/] that
violates the policy, see developer console while loading
[https://solr.staged.apache.org/operator/artifacts.html]
[~houston] Do you know if the artifact widget can easily be hosted locally?
Guess we could download the script and host it, but I don't know if it will be
stopped by CORS or something when loaded from apache.org? Want to give it a
shot?
!Skjermbilde 2025-01-23 kl. 11.08.23.png|width=664,height=165!
was (Author: janhoy):
I merged the first PR to internalize some fonts and scripts.
However, I see that there is still a script from artifacthub that violates the
policy, see developer console while loading
[https://solr.staged.apache.org/operator/artifacts.html]
[~houston] Do you know if the artifact widget can easily be hosted locally?
Want to give it a shot?
!Skjermbilde 2025-01-23 kl. 11.08.23.png|width=664,height=165!
> Comply with ASF website policy - external resources
> ---------------------------------------------------
>
> Key: SOLR-17342
> URL: https://issues.apache.org/jira/browse/SOLR-17342
> Project: Solr
> Issue Type: New Feature
> Components: website
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Major
> Labels: pull-request-available
> Attachments: Skjermbilde 2025-01-23 kl. 11.08.23.png
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The only website policy solr violates is linking to external resources:
> [https://whimsy.apache.org/site/project/solr]
> We should copy resources to our template instead of linking. The ones we link
> to in _css.html are:
>
> {code:java}
> <link href='//fonts.googleapis.com/css?family=Raleway:400,300,600,500'
> rel='stylesheet' type='text/css'>
> <link
> href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"
> rel="stylesheet">
> <link rel="stylesheet" type="text/css"
> href="//cdn.jsdelivr.net/jquery.slick/1.3.7/slick.css"/> {code}
> Note that the links are in multiple files.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]