-
Notifications
You must be signed in to change notification settings - Fork 1
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
Suggestions of improvements #37
Comments
Thanks so much for upstreaming your changes! I've been meaning to perform an update of the existing projects versioned here, so it'll be great to have your improvements as well!
I think I added this specifically so that:
If you think it's unnecessary, I'll go with your suggestion.
Good call. I think I was reading some older documentation for
That's a major change, but I would be willing to discuss it at the very least. This would affect several projects, but if the gains are worthwhile, I don't see an issue with migrating the template over. Perhaps we can start an issue about that specifically? |
I think it's the role of the renderer to make it clear it's a command and both sphinx for readthedoc or github are doing it well IMO. It's only when reading the raw rst file that it can be confusing right ? I agree for the src layout, I will create a dedicated issue. |
Closes #37 - Renamed CHANGES.rst to CHANGELOG.rst - Remove leading '$' for commands to easy copy/pasting - Moved 'how to release' section from CONTRIBUTING to a dedicated docs/releasing.rst - Added 'all' dependency target to install both docs and dev dependencies - Added pre-commit install to the 'make dev' command
Description
This issue is meant to upstream the improvements suggested on xncml by @fmigneault comments in the PR xarray-contrib/xncml#76
On CHANGELOG.rst/CHANGES.rst:
.. _changes_x.y.z:
as section titles and add the bummyversion config to manage these automatically (example of config here).On CONTRIBUTING.rst
$
when suggestion commands, it makes it harder to copy-paste commands... highlight:: shell
at the top and use explicit.. code-block:: shell
when needed.make dev
andmake release
), instead of rewriting their content through individual commands.On Makefile
python -m pip install
no need to show flit here.python -m pip install --editable .[all]
(see pyproject.toml below for the[all]
part).Add a(edit: not necessary as the initial release is done only once and subsequent release are managed automatically on the feedstock).make release-conda
do wrap the conda release process described in CONTRIBUTING.rstpre-commit install
step tomake dev
.On pyproject.toml
all = ["{{project_name}}[dev]", "{{project_name}}[docs]"]
to easily install all dependency for when stting up a local dev environment.On readme.rst
.. code-block:: python
instead of ```python$
for shell commandsAt last, an architectural suggestion: we could also change the overall layout to follow a src layout instead of a flat layout, but this may have a higher migration cost than the other changes suggested above.(separate issue #39)note: I will be opening a PR shortly with these changes (apart from the architectural change).
The text was updated successfully, but these errors were encountered: