GenericMappingTools / sphinx_gmt

Sphinx extensions for GMT
https://www.generic-mapping-tools.org/sphinx_gmt
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Rename to extension to gmtplot #19

Closed leouieda closed 5 years ago

leouieda commented 5 years ago

The name of the module gmtplot is different from the actual directive gmt-plot. It would probably be easier if everything was gmtplot instead so we could include links to the API docs when mentioning the directive using :mod: links.

seisman commented 5 years ago

What if we want to add some other directives (e.g. gmt-gallery) in the future?

leouieda commented 5 years ago

@seisman sorry, I meant to rename gmt-plot to gmtplot so that the extension name matches sphinx_gmt/gmtplot.py. If we do a gallery extension, it could be gmtgallery and the module would be sphinx_gmt/gmtgallery.py.

seisman commented 5 years ago

I thought you're proposing to rename the whole package to gmtplot. Sorry to misunderstand what you mean.

Renaming the directive gmt-plot to gmtplot is OK to me.