From 29b8405147983f107f10443a30ecec4fe4e82657 Mon Sep 17 00:00:00 2001 From: Alex Mandel Date: Mon, 10 Apr 2023 14:34:43 -0700 Subject: [PATCH] feat: CMR retirement warning Also modified conf.py to fix ipython3 highlight issue https://github.com/spatialaudio/nbsphinx/issues/24 --- docs/source/conf.py | 3 ++- docs/source/technical_tutorials/search/catalog.rst | 3 ++- docs/source/technical_tutorials/searching.rst | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 599ec871..13d9f9f0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,7 +21,7 @@ def setup(app): # -- Project information ----------------------------------------------------- project = 'maap-docs' -copyright = '2020, NASA MAAP Team' +copyright = '2020-2023, NASA MAAP Team' author = 'NASA MAAP Team' @@ -32,6 +32,7 @@ def setup(app): # ones. extensions = [ 'nbsphinx', + 'IPython.sphinxext.ipython_console_highlighting' ] nbsphinx_execute = 'never' diff --git a/docs/source/technical_tutorials/search/catalog.rst b/docs/source/technical_tutorials/search/catalog.rst index dd6c21a3..2fb90d55 100644 --- a/docs/source/technical_tutorials/search/catalog.rst +++ b/docs/source/technical_tutorials/search/catalog.rst @@ -6,7 +6,8 @@ MAAP users are advised to use two catalogs: 1. Use NASA's Operational CMR to discover NASA-produced and curated data: https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html. 2. Use MAAP STAC for data not found in NASA CMR, and data produced by MAAP users: https://stac.maap-project.org/docs. -The https://cmr.maap-project.org catalog will be deprecated by **May 1, 2023**. Users should request collections they need from this catalog to be made discoverable in the MAAP STAC or NASA's Operational CMR if they're not already there. +.. warning:: + The https://cmr.maap-project.org catalog will be deprecated by **May 1, 2023**. Users should request collections they need from this catalog to be made discoverable in the MAAP STAC or NASA's Operational CMR if they're not already there. More information on each catalog and migrating from MAAP's CMR is detailed in the bottom of this page. diff --git a/docs/source/technical_tutorials/searching.rst b/docs/source/technical_tutorials/searching.rst index 6c4fb690..2bba921f 100644 --- a/docs/source/technical_tutorials/searching.rst +++ b/docs/source/technical_tutorials/searching.rst @@ -7,7 +7,8 @@ MAAP users are advised to use two catalogs: 1. Use NASA's Operational CMR to discover NASA-produced and curated data: https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html. 2. Use MAAP STAC for data not found in NASA CMR, and data produced by MAAP users: https://stac.maap-project.org/docs. -The https://cmr.maap-project.org catalog will be deprecated by **May 1, 2023**. Users should request collections they need from this catalog to be made discoverable in the MAAP STAC or NASA's Operational CMR if they're not already there. +.. warning:: + The https://cmr.maap-project.org catalog will be deprecated by **May 1, 2023**. Users should request collections they need from this catalog to be made discoverable in the MAAP STAC or NASA's Operational CMR if they're not already there. More information on each catalog and migrating from MAAP's CMR here: `MAAP's Dual Catalog `_.