sphinx-contrib / emojicodes

An extension to use emoji codes in your Sphinx documentation! 😍
https://sphinxemojicodes.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
50 stars 15 forks source link

Update Twemoji source config #41

Closed 0robustus1 closed 1 year ago

0robustus1 commented 1 year ago

MaxCDN is defunct: https://github.com/twitter/twemoji/issues/580

There is a new CDN url on unpkg. It's apparently not fully updated yet, as the twemoji.min.js there still references maxcdn as baseurl for the individual images, but they'll probably fix that soon.

The PR also adds the ability to configure your own sphinxemoji_source to use your own CDN or possibly store it as local files in the projects repository similar to other js and css files.

Peque commented 1 year ago

Thanks @0robustus1! :blush: