Closed seisman closed 5 years ago
The problem with the hyphen is that it can't be used for the package name. So you'd pip install sphinx-gmt
but import sphinx_gmt
or something like that. I really don't like that. Maybe sphinx_gmt
or sphinxgmt
instead?
Since it's a sphinx extension, do we really need to import it?
I think we only need to add it to conf.py
:
extensions = [
"sphinx-gmt.gmtplot",
]
Yeah, you're right. Sometimes we still need to import it.
Yeah, sphinx does the importing based on those strings.
pip search sphinx
returns a list of packages related to sphinx. It seems most sphinx extensions have a namesphinx-xxx
.Maybe we can rename the project to
sphinx-gmt
.