From b53f0b9625440aa4bbd4f4a007ed9d29ed3c9538 Mon Sep 17 00:00:00 2001 From: ka7 at github Date: Wed, 3 Jan 2024 00:09:07 +0100 Subject: [PATCH] change most http to https --- README.rst | 12 ++++++------ foundation_sphinx_theme/layout.html | 16 ++++++++-------- sample-project/source/conf.py | 4 ++-- sample-project/source/index.rst | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.rst b/README.rst index beeb850..870b314 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,12 @@ .. |foundation| replace:: Foundation 4 -.. _foundation: http://foundation.zurb.com/ +.. _foundation: https://foundation.zurb.com/ ======================= Sphinx Foundation Theme ======================= This is a Sphinx theme based on the |foundation|_ css framework. -It was created as a by-product of the `Authomatic `_ +It was created as a by-product of the `Authomatic `_ authentication / authorization library. Features @@ -63,8 +63,8 @@ Styles There are two ready made styles. -* ``foundation/css/basic.css`` `See demo. `_ -* ``foundation/css/cards.css`` `See demo. `_ +* ``foundation/css/basic.css`` `See demo. `_ +* ``foundation/css/cards.css`` `See demo. `_ If you want to customize them or make your own, extend the ``sass`` sources in ``foundation/static/foundation/sass``. @@ -150,7 +150,7 @@ There are these theme options available: 'seo_description': 'This is an example of the Foundation Sphinx Theme output.', # Use this as the base for Open Graph URLs without trailing slash. - 'base_url': 'http://example.com', + 'base_url': 'https://example.com', # If true a bar with Facebook, Google+ and Twitter social buttons will be displayed # underneath the header. @@ -175,7 +175,7 @@ There are these theme options available: 'author': 'Peter Hudec', # Author's link. - 'author_link': 'http://peterhudec.com', + 'author_link': 'https://peterhudec.com', # Year to be used in the copyright statement. 'copyright_year': '2013', diff --git a/foundation_sphinx_theme/layout.html b/foundation_sphinx_theme/layout.html index 2ce9157..08875f9 100644 --- a/foundation_sphinx_theme/layout.html +++ b/foundation_sphinx_theme/layout.html @@ -141,8 +141,8 @@

{{ docstitle }}

{% endblock %} {% block html_open %} - - + + {% endblock %} {% block html_head %} @@ -244,7 +244,7 @@

{{ docstitle }}

{% if theme_github_user and theme_github_repo %}
  • -
  • {% endif %} @@ -255,7 +255,7 @@

    {{ docstitle }}

    {% if theme_flattr_id %}
  • {{ docstitle }}
  • {% endif %}
  • -
  • @@ -339,7 +339,7 @@

    {{ docstitle }}

    {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} {%- endif %} {%- if show_sphinx %} - {% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %} + {% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %} {%- endif %} {%- endblock -%} @@ -358,7 +358,7 @@

    {{ docstitle }}

    /** * Fallback svg to png. * Taken from Todd Motto's article: - * http://toddmotto.com/mastering-svg-use-for-a-retina-web-fallbacks-with-png-script/ + * https://toddmotto.com/mastering-svg-use-for-a-retina-web-fallbacks-with-png-script/ */ if(!Modernizr.svg) { $('img[src*="svg"]').attr('src', function() { @@ -402,4 +402,4 @@

    {{ docstitle }}

    {% endif %} {% endblock %} - \ No newline at end of file + diff --git a/sample-project/source/conf.py b/sample-project/source/conf.py index b0ff626..b0968ba 100644 --- a/sample-project/source/conf.py +++ b/sample-project/source/conf.py @@ -102,11 +102,11 @@ 'motto': 'Lorem ipsum dolor sit amet, magna offendit similique ne nec. Ex doming sanctus labores pro, est ne dico simul laboramus.', 'google_analytics_id': 'UA-40554445-2', 'social_buttons': True, - 'base_url': 'http://peterhudec.github.io/foundation-sphinx-theme/basic/html', + 'base_url': 'https://peterhudec.github.io/foundation-sphinx-theme/basic/html', 'facebook_app_id': '245101572296049', 'twitter_id': 'FoundationSphinx', 'author': 'Peter Hudec', - 'author_link': 'http://peterhudec.com', + 'author_link': 'https://peterhudec.com', 'google_plus_id': '117034840853387702598', 'copyright_year': '2013', 'github_ribbon_image': 'github-ribbon.png', diff --git a/sample-project/source/index.rst b/sample-project/source/index.rst index 1ad97c9..2dd30c4 100644 --- a/sample-project/source/index.rst +++ b/sample-project/source/index.rst @@ -2,7 +2,7 @@ Foundation Sphinx Theme Demo ============================= -This is a simple demo of the `Foundation Sphinx theme `_. +This is a simple demo of the `Foundation Sphinx theme `_. This is a ``literal``, this is a link to :func:`foo` function and this to :class:`Bar` class.