Skip to content

Commit 726be1e

Browse files
author
Jon Duckworth
authored
Merge pull request #535 from l0b0/docs/use-https-links-to-external-sites
docs: Use HTTPS links to external sites
2 parents 854d66e + ce0ffad commit 726be1e

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This file does only contain a selection of the most common options. For a
66
# full list see the documentation:
7-
# http://www.sphinx-doc.org/en/master/config
7+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
88

99
# -- Path setup --------------------------------------------------------------
1010

docs/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ PySTAC uses
5757
- `black <https://github.com/psf/black>`_ for Python code formatting
5858
- `codespell <https://github.com/codespell-project/codespell/>`_ to check code for common misspellings
5959
- `doc8 <https://github.com/pycqa/doc8>`__ for style checking on RST files in the docs
60-
- `flake8 <http://flake8.pycqa.org/en/latest/>`_ for Python style checks
60+
- `flake8 <https://flake8.pycqa.org/en/latest/>`_ for Python style checks
6161
- `mypy <http://www.mypy-lang.org/>`_ for Python type annotation checks
6262

6363
Run all of these with ``pre-commit run --all-files`` or a single one using

docs/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if errorlevel 9009 (
2121
echo.may add the Sphinx directory to PATH.
2222
echo.
2323
echo.If you don't have Sphinx installed, grab it from
24-
echo.http://sphinx-doc.org/
24+
echo.https://www.sphinx-doc.org/
2525
exit /b 1
2626
)
2727

docs/tutorials/creating-a-landsat-stac.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@
988988
"cell_type": "markdown",
989989
"metadata": {},
990990
"source": [
991-
"This would be a good time to check our work - we can print out the GeoJSON and use [geojson.io](http://geojson.io/) to check and make sure we're using scenes that overlap our location. If this footprint is somewhere unexpected in the world, make sure the Lat/Long coordinates are correct and in the right order!"
991+
"This would be a good time to check our work - we can print out the GeoJSON and use [geojson.io](https://geojson.io/) to check and make sure we're using scenes that overlap our location. If this footprint is somewhere unexpected in the world, make sure the Lat/Long coordinates are correct and in the right order!"
992992
]
993993
},
994994
{

docs/tutorials/how-to-create-stac-catalogs.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
}
127127
],
128128
"source": [
129-
"url = ('http://spacenet-dataset.s3.amazonaws.com/'\n",
129+
"url = ('https://spacenet-dataset.s3.amazonaws.com/'\n",
130130
" 'spacenet/SN5_roads/train/AOI_7_Moscow/MS/'\n",
131131
" 'SN5_roads_train_AOI_7_Moscow_MS_chip996.tif')\n",
132132
"urllib.request.urlretrieve(url, img_path)"
@@ -1435,7 +1435,7 @@
14351435
}
14361436
],
14371437
"source": [
1438-
"url2 = ('http://spacenet-dataset.s3.amazonaws.com/'\n",
1438+
"url2 = ('https://spacenet-dataset.s3.amazonaws.com/'\n",
14391439
" 'spacenet/SN5_roads/train/AOI_7_Moscow/MS/'\n",
14401440
" 'SN5_roads_train_AOI_7_Moscow_MS_chip997.tif')\n",
14411441
"img_path2 = os.path.join(tmp_dir.name, 'image.tif')\n",

pystac/catalog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ class Catalog(STACObject):
113113
Args:
114114
id : Identifier for the catalog. Must be unique within the STAC.
115115
description : Detailed multi-line description to fully explain the catalog.
116-
`CommonMark 0.28 syntax <http://commonmark.org/>`_ MAY be used for rich text
117-
representation.
116+
`CommonMark 0.28 syntax <https://commonmark.org/>`_ MAY be used for rich
117+
text representation.
118118
title : Optional short descriptive one-line title for the catalog.
119119
stac_extensions : Optional list of extensions the Catalog implements.
120120
href : Optional HREF for this catalog, which be set as the

pystac/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ class Collection(Catalog):
521521
Args:
522522
id : Identifier for the collection. Must be unique within the STAC.
523523
description : Detailed multi-line description to fully explain the
524-
collection. `CommonMark 0.28 syntax <http://commonmark.org/>`_ MAY
524+
collection. `CommonMark 0.28 syntax <https://commonmark.org/>`_ MAY
525525
be used for rich text representation.
526526
extent : Spatial and temporal extents that describe the bounds of
527527
all items contained within this Collection.

pystac/extensions/projection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def epsg(self) -> Optional[int]:
9494
9595
A Coordinate Reference System (CRS) is the data reference system (sometimes
9696
called a 'projection') used by the asset data, and can usually be referenced
97-
using an `EPSG code <http://epsg.io/>`_.
97+
using an `EPSG code <https://epsg.io/>`_.
9898
If the asset data does not have a CRS, such as in the case of non-rectified
9999
imagery with Ground Control Points, ``epsg`` should be set to ``None``.
100100
It should also be set to ``None`` if a CRS exists, but for which there is no
@@ -112,7 +112,7 @@ def wkt2(self) -> Optional[str]:
112112
that the ``proj:geometry`` and ``proj:bbox`` fields represent
113113
114114
This value is a
115-
`WKT2 string <http://docs.opengeospatial.org/is/12-063r5/12-063r5.html>`_.
115+
`WKT2 string <https://docs.opengeospatial.org/is/12-063r5/12-063r5.html>`_.
116116
If the data does not have a CRS, such as in the case of non-rectified imagery
117117
with Ground Control Points, ``wkt2`` should be set to ``None``. It should also
118118
be set to ``None`` if a CRS exists, but for which a WKT2 string does not exist.

tests/data-files/examples/1.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ should successfully load in various tools. They do not follow *all* the [best pr
66
due to the fact that they contrive examples to show the spec and we are hosting in GitHub. But we note below where they differ from an ideal catalog.
77

88
The various fields are mostly fictional, to be able to demonstrate the various aspects of the spec as tersely as possible. To get a sense
9-
of real world STAC implementations we recommend exploring the [stac-examples](http://github.com/stac-utils/stac-examples) repo, which
9+
of real world STAC implementations we recommend exploring the [stac-examples](https://github.com/stac-utils/stac-examples) repo, which
1010
gathers in one place copies of STAC [Items](../item-spec/item-spec.md) and [Collection](../collection-spec/collection-spec.md)
1111
from a number of different production catalogs that all follow good STAC practices. And you should also explore the various catalogs
12-
listed on [STAC Index](http://stacindex.org), to see full catalogs in production.
12+
listed on [STAC Index](https://stacindex.org/), to see full catalogs in production.
1313

1414
## Organization
1515

0 commit comments

Comments
 (0)