From ef04764942f0ff22ff77661fb97fb3966c2de05a Mon Sep 17 00:00:00 2001 From: Jim Kitchen Date: Sat, 9 Jul 2022 13:14:04 -0500 Subject: [PATCH] Add .readthedocs.yml config file (#269) --- .readthedocs.yml | 9 +++++++++ docs/env.yml | 15 +++++++++++++++ docs/user_guide/operators.rst | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yml create mode 100644 docs/env.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 000000000..fdb43f442 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,9 @@ +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +sphinx: + configuration: docs/conf.py + +conda: + environment: docs/env.yml diff --git a/docs/env.yml b/docs/env.yml new file mode 100644 index 000000000..976d88d98 --- /dev/null +++ b/docs/env.yml @@ -0,0 +1,15 @@ +name: python-graphblas-docs +channels: + - conda-forge +dependencies: + - python=3.8 + - graphblas + - matplotlib + - networkx + - pandas + - scipy + - pip + - pip: + - nbsphinx + - sphinx_panels + - pydata_sphinx_theme diff --git a/docs/user_guide/operators.rst b/docs/user_guide/operators.rst index 1dc14a93c..96e7ff96b 100644 --- a/docs/user_guide/operators.rst +++ b/docs/user_guide/operators.rst @@ -184,7 +184,7 @@ Example usage with a thunk parameter: Defined IndexUnary operators are: - **index** -- return the vector index + - **index** -- return the vector index - **rowindex** -- return the matrix row index - **colindex** -- return the matrix column index - **diagindex** -- return the matrix diagonal index (i.e. column - row)