use poetry kernel and default kernel for rtd?

This commit is contained in:
sneakers-the-rat 2023-10-19 03:00:34 -07:00
parent 2276a7b501
commit c4fc342ff2
4 changed files with 5 additions and 4 deletions

View file

@ -20,7 +20,7 @@ build:
- poetry config virtualenvs.create false - poetry config virtualenvs.create false
post_install: post_install:
- poetry install --no-root - poetry install --no-root
- poetry run python -m ipykernel install --name nwb-linkml_docs #- poetry run python -m ipykernel install --name nwb-linkml_docs
# Optionally build your docs in additional formats such as PDF and ePub # Optionally build your docs in additional formats such as PDF and ePub
# formats: # formats:

View file

@ -1,7 +1,7 @@
--- ---
file_format: mystnb file_format: mystnb
kernelspec: #kernelspec:
name: nwb-linkml_docs # name: nwb-linkml_docs
mystnb: mystnb:
output_stderr: 'remove-warn' output_stderr: 'remove-warn'
--- ---

2
poetry.lock generated
View file

@ -3529,4 +3529,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = ">=3.11,<3.13" python-versions = ">=3.11,<3.13"
content-hash = "6e7b415ca1cd1531804b1879fe7a1296d35546a80e5eba89bc19ce83450d07e0" content-hash = "bf86fb54023a94dc938014a12aa7104fb23657567852603623949562f35e027b"

View file

@ -23,6 +23,7 @@ nwb_schema_language = { path = './nwb_schema_language', develop = true }
sphinx-design = "^0.5.0" sphinx-design = "^0.5.0"
sphinx-togglebutton = "^0.3.2" sphinx-togglebutton = "^0.3.2"
myst-nb = { git = "https://github.com/executablebooks/MyST-NB.git" } myst-nb = { git = "https://github.com/executablebooks/MyST-NB.git" }
ipykernel = "^6.25.2"
[build-system] [build-system]