summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2021-03-30 02:57:19 +0800
committerGitHub <noreply@github.com>2021-03-29 20:57:19 +0200
commit865f63bfb5db085d052a4571f3bc26eccafe61ac (patch)
treefe4a66c2f39335783b96ce9538a9826b8b951fa3
parent9decfca1b7c836247c80ea94aca8c7cacf70327c (diff)
downloadcython-865f63bfb5db085d052a4571f3bc26eccafe61ac.tar.gz
docs: use https links (GH-4067)
-rw-r--r--CHANGES.rst2
-rw-r--r--README.rst6
-rw-r--r--docs/examples/Cython Magics.ipynb2
-rw-r--r--docs/make.bat2
-rw-r--r--docs/src/quickstart/overview.rst2
-rw-r--r--docs/src/tutorial/appendix.rst2
-rw-r--r--docs/src/tutorial/clibraries.rst2
-rw-r--r--docs/src/tutorial/readings.rst2
-rw-r--r--docs/src/userguide/numpy_tutorial.rst2
9 files changed, 11 insertions, 11 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 5702700a3..ebdadeefb 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -3511,7 +3511,7 @@ Features added
* Extension type inheritance from builtin types, such as "cdef class MyUnicode(unicode)", now works without further external type redeclarations (which are also strongly discouraged now and continue to issue a warning).
-* GDB support. http://docs.cython.org/src/userguide/debugging.html
+* GDB support. https://docs.cython.org/src/userguide/debugging.html
* A new build system with support for inline distutils directives, correct dependency tracking, and parallel compilation. https://github.com/cython/cython/wiki/enhancements-distutils_preprocessing
diff --git a/README.rst b/README.rst
index e1c718c27..6b9c9f773 100644
--- a/README.rst
+++ b/README.rst
@@ -15,7 +15,7 @@ This makes Cython the ideal language for wrapping external C libraries, and
for fast C modules that speed up the execution of Python code.
* Official website: https://cython.org/
-* Documentation: http://docs.cython.org/
+* Documentation: https://docs.cython.org/
* Github repository: https://github.com/cython/cython
* Wiki: https://github.com/cython/cython/wiki
@@ -31,7 +31,7 @@ If you already have a C compiler, just run following command::
pip install Cython
-otherwise, see `the installation page <http://docs.cython.org/en/latest/src/quickstart/install.html>`_.
+otherwise, see `the installation page <https://docs.cython.org/en/latest/src/quickstart/install.html>`_.
License:
@@ -85,7 +85,7 @@ Copyright stuff: Pyrex is free of restrictions. You
may use, redistribute, modify and distribute modified
versions.
-The latest version of Pyrex can be found `here <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_.
+The latest version of Pyrex can be found `here <https://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_.
| Greg Ewing, Computer Science Dept
| University of Canterbury
diff --git a/docs/examples/Cython Magics.ipynb b/docs/examples/Cython Magics.ipynb
index 0a8c8f56f..9bbf934c8 100644
--- a/docs/examples/Cython Magics.ipynb
+++ b/docs/examples/Cython Magics.ipynb
@@ -356,7 +356,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "You can similarly use the `-I/--include` flag to add include directories to the search path, and `-c/--compile-args` to add extra flags that are passed to Cython via the `extra_compile_args` of the distutils `Extension` class. Please see [the Cython docs on C library usage](http://docs.cython.org/src/tutorial/clibraries.html) for more details on the use of these flags."
+ "You can similarly use the `-I/--include` flag to add include directories to the search path, and `-c/--compile-args` to add extra flags that are passed to Cython via the `extra_compile_args` of the distutils `Extension` class. Please see [the Cython docs on C library usage](https://docs.cython.org/src/tutorial/clibraries.html) for more details on the use of these flags."
]
}
],
diff --git a/docs/make.bat b/docs/make.bat
index fb25acc6a..3e719777d 100644
--- a/docs/make.bat
+++ b/docs/make.bat
@@ -56,7 +56,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
- echo.http://sphinx-doc.org/
+ echo.https://sphinx-doc.org/
exit /b 1
)
diff --git a/docs/src/quickstart/overview.rst b/docs/src/quickstart/overview.rst
index 05829b8ad..1a378e837 100644
--- a/docs/src/quickstart/overview.rst
+++ b/docs/src/quickstart/overview.rst
@@ -47,7 +47,7 @@ language.
The Cython compiler, https://cython.org/.
.. [IronPython] Jim Hugunin et al., https://archive.codeplex.com/?p=IronPython.
.. [Jython] J. Huginin, B. Warsaw, F. Bock, et al.,
- Jython: Python for the Java platform, http://www.jython.org.
+ Jython: Python for the Java platform, https://www.jython.org.
.. [PyPy] The PyPy Group, PyPy: a Python implementation written in Python,
https://pypy.org/.
.. [Pyrex] G. Ewing, Pyrex: C-Extensions for Python,
diff --git a/docs/src/tutorial/appendix.rst b/docs/src/tutorial/appendix.rst
index ea93bb54b..82f225bbf 100644
--- a/docs/src/tutorial/appendix.rst
+++ b/docs/src/tutorial/appendix.rst
@@ -2,7 +2,7 @@ Appendix: Installing MinGW on Windows
=====================================
1. Download the MinGW installer from
- http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite.
+ https://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite.
(As of this
writing, the download link is a bit difficult to find; it's under
"About" in the menu on the left-hand side). You want the file
diff --git a/docs/src/tutorial/clibraries.rst b/docs/src/tutorial/clibraries.rst
index ff0a7b9d3..08c491d36 100644
--- a/docs/src/tutorial/clibraries.rst
+++ b/docs/src/tutorial/clibraries.rst
@@ -24,7 +24,7 @@ decide to use its double ended queue implementation. To make the
handling easier, however, you decide to wrap it in a Python extension
type that can encapsulate all memory management.
-.. [CAlg] Simon Howard, C Algorithms library, http://c-algorithms.sourceforge.net/
+.. [CAlg] Simon Howard, C Algorithms library, https://fragglet.github.io/c-algorithms/
Defining external declarations
diff --git a/docs/src/tutorial/readings.rst b/docs/src/tutorial/readings.rst
index c419b3d72..80ed26e66 100644
--- a/docs/src/tutorial/readings.rst
+++ b/docs/src/tutorial/readings.rst
@@ -1,7 +1,7 @@
Further reading
===============
-The main documentation is located at http://docs.cython.org/. Some
+The main documentation is located at https://docs.cython.org/. Some
recent features might not have documentation written yet, in such
cases some notes can usually be found in the form of a Cython
Enhancement Proposal (CEP) on https://github.com/cython/cython/wiki/enhancements.
diff --git a/docs/src/userguide/numpy_tutorial.rst b/docs/src/userguide/numpy_tutorial.rst
index a89cf86e2..f34b2a0da 100644
--- a/docs/src/userguide/numpy_tutorial.rst
+++ b/docs/src/userguide/numpy_tutorial.rst
@@ -61,7 +61,7 @@ Using Cython consists of these steps:
However there are several options to automate these steps:
-1. The `SAGE <http://sagemath.org>`_ mathematics software system provides
+1. The `SAGE <https://sagemath.org>`_ mathematics software system provides
excellent support for using Cython and NumPy from an interactive command
line or through a notebook interface (like
Maple/Mathematica). See `this documentation