Skip to content
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

Prep for jupyter releaser #783

Merged
merged 4 commits into from
Oct 14, 2022
Merged

Conversation

blink1073
Copy link
Contributor

@blink1073 blink1073 commented Oct 8, 2022

  • Migrate the changelog to markdown and add comment markers for releaser
  • Add check release and enforce PR label workflows
  • Clean up docs
    -- Switch to pydata sphinx theme
    -- Use myst parser
    -- Build in CI and Handle warnings
  • Add link check from maintainer-tools

Used the following command and script for the changelog:

pandoc -f rst -t markdown -o CHANGELOG.md changelog.rst

import re
with open('CHANGELOG.md') as fid:
    data = fid.read()


patt = r'`(\d+)`({.interpreted-text\s+role="ghpull"}:?)'
matches = re.findall(patt, data)


for num, second in matches:
    data = data.replace(f"`{num}`{second}", f"[#{num}](https://github.com/ipython/traitlets/pull/{num})" )


with open("CHANGELOG.md", "w") as fid:
    fid.write(data)

@blink1073 blink1073 merged commit c2d6c0b into ipython:main Oct 14, 2022
@blink1073 blink1073 deleted the prep-jupyter-releaser branch October 14, 2022 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant