-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Theme-mkdocsIssues specifically involving the mkdocs theme.Issues specifically involving the mkdocs theme.Theme-readthedocsIssues specifically involving the readthedocs theme.Issues specifically involving the readthedocs theme.
Description
mkdocs looks like the perfect tool to self-host documentation! I'm a bit confused as to why CDNs are used for fonts and CSS. I'd prefer not to throw my visitors under the Google or Cloudflare bus :) Would it be possible to change this by default and not have the fonts and CSS come from CDNs? This is already done for some fonts and CSS files...
References:
| <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" /> |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" /> |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{lang}}.min.js"></script> |
mkdocs/mkdocs/themes/mkdocs/base.html
Line 24 in adfd76d
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ config.theme.hljs_style }}.min.css"> |
mkdocs/mkdocs/themes/mkdocs/base.html
Line 36 in adfd76d
| <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> |
mkdocs/mkdocs/themes/mkdocs/base.html
Line 38 in adfd76d
| <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{lang}}.min.js"></script> |
steinex, FlorianLudwig, networkException, justf0rfun, oprypin and 12 more
Metadata
Metadata
Assignees
Labels
Theme-mkdocsIssues specifically involving the mkdocs theme.Issues specifically involving the mkdocs theme.Theme-readthedocsIssues specifically involving the readthedocs theme.Issues specifically involving the readthedocs theme.