From e61dcab80b839c49f957f7481e2eb01b0a9c71ae Mon Sep 17 00:00:00 2001 From: Tasha Snow Date: Sat, 6 Jul 2024 01:15:16 -0400 Subject: [PATCH] Add MyST functionality (#102) * add myst-parser * add myst-nb * added copyright * remove awscli and markdown-it for ts * add back aws-cli * clean up env --- book/_config.yml | 16 ++++++++++++---- conda/environment.yml | 13 +++++++------ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 0ac61af..f2e3b69 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -1,9 +1,11 @@ # Book settings # Learn more at https://jupyterbook.org/customize/config.html -title: CryoCloud -author: Mines Glaciology Laboratory, Colorado School of Mines -logo: logo.png +title : CryoCloud +author : CryoCloud Team and Community, Colorado School of Mines +logo : logo.png +copyright : "2022" # Goes in the footer + only_build_toc_files: true parse: @@ -30,11 +32,17 @@ parse: - colon_fence # Extras - html_image + - amsmath + - deflist + - html_admonition + - replacements + - smartquotes + - tasklist # Force re-execution of notebooks on each build. # See https://jupyterbook.org/content/execute.html execute: - execute_notebooks: 'off' + execute_notebooks: 'force' # execute_notebooks: 'cache' # exclude_patterns: # - "**/dataintegration-1.ipynb" diff --git a/conda/environment.yml b/conda/environment.yml index 2b786e0..61e9b84 100644 --- a/conda/environment.yml +++ b/conda/environment.yml @@ -43,20 +43,21 @@ dependencies: - jupyterlab_pygments~=0.3.0 # To bring extension uptodate - jupytext~=1.16.1 - nbdime~=4.0.1 + # JupyterBook Addons - sphinxcontrib-bibtex - # dashboards - - voila~=0.5 - - # JupyterBook packages + - markupsafe~=2.1.5 + - myst-nb~=1.1.1 - jupytext # For building Team Splashpage - cookiecutter # Dependencies of jinja-markdown - jinja2>=2.11 - pygments>=2.6.1 - - pymdown-extensions>=7.1 - + - pymdown-extensions>=7.1 + # dashboards + - voila~=0.5 + # Core scientific python stack - cython==0.29.32 # optimization, C API access - flox~=0.9.7 # optimization, xarray operations