Skip to content

Commit

Permalink
This commit finalizes the documentation for configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
batic committed Mar 1, 2021
1 parent e460680 commit 0fbe4af
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 10 deletions.
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
'nbsphinx',
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages'
'sphinx.ext.githubpages',
'sphinx_reredirects'
]

# Both the class’ and the __init__ method’s docstring are concatenated and inserted.
Expand Down Expand Up @@ -223,3 +224,8 @@
shutil.copytree('../../examples', './examples')
except FileExistsError:
pass

# redirects
redirects = {
"examples/processing_api_request": "examples/process_request.html",
}
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Documentation of Sentinel Hub Python package
********************************************

Documentation for Python utility packages developed by the
EO research team at `Sinergise <http://www.sinergise.com/>`_.
EO research team at `Sinergise <https://www.sinergise.com/>`_.

This code allows one to reproduce some of the functionalities of the
EO service `Sentinel Hub <http://www.sentinel-hub.com/>`_.
EO service `Sentinel Hub <https://www.sentinel-hub.com/>`_.
The code is available on `GitHub <https://github.com/sentinel-hub/sentinelhub-py/>`_.

.. toctree::
Expand Down
6 changes: 3 additions & 3 deletions examples/aws_request.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"\n",
"The ```sentinelhub``` package supports obtaining data by specifying products or by specifying tiles. It can download data either to the same file structure as it is at AWS or it can download data into original ```.SAFE``` file structure [introduced by ESA](https://sentinel.esa.int/web/sentinel/user-guides/sentinel-2-msi/data-formats).\n",
"\n",
"Before testing any of the examples below please check [Configuration paragraph](http://sentinelhub-py.readthedocs.io/en/latest/configure.html#amazon-s3-capabilities) for details about configuring AWS credentials and information about charges."
"Before testing any of the examples below please check [Configuration paragraph](https://sentinelhub-py.readthedocs.io/en/latest/configure.html#amazon-s3-capabilities) for details about configuring AWS credentials and information about charges."
]
},
{
Expand Down Expand Up @@ -57,7 +57,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"For this functionality Sentinel Hub instance ID has to be configured according to [Configuration paragraph](http://sentinelhub-py.readthedocs.io/en/latest/configure.html#sentinel-hub-capabilities)."
"For this functionality Sentinel Hub instance ID has to be configured according to [Configuration paragraph](https://sentinelhub-py.readthedocs.io/en/latest/configure.html#sentinel-hub-capabilities)."
]
},
{
Expand Down Expand Up @@ -161,7 +161,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"- Automatic search with functions from [sentinelhub.opensearch](http://sentinelhub-py.readthedocs.io/en/latest/opensearch.html) module (no authentication required):"
"- Automatic search with functions from [sentinelhub.opensearch](https://sentinelhub-py.readthedocs.io/en/latest/opensearch.html) module (no authentication required):"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/byoc_request.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"source": [
"## Prerequisites\n",
"\n",
"BYOC API requires Sentinel Hub account. Please see [configuration instructions](http://sentinelhub-py.readthedocs.io/en/latest/configure.html) how to set up your configuration."
"BYOC API requires Sentinel Hub account. Please see [configuration instructions](https://sentinelhub-py.readthedocs.io/en/latest/configure.html) how to set up your configuration."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/data_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"\n",
"### Prerequisites\n",
"\n",
"BYOC API requires Sentinel Hub account. Please see [configuration instructions](http://sentinelhub-py.readthedocs.io/en/latest/configure.html) how to set up your configuration."
"BYOC API requires Sentinel Hub account. Please see [configuration instructions](https://sentinelhub-py.readthedocs.io/en/latest/configure.html) how to set up your configuration."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/ogc_request.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"**Disclaimer:**\n",
" \n",
"Sentinel Hub service has a dedicated [Process API](https://docs.sentinel-hub.com/api/latest/#/API/) that extends the limiting capabilities of the standard OGC endpoints. \n",
"We advise you to move to Process API and enjoy the full power of Sentinel Hub services. See the [notebook](./processing_api_request.ipynb) with Processing API examples.\n",
"We advise you to move to Process API and enjoy the full power of Sentinel Hub services. See the [notebook](./process_request.ipynb) with Process API examples.\n",
"</div>"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/process_request.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"\n",
"### Credentials\n",
"\n",
"Process API requires Sentinel Hub account. Please see [configuration instructions](http://sentinelhub-py.readthedocs.io/en/latest/configure.html) how to set up your configuration."
"Process API requires Sentinel Hub account. Please see [configuration instructions](https://sentinelhub-py.readthedocs.io/en/latest/configure.html) how to set up your configuration."
]
},
{
Expand Down
1 change: 1 addition & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ sphinx_rtd_theme
nbsphinx
matplotlib
ipython
sphinx-reredirects

0 comments on commit 0fbe4af

Please sign in to comment.