Skip to content

Commit

Permalink
Fix the docs (#219)
Browse files Browse the repository at this point in the history
fixes issues with docbuilding
  • Loading branch information
zigaLuksic authored Oct 27, 2021
1 parent d76c621 commit 6d4ae23
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/source/data_collections_bands.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
data_collections_bands
======================

.. automodule:: sentinelhub.data_collections_bands
:members:
:inherited-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Modules
config
constants
data_collections
data_collections_bands
data_request
download.aws_client
download.client
Expand Down
2 changes: 2 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
jupyter_core <= 4.8.2
docutils <= 0.17.1
sphinx
sphinx_rtd_theme
nbsphinx
Expand Down
4 changes: 2 additions & 2 deletions sentinelhub/data_collections_bands.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Band:


class Bands:
""" Different collections of bands, taken from [Sentinel Hub docs](https://docs.sentinel-hub.com/api/latest/data/)
""" Different collections of bands taken from `Sentinel Hub docs <https://docs.sentinel-hub.com/api/latest/data/>`__
"""
SENTINEL1_IW = (
Band('VV', (Unit.LINEAR_POWER,), (np.float32,)),
Expand Down Expand Up @@ -113,7 +113,7 @@ class Bands:


class MetaBands:
""" Different collections of bands, taken from [Sentinel Hub docs](https://docs.sentinel-hub.com/api/latest/data/)
""" Different collections of bands taken from `Sentinel Hub docs <https://docs.sentinel-hub.com/api/latest/data/>`__
"""
SENTINEL1 = (
*(Band(name, (Unit.DN,), (np.float32,)) for name in ['localIncidenceAngle', 'scatteringArea']),
Expand Down

0 comments on commit 6d4ae23

Please sign in to comment.