traitlets icon indicating copy to clipboard operation
traitlets copied to clipboard

Prep for jupyter releaser

Open blink1073 opened this issue 3 years ago • 0 comments

  • 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 avatar Oct 08 '22 11:10 blink1073