-
Notifications
You must be signed in to change notification settings - Fork 9
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
Use Myst substitution extension to populate version in citation text #740
Conversation
- sphinx-selective-exclude ~=1.0.3 | ||
# TODO: get this dependency from conda-forge (see https://github.com/callowayproject/bump-my-version/issues/46) | ||
- bump-my-version ~=0.9.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All but one is now on conda-forge. I was hoping to get rid of this whole section!
@@ -38,12 +38,21 @@ Please choose the appropriate citation depending on which you use. | |||
An asterisk (`*`) indicates co-equal lead authorship (listed alphabetically). | |||
|
|||
|
|||
### Version 1.0 | |||
### Latest version: {{ release }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I felt latest at top, descending order was more intuitive
"substitution", | ||
] | ||
myst_substitutions = { | ||
"release": release, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enables jinja syntax for substitution
- sphinx ~=4.3.1 | ||
# TODO: Upgrade sphinx ones sphinx-rtd-theme supports 7 | ||
# - sphinx ~=7.2.2 | ||
- sphinx ~=6.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was getting some weird error that just went away when I upgraded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
Description
title! closes #634
Checklist
If an item on this list is done or not needed, check it with
[x]
or click thecheckbox.
closes #{issue_number}
inv config.export > qgreenland/config/cfg-lock.json
)conda-lock
)bumpversion (major|minor|patch|prerelease|build)
)