Hello everyone!

This is something I could probably fix myself if I had the time, but I
wanted to point it out in case somebody else is able to fix it:

Tapestry documentation pages embed some externally-hosted resources
(CDN-supplied content for CSS, JavaScript, and fonts). The problem with
that is:

1) It's apparently against Apache policy (see the recent whimsy email
below), and
2) Some organizations block that content, making the Tapestry docs
inaccessible.

I'm hit by the latter issue myself when I'm on my company's VPN. It makes
the entire Tapestry documentation unreachable or scrambled-looking.

Here are the problematic URLs:

1) https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css

2) https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js

3)
https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,400;0,700;1,400;1,700&display=swap

These are all in the Velocity template file at [1] used by the site
exporter as described at [2].  Somebody would need to download and commit
the files to SVN, then update the template.vm file, then delete the
main.pageCache file as described at [2] to update all the pages.

[1]
https://svn.apache.org/repos/asf/tapestry/tapestry-site/trunk/template/template.vm
[2] https://tapestry.apache.org/confluence-site-setup.html

---------- Forwarded message ---------
From: Brennan Ashton <notificati...@github.com>
Date: Fri, Nov 11, 2022, 12:27 AM
Subject: [apache/apache-website-template] External hosted resources (google
fonts) (Issue #16)
To: apache/apache-website-template <
apache-website-templ...@noreply.github.com>
Cc: Subscribed <subscri...@noreply.github.com>


This template fails the whimsy check for external resources

Found 1 external resources: {"fonts.googleapis.com"=>1}
[Websites must not link to externally hosted
resources](https://privacy.apache.org/faq/committers.html)

—
Reply to this email directly, view it on GitHub
<https://github.com/apache/apache-website-template/issues/16>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGWIJCPYPOP5NNHIBIWPCDWHXKNLANCNFSM6AAAAAAR5II7LU>
.
You are receiving this because you are subscribed to this thread.Message
ID: <apache/apache-website-template/issues/1...@github.com>

Reply via email to