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

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Jun 6 16:51:04 UTC 2016


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

mitya57 pushed a commit to branch master
in repository sphinx.

commit 23f4e0eeef8298a59863d348f5b0d732957c1ec6
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 bf28cd0..f1caadc 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