Skip to content

Commit ee80eab

Browse files
committed
increment to use poetry 1.2+ commands
1 parent 8fb5f92 commit ee80eab

6 files changed

Lines changed: 272 additions & 271 deletions

File tree

build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# export requirements.txt for buildings docs
3-
poetry export -f requirements.txt --output ./docs/source/requirements.txt --dev --without-hashes
3+
poetry export -f requirements.txt --output ./docs/source/requirements.txt --with dev --without-hashes
44
cd docs
55

66
echo "Rebuilding References"

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
'sphinx.ext.napoleon',
4343
'nbsphinx',
4444
'nbsphinx_link',
45+
'IPython.sphinxext.ipython_console_highlighting',
4546
]
4647

4748
# Specify which files are source files for Sphinx

docs/source/contributing/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ If you wish to add python dependencies:
162162

163163
* add the new dependency to the poetry dependency list with
164164
:code:`poetry add package=version` or if the dependency is a
165-
development tool :code:`poetry add --dev package=version`
165+
development tool :code:`poetry add package=version --group dev`
166166

167167
If you wish to remove python dependencies, use :code:`poetry remove package`.
168168

docs/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Linux/WSL2 and MacOS
107107
if different than 3.8.9) to set the Python version that code in the
108108
repository will run.
109109

110-
5. Install :code:`poetry` using the instructions
110+
5. Install :code:`poetry>=1.2` using the instructions
111111
`here <https://python-poetry.org/docs/master/#installation>`__.
112112

113113
6. Install Python dependencies using :code:`poetry install`.

0 commit comments

Comments
 (0)