You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to get the package setup, I had to delete the setup.py file in #99. That means that I got rid of a bunch of sphinx config stuff. Pasting here cause it probably needs to go somewhere else.
# allows you to build sphinx docs from the package# main directory with "python setup.py build_sphinx"try:
fromsphinx.cmd.buildimportbuild_mainfromsphinx.setup_commandimportBuildDocclassBuildSphinx(BuildDoc):
"""Build Sphinx documentation after compiling C source files"""description='Build Sphinx documentation'definitialize_options(self):
BuildDoc.initialize_options(self)
deffinalize_options(self):
BuildDoc.finalize_options(self)
defrun(self):
build_cmd=self.reinitialize_command('build_ext')
build_cmd.inplace=1self.run_command('build_ext')
build_main(['-b', 'html', './docs', './docs/_build/html'])
exceptImportError:
classBuildSphinx(Command):
user_options= []
definitialize_options(self):
passdeffinalize_options(self):
passdefrun(self):
print('!\n! Sphinx is not installed!\n!', file=sys.stderr)
exit(1)
DOCS_REQUIRE= [
'nbsphinx',
'sphinx',
'sphinx-automodapi',
'sphinx-rtd-theme',
'stsci-rtd-theme',
'extension-helpers',
]
The text was updated successfully, but these errors were encountered:
In order to get the package setup, I had to delete the
setup.py
file in #99. That means that I got rid of a bunch of sphinx config stuff. Pasting here cause it probably needs to go somewhere else.The text was updated successfully, but these errors were encountered: