inveniosoftware / docs-invenio-rdm

InvenioRDM docs
https://inveniordm.docs.cern.ch/
MIT License
21 stars 60 forks source link

upgrade docs site according to google fonts changes #573

Closed zzacharo closed 12 months ago

zzacharo commented 1 year ago

Context from documentation team

Your gitlab site "inveniordm-docs/docs-invenio-rdm" GitLabPages site [1], needs to comply to the recent changes we have applied to the mkdocs template [2] you may have been using.

Our mkdocs template [2] uses mkdocs-material theme which in turn, by default, is configured to download Google Fonts directly from https://fonts.googleapis.com/. This poses some privacy-related risks and in order to protect users data we have updated this template to use locally hosted Google Fonts.

As of July 11th, any new GitlabPages site created from the template [2] will use locally hosted Google Fonts, however this doesn't apply to the existing sites, therefore we need to ask you to do one of the following:

  1. If you do use mkdocs-material please follow our guide [3] on how to integrate our latest patch into your GitLabPages site.
  2. If you use any other Static Site Generator which makes use of Google Fonts, please refer to its documentation on how to use local fonts rather than the ones provided by https://fonts.googleapis.com/

In case you need additional help, please create a SNoW ticket. [4]

[1] https://webeos.cern.ch/k8s/ns/inveniordm-docs/clusterserviceversions/gitlab-pages-site-operator.v0.0.0/staticsites.webservices.cern.ch~v1alpha1~GitlabPagesSite/docs-invenio-rdm [2] https://gitlab.cern.ch/authoring/documentation/mkdocs-container-example [3] https://how-to.docs.cern.ch/advanced/google-fonts/ [4] https://cern.service-now.com/service-portal?id=sc_cat_item&name=request&fe=openshift-websites

zzacharo commented 12 months ago

fixed in https://github.com/inveniosoftware/docs-invenio-rdm/commit/fca70aafa463f3ac0e2b7e57b0dc97b045a06c51