Replies: 2 comments 1 reply
-
Mmm I think that for any pre-existing packages, it would be disruptive to change the name now that they are being used by a lotta folks. It's doable, but I think we'd need to have a really good need for doing so. I think that the convention I see most generally-applied is: if the package is 100% a Sphinx thing, then call it The one exception to this is (I believe) |
Beta Was this translation helpful? Give feedback.
-
thanks @choldgraf I agree I think Does this also means that packages should try and package |
Beta Was this translation helpful? Give feedback.
-
Maybe missed the boat on this but wanted to open up this discussion on naming conventions for packages.
I was interested to see if others thought a naming convention for packages would be useful -- or if we should just allow them to flourish at the individual level. My engineering brain loves conventions but the open source world typically embraces a bit more organised chaos
:-)
What concerns me is there is no indication (for example) that
sphinx-book-theme
ishtml
only. We had a discussion about this and decided to leave that as is and addsphinx-book-theme.latex
for the latex theme (under the premise thathtml
is the default)We could adopt a convention such as:
jbtheme-book.html
forhtml
theme ofsphinx-book-theme
jbext-
for extensionsOne possible point of confusion is that much of what is written for
jupyter-book
is actually asphinx
theme or extension. So this naming convention may actually confuse things.sphinxtheme-book
for sphinx themessphinxext-
for sphinx extensionsI think this is low priority and not looking to force this on existing packages but though I'd open this discussion as new packages are being developed.
For sphinx extensions we currently we have a mix of:
sphinxcontrib-{name}
using the sphinxcontrib namespace / organisation approachsphinx-{name}
(most common pattern)sphinx-ext-{name}
such assphinx-ext-autodoc
Beta Was this translation helpful? Give feedback.
All reactions