- I was going to include existing private project pages in doing public to private transfer, but decided to keymark those pages (toπ). So I decided to import the key mark and the project name as well as the page title. python
def copy_with_prefix(src, dst):
r = export_from(src)
pages = r.json()["pages"]
for p in pages:
p["title"] = f"π{src}/" + p["title"]
write_pages(dst, pages)
This page is auto-translated from /nishio/γΏγ€γγ«γ«γγ¬γγ£γγ―γΉγγ€γγ¦γ³γγΌ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iβm very happy to spread my thought to non-Japanese readers.