diff options
author | Bhavuk kalra <bhavukkalra1786@gmail.com> | 2022-03-30 23:41:51 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 11:11:51 -0700 |
commit | 41cf10dcb6ab46064d73f2c054e618c76c3cfabc (patch) | |
tree | 041eb973be063e28b2c43a2f347eabd8c29195f8 | |
parent | beb5dedf78b96183906ec9e979ef83bb040b7b78 (diff) | |
download | numpy-41cf10dcb6ab46064d73f2c054e618c76c3cfabc.tar.gz |
DEV: Fixed Un-responsive live-preview in gitpod. (#21250)
* Replaced existing obselete dependencies. Added Install "esbonio".
* Update vscode config
* DEV: Block breathe "4.33.0" version of breathe which conflicts with sphinx.ext.graphviz
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
-rw-r--r-- | .gitpod.yml | 2 | ||||
-rw-r--r-- | environment.yml | 3 | ||||
-rw-r--r-- | tools/gitpod/settings.json | 9 |
3 files changed, 8 insertions, 6 deletions
diff --git a/.gitpod.yml b/.gitpod.yml index c46752f10..096483fd6 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -19,6 +19,8 @@ tasks: echo "📖 Building docs 📖 " cd doc make html + echo "Installing dependencies for documentation Live-Preview" + pip install esbonio echo "✨ Pre-build complete! You can close this terminal ✨ " # -------------------------------------------------------- diff --git a/environment.yml b/environment.yml index f2be74f62..922fb55dc 100644 --- a/environment.yml +++ b/environment.yml @@ -29,7 +29,8 @@ dependencies: - pandas - matplotlib - pydata-sphinx-theme=0.7.2 - - breathe + # NOTE: breathe 4.33.0 collides with sphinx.ext.graphviz + - breathe!=4.33.0 # For linting - pycodestyle=2.7.0 - gitpython diff --git a/tools/gitpod/settings.json b/tools/gitpod/settings.json index ea0775f68..50296336d 100644 --- a/tools/gitpod/settings.json +++ b/tools/gitpod/settings.json @@ -1,9 +1,8 @@ { - "restructuredtext.languageServer.disabled": true, - "restructuredtext.builtDocumentationPath": "${workspaceRoot}/doc/build/html", - "restructuredtext.confPath": "", "restructuredtext.updateOnTextChanged": "true", "restructuredtext.updateDelay": 300, - "restructuredtext.linter.disabled": true, - "python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/numpy-dev/bin/python" + "restructuredtext.linter.disabledLinters": ["doc8","rst-lint", "rstcheck"], + "python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/numpy-dev/bin/python", + "esbonio.sphinx.buildDir": "${workspaceRoot}/doc/build/html", + "esbonio.sphinx.confDir": "" }
\ No newline at end of file |