The documentation site I am developing with docsy needs to support deployment into some environments that have no internet access. Currently docsy pulls in various js libs and fonts from cdns. It would be good if docsy could be changed to make the use of the cdn based libs optional instead getting them from /static/js/. The use of the cdns would be the default.
I have made the following changes that fix it for my needs. It would need to be extended to cover the other libs like mermaid that I am currently not using. If you are happy with this approach I don't mind submitting a PR. Is there a neater way of doing this or doing it without changing docsy?
themes/docsy/assets/scss/rtl/_main.scss also contains cdn based fonts but as I am not using hebrew/arabic/persian I have not done anything about these.
The documentation site I am developing with docsy needs to support deployment into some environments that have no internet access. Currently docsy pulls in various js libs and fonts from cdns. It would be good if docsy could be changed to make the use of the cdn based libs optional instead getting them from
/static/js/
. The use of the cdns would be the default.I have made the following changes that fix it for my needs. It would need to be extended to cover the other libs like mermaid that I am currently not using. If you are happy with this approach I don't mind submitting a PR. Is there a neater way of doing this or doing it without changing docsy?
I then just set this in my
config.toml
and have these in my
/static/js/
themes/docsy/assets/scss/rtl/_main.scss
also contains cdn based fonts but as I am not using hebrew/arabic/persian I have not done anything about these.