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
Improve release documentaiton #257
Conversation
ff83c5f
to
176f3fb
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #257 +/- ##
===========================================
+ Coverage 83.55% 83.65% +0.10%
===========================================
Files 24 24
Lines 8154 8144 -10
===========================================
Hits 6813 6813
+ Misses 1341 1331 -10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
~~The reference page is broken? ~~ Fixed with 8d76e3c |
@LecrisUT Sorry for the late reply. Can you rebase this PR? I suspect the combination of Sphinx>6 and sphinx-bibtex<=2.5.0 may generate invalid HTML. |
I have kinda fixed the reference by not having them numerically numbered. I forgot to check if cited references are properly linked though. I can try again with other sphinx-bibtex. Also I have since got some more experience with how other projects manage their changelogs: reference. I think that would be an easy format to have. We can use it for just the big-picture changes and it's less obscure than the yaml format here. What I didn't figure out yet though is how to update the fields when a new release is pushed. I can make it to push changelog update commits after the tagged release and have the changelog format as: ## Current release
### Project related
- added my cat to the contributors list
## Version 3.4.10 (1970-01-01)
### Bug fixes
- my cat caught a big cockroach Where the CI adds Wdyt, sounds manageable? |
Ok, so I did some tests locally and it should be related to docutils (see this issue). It should be fixed in |
688fddc
to
7b40377
Compare
Yeah, I'm also waiting for a newer version of sphinx-bibtex to avoid docutils issues for other projects... |
Note that this issue is in |
398a846
to
41dbc70
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
Fixes bib reference issue Signed-off-by: Cristian Le <git@lecris.dev> Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de> Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
This needs to be removed before publishing to PyPI. Unfortunately RTD does not seem to have a way to install individual dependencies? Signed-off-by: Cristian Le <git@lecris.dev>
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.
Thank you for your hard work in supporting Sphinx 7 (executablebooks/sphinx-book-theme#744)! LGTM for the contents.
I am not sure about the frequency of pre-releases in sphinx-book-theme, but it may be better to wait before we merge this PR?
doc/README.md
Outdated
Python>=3.8 required for `importlib.metadata`. | ||
```shell | ||
$ pip install ".[docs]" | ||
$ python3 scripts/generate_changelog.py --type local |
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.
local
is not contained in choices for --type
. Maybe adding it to choices is enough?
I think we should go forward with this to get the |
I see. Then, I proceed to merge. |
Adapted Keep-a-changelog format