dernorberto / confluenceDumpWithPython

Download Confluence pages including attachments and emoticons using Atlassian API and Python
MIT License
14 stars 6 forks source link

Go through all .rst files and update links to pages with local ones #7

Closed dernorberto closed 1 year ago

dernorberto commented 1 year ago

Once a Space or a set of .rst files have been downloaded, a script should go through them:

  1. collect the page IDs (it's a field value) for ALL available .rst files
  2. go through each .rst file, and for every link with the format https://optile.atlassian.net/wiki/spaces/SECOPS/pages/$pagenum ($pagenum being the page ID of the page), replace it with the local link
dernorberto commented 1 year ago

created https://github.com/dernorberto/confluenceDumpWithPython/blob/main/updatePageLinks.py that does exactly that