chiark / gitweb /
HTTPS links to external sites as well, if possible.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 3 Nov 2018 13:03:47 +0000 (14:03 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 4 Nov 2018 11:59:59 +0000 (12:59 +0100)
doc/css/components.rst
doc/css/grid.rst
doc/doxygen.rst
doc/pelican.rst
doc/pelican/theme.rst
doc/pelican/writing-content.rst
doc/plugins/htmlsanity.rst
doc/plugins/plots-and-graphs.rst
pelican-theme/test/page_html_escape/content.rst

index d2c9623f92bf38d8171c830ef89dff3f05697f6d..acb9273b3db5c91d902f1c34fb6f00bb4bb03db2 100644 (file)
@@ -967,8 +967,7 @@ It's also possible to have matching border for a console output. Just use
 
 The ``latex2svg.py`` utility from :gh:`tuxu/latex2svg` can be used to generate
 SVG representation of your LaTeX math formulas. Assuming you have some LaTeX
-distribution and `dvisvgm <http://dvisvgm.bplaced.net/>`_ installed, the usage
-is simple:
+distribution and `dvisvgm <https://dvisvgm.de/>`_ installed, the usage is:
 
 .. code:: sh
 
index 798d85f0b73df9a74cc031bd20c171c0077d3c50..916b52d998620b46d58e92a21b1c48a85d9ce5a9 100644 (file)
@@ -37,7 +37,7 @@ Grid system
 .. role:: html(code)
     :language: html
 
-Inspired by `Bootstrap <http://getbootstrap.com>`_, the grid system is the
+Inspired by `Bootstrap <https://getbootstrap.com>`_, the grid system is the
 heart of a responsive website layout. The `m-grid.css <{filename}/css.rst>`_
 file contains all the setup you need for it, it's completely standalone.
 Besides that, in order to have devices recognize your website properly as
index b206529a65f2fc182a6263291f178ebfce1f934d..f25dcfb0e3b221ef74fcbbc36023ed61d31436fb 100644 (file)
@@ -46,12 +46,12 @@ Doxygen theme
     :language: sh
 
 A modern, mobile-friendly drop-in replacement for the stock
-`Doxygen <http://www.doxygen.org>`_ HTML output, with a first-class search
+`Doxygen <https://www.doxygen.org>`_ HTML output, with a first-class search
 functionality. Generated from Doxygen-produced XML files, filenames and URLs
 are fully compatible with the stock output to avoid broken links once you
 switch.
 
-.. button-success:: http://doc.magnum.graphics
+.. button-success:: https://doc.magnum.graphics
 
     Live demo
 
@@ -168,7 +168,7 @@ If you see something unexpected or not see something expected, check the
 
     If you want to know more, the search functionality implementation and
     features are detailed
-    `in this blog post <http://blog.magnum.graphics/meta/implementing-a-fast-doxygen-search/>`_.
+    `in this blog post <https://blog.magnum.graphics/meta/implementing-a-fast-doxygen-search/>`_.
 
 `Important differences to stock HTML output`_
 ---------------------------------------------
@@ -883,7 +883,7 @@ rendered HTML output:
         Centered.
         @endparblock
 
-        @m_div{m-button m-primary} <a href="http://doc.magnum.graphics/">@m_div{m-big}See
+        @m_div{m-button m-primary} <a href="https://doc.magnum.graphics/">@m_div{m-big}See
         it live! @m_enddiv @m_div{m-small} uses the m.css theme @m_enddiv </a> @m_enddiv
 
         This text contains a @span{m-text m-success} green @endspan word.
@@ -896,7 +896,7 @@ rendered HTML output:
 
         Centered.
 
-    .. button-primary:: http://doc.magnum.graphics
+    .. button-primary:: https://doc.magnum.graphics
 
         See it live!
 
index 174ceb7f499b3101786e713b79ed93730020d6b3..2def9fd87f6f8f95ac30d960c31d279eddde0c9d 100644 (file)
@@ -98,7 +98,7 @@ subdirectory with a ``.rst`` extension. For this example that would be
     :summary: This article has a cool summary.
 
     This article has not only cool summary, but also has cool contents. Lorem?
-    *Ipsum.* `Hi, google! <http://google.com>`_
+    *Ipsum.* `Hi, google! <https://google.com>`_
 
 If you did everything right, the auto-reload script should pick the file up and
 process it (check the console output). Then it's just a matter of refreshing
index d1c0d9bc4dbdbfba4912c7ae3723c9c98d272ca4..ddcdfe453ec29eea9eb7510e9d13e570fd752dff 100644 (file)
@@ -285,12 +285,12 @@ Example configuration to give sane defaults to all social meta tags:
 .. code:: py
 
     M_BLOG_NAME = "Your Brand Blog"
-    M_BLOG_URL = 'http://blog.your.brand/'
+    M_BLOG_URL = 'https://blog.your.brand/'
     M_BLOG_DESCRIPTION = "Your Brand is the brand that provides all that\'s needed."
 
     M_SOCIAL_TWITTER_SITE = '@your.brand'
     M_SOCIAL_TWITTER_SITE_ID = 1234567890
-    M_SOCIAL_IMAGE = 'http://your.brand/static/site.png'
+    M_SOCIAL_IMAGE = 'https://your.brand/static/site.png'
     M_SOCIAL_BLOG_SUMMARY = "This is the brand you need"
 
 .. _global-site-image:
@@ -529,7 +529,7 @@ of articles shown. Example configuration:
 .. note-success::
 
     You can see how this block looks on the Magnum Engine main page:
-    http://magnum.graphics
+    https://magnum.graphics
 
 `(Social) meta tags for pages`_
 -------------------------------
index 3d8b0b4b7452936a822484fc557aff2a2f80dc46..3347b7a95bbb9dce1a81ae371117f2a8ed31a009 100644 (file)
@@ -396,7 +396,7 @@ created using the :rst:`.. _anchor:` syntax.
         ============
 
         Repeated link to `Google`_. Anonymous links that share the same titles
-        `here <http://blog.mosra.cz>`__ and `here <http://magnum.graphics/>`__.
+        `here <http://blog.mosra.cz>`__ and `here <https://magnum.graphics/>`__.
         Link to `an anchor`_ above.
 
     .. _an anchor:
@@ -411,7 +411,7 @@ created using the :rst:`.. _anchor:` syntax.
         <h2><a href="#a-heading">A heading</a></h2>
 
     Repeated link to `Google`_. Anonymous links that share the same titles
-    `here <http://blog.mosra.cz>`__ and `here <http://magnum.graphics/>`__.
+    `here <http://blog.mosra.cz>`__ and `here <https://magnum.graphics/>`__.
     Link to `an anchor`_ above.
 
     .. raw:: html
index 5ccf92aa1b0f36d1b705d89776f24bc1c016327e..27da2628a81a635c5630b95fb36c256db2b2c4a9 100644 (file)
@@ -58,7 +58,7 @@ including the ``m/`` directory into one of your :py:`PLUGIN_PATHS` and add
     M_HTMLSANITY_SMART_QUOTES = True
     M_HTMLSANITY_HYPHENATION = True
 
-Hyphenation (see below) requires the `Pyphen <http://pyphen.org/>`_ library,
+Hyphenation (see below) requires the `Pyphen <https://pyphen.org/>`_ library,
 either install it via ``pip`` or your distribution package manager or disable
 it with the above setting.
 
@@ -164,7 +164,7 @@ implementing that feature. Lack of word wrap is visible especially on narrow
 screens of mobile devices, where there is just way too much blank space because
 of long words being wrapped on new lines.
 
-The hyphenation is done using `Pyphen <http://pyphen.org/>`_ and is applied to
+The hyphenation is done using `Pyphen <https://pyphen.org/>`_ and is applied to
 whole document contents and fields that are included in the :py:`FORMATTED_FIELDS`.
 All other fields including document title are excluded from hyphenation, the
 same goes for literal and raw blocks and links with URL (or e-mail) as a title.
@@ -303,8 +303,8 @@ with a formatter that makes use of `urljoin <https://docs.python.org/3/library/u
 so it does the right thing also when dealing with absolute URLs and even when
 they start with just ``//``.
 
-For example, if :py:`SITEURL` is :py:`'http://your.site'` and you apply
-``format_siteurl`` to :py:`'about/'`, then you get ``http://your.site/about/``;
+For example, if :py:`SITEURL` is :py:`'https://your.site'` and you apply
+``format_siteurl`` to :py:`'about/'`, then you get ``https://your.site/about/``;
 but if you apply it to :py:`'https://github.com/mosra/m.css'`, then you get
 just ``https://github.com/mosra/m.css``.
 
index 6ee8aa9c771b735d48f01d9f305bf99024a442e3..005a5fb7bc0ca8bf8a072b3bf92cf600e59eda97 100644 (file)
@@ -240,8 +240,8 @@ whole graph, it's also possible to color particular nodes and edges using the
         S₂ -> S₂ [label="1"]
 
 For more information check the official
-`GraphViz Reference <http://www.graphviz.org/doc/info/>`_, in particular the
-extensive `attribute documentation <http://www.graphviz.org/doc/info/attrs.html>`_.
+`GraphViz Reference <https://www.graphviz.org/doc/info/>`_, in particular the
+extensive `attribute documentation <https://www.graphviz.org/doc/info/attrs.html>`_.
 
 .. note-warning::
 
index 2bdfeb80341893b0bdf60b80ccf4b488d5beea89..12659ff846988e69114291c1c3741991ee092069 100644 (file)
@@ -4,4 +4,4 @@ Escaping in content
 -   `Self link <{filename}/page.rst>`_ (overriden URL)
 -   `Self link with more params added <{filename}/page.rst#so=this&works="bad">`_
 -   `Link to other page <{filename}/landing.rst>`_ (it doesn't have URL overriden)
--   `Link outside <http://a.site/?and&in&url="">`_.
+-   `Link outside <https://a.site/?and&in&url="">`_.