Skip to content

Commit

Permalink
Doc no longer need to install cosipy
Browse files Browse the repository at this point in the history
  • Loading branch information
israelmcmc committed Dec 23, 2023
1 parent 10957a7 commit 816ac1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: '3.11'
- name: Install dependencies
run: |
pip install . sphinx sphinx_rtd_theme myst_parser nbsphinx
pip install sphinx sphinx_rtd_theme myst_parser nbsphinx
- name: Sphinx build
run: |
sphinx-build docs _build
Expand Down
7 changes: 3 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import cosipy
# sys.path.insert(0, os.path.abspath('..'))

# -- Project information -----------------------------------------------------

Expand All @@ -23,7 +21,8 @@
author = 'COSI Team'

# The full version, including alpha/beta/rc tags
release = cosipy.__version__
with open('../cosipy/_version.py') as f:
release = f.readline()

# -- General configuration ---------------------------------------------------

Expand Down

0 comments on commit 816ac1f

Please sign in to comment.