[Python-modules-commits] [sphinx] 03/07: don't use CSS files hosted on external sites

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sun Jan 22 09:17:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository sphinx.

commit be3653fb452bdc3df8a2b355cc035abd2f2f7a99
Author: Jakub Wilk <jwilk at debian.org>
Date:   Thu Oct 8 13:58:03 2015 -0700

    don't use CSS files hosted on external sites
    
    Forwarded: no
    Patch-Name: no_external_css.diff
---
 doc/_themes/sphinx13/layout.html  | 2 --
 sphinx/themes/pyramid/layout.html | 2 --
 2 files changed, 4 deletions(-)

diff --git a/doc/_themes/sphinx13/layout.html b/doc/_themes/sphinx13/layout.html
index 5a2a71b..9a4b160 100644
--- a/doc/_themes/sphinx13/layout.html
+++ b/doc/_themes/sphinx13/layout.html
@@ -14,8 +14,6 @@
 {% block sidebar2 %}{% endblock %}
 
 {% block extrahead %}
-    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
-          rel='stylesheet' type='text/css' />
 {{ super() }}
 {%- if not embedded %}
     <style type="text/css">
diff --git a/sphinx/themes/pyramid/layout.html b/sphinx/themes/pyramid/layout.html
index 2f89115..be95248 100644
--- a/sphinx/themes/pyramid/layout.html
+++ b/sphinx/themes/pyramid/layout.html
@@ -1,8 +1,6 @@
 {%- extends "basic/layout.html" %}
 
 {%- block extrahead %}
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" />
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" />
 <!--[if lte IE 6]>
 <link rel="stylesheet" href="{{ pathto('_static/ie6.css', 1) }}" type="text/css" media="screen" charset="utf-8" />
 <![endif]-->

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git



More information about the Python-modules-commits mailing list