Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change most http to https #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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 <http://peterhudec.github.io/authomatic>`_
It was created as a by-product of the `Authomatic <https://peterhudec.github.io/authomatic>`_
authentication / authorization library.

Features
Expand Down Expand Up @@ -63,8 +63,8 @@ Styles

There are two ready made styles.

* ``foundation/css/basic.css`` `See demo. <http://peterhudec.github.io/foundation-sphinx-theme/basic/html/>`_
* ``foundation/css/cards.css`` `See demo. <http://peterhudec.github.io/foundation-sphinx-theme/cards/html/>`_
* ``foundation/css/basic.css`` `See demo. <https://peterhudec.github.io/foundation-sphinx-theme/basic/html/>`_
* ``foundation/css/cards.css`` `See demo. <https://peterhudec.github.io/foundation-sphinx-theme/cards/html/>`_

If you want to customize them or make your own,
extend the ``sass`` sources in ``foundation/static/foundation/sass``.
Expand Down Expand Up @@ -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.
Expand All @@ -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',
Expand Down
16 changes: 8 additions & 8 deletions foundation_sphinx_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ <h1 id="logo">{{ docstitle }}</h1>
{% endblock %}

{% block html_open %}
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" prefix="og: http://ogp.me/ns#"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" prefix="og: http://ogp.me/ns#"> <!--<![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" prefix="og: https://ogp.me/ns#"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" prefix="og: https://ogp.me/ns#"> <!--<![endif]-->
{% endblock %}

{% block html_head %}
Expand Down Expand Up @@ -244,7 +244,7 @@ <h1><a href="{{ pathto(master_doc) }}">{{ docstitle }}</a></h1>
</li>
{% if theme_github_user and theme_github_repo %}
<li>
<iframe src="http://ghbtns.com/github-btn.html?user={{ theme_github_user }}&repo={{ theme_github_repo }}&type=watch&count=true"
<iframe src="https://ghbtns.com/github-btn.html?user={{ theme_github_user }}&repo={{ theme_github_repo }}&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
</li>
{% endif %}
Expand All @@ -255,7 +255,7 @@ <h1><a href="{{ pathto(master_doc) }}">{{ docstitle }}</a></h1>
{% if theme_flattr_id %}
<li>
<a class="FlattrButton"
href="http://peterhudec.github.io/foundation-sphinx-theme/cards/html"
href="https://peterhudec.github.io/foundation-sphinx-theme/cards/html"
data-flattr-uid="{{ theme_flattr_id }}"
data-flattr-category="software"
data-flattr-button="compact"
Expand All @@ -265,7 +265,7 @@ <h1><a href="{{ pathto(master_doc) }}">{{ docstitle }}</a></h1>
</li>
{% endif %}
<li class="reddit">
<script type="text/javascript" src="http://www.reddit.com/static/button/button1.js">
<script type="text/javascript" src="https://www.reddit.com/static/button/button1.js">
reddit_newwindow='1';
</script>
</li>
Expand Down Expand Up @@ -339,7 +339,7 @@ <h1><a href="{{ pathto(master_doc) }}">{{ docstitle }}</a></h1>
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="https://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
{%- endif %}
</div>
{%- endblock -%}
Expand All @@ -358,7 +358,7 @@ <h1><a href="{{ pathto(master_doc) }}">{{ docstitle }}</a></h1>
/**
* 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() {
Expand Down Expand Up @@ -402,4 +402,4 @@ <h1><a href="{{ pathto(master_doc) }}">{{ docstitle }}</a></h1>
{% endif %}
</body>
{% endblock %}
</html>
</html>
4 changes: 2 additions & 2 deletions sample-project/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion sample-project/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Foundation Sphinx Theme Demo
=============================

This is a simple demo of the `Foundation Sphinx theme <http://github.com/peterhudec/foundation-sphinx-theme>`_.
This is a simple demo of the `Foundation Sphinx theme <https://github.com/peterhudec/foundation-sphinx-theme>`_.

This is a ``literal``, this is a link to :func:`foo` function and this to :class:`Bar` class.

Expand Down