This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
commit 5b5af0dcf70d509bdcc4ad0beb8bebf129f4dbca Author: Sergio del Amo <[email protected]> AuthorDate: Wed Feb 12 10:31:21 2025 +0100 don’t use font-awesome from cloudflare --- doc/site/public/css/font-awesome.min.css | 4 ++++ doc/site/site.gradle | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/site/public/css/font-awesome.min.css b/doc/site/public/css/font-awesome.min.css new file mode 100644 index 00000000..540440ce --- /dev/null +++ b/doc/site/public/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:norma [...] diff --git a/doc/site/site.gradle b/doc/site/site.gradle index 3852136f..8e660fab 100644 --- a/doc/site/site.gradle +++ b/doc/site/site.gradle @@ -99,8 +99,10 @@ tasks.register("replaceAnalyticsWithMatomo") { </script> ''' String matomo = new File("${project.rootDir}/doc/manual/src/docs/asciidoc/docinfo.html").text - file.text = html.replace(ga, matomo) - // Add your processing logic here + html = html.replace(ga, matomo) + html = html.replace('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', + '../../css/font-awesome.min.css') + file.text = html } } }
