소스 검색

Use HTTPS for links which support it

Rémi Verschelde 6 년 전
부모
커밋
a95cd08285
4개의 변경된 파일17개의 추가작업 그리고 17개의 파일을 삭제
  1. 5 5
      README.md
  2. 10 10
      _templates/layout.html
  3. 1 1
      community/contributing/documentation_guidelines.rst
  4. 1 1
      index.rst

+ 5 - 5
README.md

@@ -1,8 +1,8 @@
 # Godot Engine documentation
 
-This repository contains the source files of [Godot Engine](http://godotengine.org)'s documentation,  in reStructuredText markup language (reST).
+This repository contains the source files of [Godot Engine](https://godotengine.org)'s documentation, in reStructuredText markup language (reST).
 
-They are meant to be parsed with the [Sphinx](http://sphinx-doc.org/) documentation builder to build the HTML documentation on [Godot's website](http://docs.godotengine.org).
+They are meant to be parsed with the [Sphinx](https://sphinx-doc.org/) documentation builder to build the HTML documentation on [Godot's website](https://docs.godotengine.org).
 
 ## Contributing changes
 
@@ -22,9 +22,9 @@ You should then add your page to the relevant "toctree" (table of contents, e.g.
 
 ### Sphinx and reStructuredText syntax
 
-Check Sphinx's [reST Primer](http://www.sphinx-doc.org/en/stable/rest.html) and the [official reference](http://docutils.sourceforge.net/rst.html) for details on the syntax.
+Check Sphinx's [reST Primer](https://www.sphinx-doc.org/en/stable/rest.html) and the [official reference](http://docutils.sourceforge.net/rst.html) for details on the syntax.
 
-Sphinx uses specific reST comments to do specific operations, like defining the table of contents (`:toctree:`) or cross-referencing pages. Check the [official Sphinx documentation](http://www.sphinx-doc.org/en/stable/index.html) for more details, or see how things are done in existing pages and adapt it to your needs.
+Sphinx uses specific reST comments to do specific operations, like defining the table of contents (`:toctree:`) or cross-referencing pages. Check the [official Sphinx documentation](https://www.sphinx-doc.org/en/stable/index.html) for more details, or see how things are done in existing pages and adapt it to your needs.
 
 ### Adding images and attachments
 
@@ -40,7 +40,7 @@ Similarly, you can include attachments (like assets as support material for a tu
 
 ## Building with Sphinx
 
-To build the HTML website (or any other format supported by Sphinx, like PDF, EPUB or LaTeX), you need to install [Sphinx](http://sphinx-doc.org/) >= 1.3 as well as (for the HTML) the [readthedocs.org theme](https://github.com/snide/sphinx_rtd_theme). Only the Python 3 flavor was tested, though the Python 2 versions might work too.
+To build the HTML website (or any other format supported by Sphinx, like PDF, EPUB or LaTeX), you need to install [Sphinx](https://sphinx-doc.org/) >= 1.3 as well as (for the HTML) the [readthedocs.org theme](https://github.com/snide/sphinx_rtd_theme). Only the Python 3 flavor was tested, though the Python 2 versions might work too.
 
 Those tools are best installed using [pip](https://pip.pypa.io), Python's module installer. The Python 3 version might be provided (on Linux distros) as `pip3` or `python3-pip`. You can then run:
 

+ 10 - 10
_templates/layout.html

@@ -1,14 +1,14 @@
 {% extends "!layout.html" %}
 {% block linktags %}
-    <link rel="alternate" hreflang="en" href="http://docs.godotengine.org/en/" />
-    <link rel="alternate" hreflang="de" href="http://docs.godotengine.org/de/" />
-    <link rel="alternate" hreflang="es" href="http://docs.godotengine.org/es/" />
-    <link rel="alternate" hreflang="fr" href="http://docs.godotengine.org/fr/" />
-    <link rel="alternate" hreflang="ko" href="http://docs.godotengine.org/ko/" />
-    <link rel="alternate" hreflang="pl" href="http://docs.godotengine.org/pl/" />
-    <link rel="alternate" hreflang="pt-br" href="http://docs.godotengine.org/pt-br/" />
-    <link rel="alternate" hreflang="uk" href="http://docs.godotengine.org/uk/" />
-    <link rel="alternate" hreflang="zh-cn" href="http://docs.godotengine.org/zh-cn/" />
-    <link rel="alternate" hreflang="x-default" href="http://docs.godotengine.org/" />
+    <link rel="alternate" hreflang="en" href="https://docs.godotengine.org/en/" />
+    <link rel="alternate" hreflang="de" href="https://docs.godotengine.org/de/" />
+    <link rel="alternate" hreflang="es" href="https://docs.godotengine.org/es/" />
+    <link rel="alternate" hreflang="fr" href="https://docs.godotengine.org/fr/" />
+    <link rel="alternate" hreflang="ko" href="https://docs.godotengine.org/ko/" />
+    <link rel="alternate" hreflang="pl" href="https://docs.godotengine.org/pl/" />
+    <link rel="alternate" hreflang="pt-br" href="https://docs.godotengine.org/pt-br/" />
+    <link rel="alternate" hreflang="uk" href="https://docs.godotengine.org/uk/" />
+    <link rel="alternate" hreflang="zh-cn" href="https://docs.godotengine.org/zh-cn/" />
+    <link rel="alternate" hreflang="x-default" href="https://docs.godotengine.org/" />
     {{ super() }}
 {% endblock %}

+ 1 - 1
community/contributing/documentation_guidelines.rst

@@ -7,7 +7,7 @@ This page describes the rules to follow if you want to contribute to Godot
 Engine by writing or reviewing documentation, or by translating existing
 documentation. Also have a look at README of the
 `godot-docs GitHub repository <https://github.com/godotengine/godot-docs>`_
-and the `docs front page <http://docs.godotengine.org>`_
+and the `docs front page <https://docs.godotengine.org>`_
 on what steps to follow and how to contact the docs team.
 
 How to contribute

+ 1 - 1
index.rst

@@ -8,7 +8,7 @@ Godot Docs – *master* branch
 
 .. attention:: This is the documentation for the unstable (master) branch.
                Looking for the documentation of the current **stable** branch?
-               `Have a look here <http://docs.godotengine.org/en/stable>`_.
+               `Have a look here <https://docs.godotengine.org/en/stable>`_.
 
 Welcome to the official documentation of Godot Engine, the free and open source
 community-driven 2D and 3D game engine! If you are new to this documentation,