#!/usr/bin/env python # coding: utf-8 # ## Contributing # In[ ]: # this re-prints CONTRIBUTING.md, which is valuable to have in the root of the repo import pathlib import re import IPython contrib = pathlib.Path("../CONTRIBUTING.md").read_text().split("\n", 1)[1] contrib = re.sub(r"^\[(.*)\]: \./docs/(.*)$", "[\\1]: ./\\2", contrib, flags=re.M) IPython.display.Markdown(contrib)