-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow skipping date in the version header #48
Comments
Hey @nedbat, any thoughts about this issue? |
For your use, maybe the best thing would be |
But also, if you run the command again, it should add content to that header, rather than making a second |
Actually, I didn't notice the
So, my idea is to generate the |
Sorry, I wasn't clear: there is no
I don't understand the flow here. When does the docs build happen? I thought you wanted a way to gradually collect entries in an "Unreleased" or "Next" section, the way people do manually? Can you explain what you mean by a "docs build"? |
"docs build" essentially mean when we generate HTML using sphinx form the .rst (or whatever), most importantly on readthedocs for me. The idea is that I will keep all the entries in changelog.d until a release, but before we do Hopefully, that explains the flow better. |
Thanks for the explanation, and sorry for the delay. This is now implemented in c87162a, as |
This is now released as part of scriv 0.17.0. |
So, the intent for me here is to make
scriv collect
as part of regular documentation build such that the "latest" version of the documentation shows the the unreleased changes made so far.For example, Scriv's documentation currently has only a placeholder which says
IMO it would be slightly better if instead of that we could add
scriv collect
to the commands indocs
testenv for docs.Doing that with scriv reuses the currently released version number (0.13.0) since it looks like the version number hasn't been updated to 0.14.0-dev or something to signify a dev build. But either way, I can override the version with
scriv collect --verison next
.Since it is unreleased, i'd like it to skip the date header though, since it doesn't make sense in the context.
Do you think it is a good enough use case to support another flag, something like
--skip-date
, to skip addition of date?The text was updated successfully, but these errors were encountered: