Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs fail to build #196

Open
Witchblade101 opened this issue Nov 12, 2021 · 4 comments
Open

Docs fail to build #196

Witchblade101 opened this issue Nov 12, 2021 · 4 comments

Comments

@Witchblade101
Copy link
Collaborator

It looks like our docs have been failing their build for the last few months. The latest version on Read the Docs says "© Copyright 2021, STScI Revision 413bdcf."

@Witchblade101
Copy link
Collaborator Author

Witchblade101 commented Nov 12, 2021

Conda virtual environment I made to test this:
(Mostly for my own future reference)

`conda create -n pysiaf python=3.7
conda activate pysiaf
conda install sphinx
conda install numpy
conda install astropy
conda install numpydoc
conda install matplotlib
conda install lxml
conda install scipy
conda install openpyxl
conda install requests
conda install sphinx-automodapi
conda install pytest
pip install stsci-rtd-theme

git clone https://github.com/Witchblade101/pysiaf.git
cd pysiaf
pip install .
git remote add upstream https://github.com/spacetelescope/pysiaf.git
git checkout -b doc-update
`

@Witchblade101
Copy link
Collaborator Author

Checked docs/conf.py dependencies:

`conda install ipython

ipython

import datetime
import importlib
import sys
import os
import stsci_rtd_theme
from distutils.version import LooseVersion
from ConfigParser import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
from configparser import ConfigParser`

Looks OK.

@Witchblade101
Copy link
Collaborator Author

Edited docs/pysiaf/index.rst:

"This package is being developed in a python 3.6 environment." ==> "This package is being developed in a python 3.7 environment."

"pysiaf is available on PyPI <https://pypi.org/project/pysiaf/>_ and is included in astroconda." ==> "pysiaf is available on PyPI <https://pypi.org/project/pysiaf/>_ "

@Witchblade101
Copy link
Collaborator Author

Committed and pushed changes:

git add docs/pysiaf/index.rst commit -m "Updated python ver. and removed astroconda from docs" git push origin doc-update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant