Skip to content

corinis/confluence-to-github

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Confluence space to github markdown pages

Convert a confluence space export in XML format to github markdown pages

To export a space from confluence

  1. In confluence, navigate to Space Tools / Content Tools / Export and choose XML format
  2. Download the export zip and unzip
  3. Run "generate.sh path-to.zip" script
  4. Review generated content under out/wiki in the same directory as the zip file
  5. Copy content from out/wiki to your cloned github wiki and add/push

Example of export / import commands

# git clone git@github.com:sjones4/confluence-to-github.git
# cd confluence-to-github
# unzip ~/Downloads/Confluence-export.zip
# ./generate.sh
# rm out/wiki/Services-Team-Space.md  # optionally delete space home page
# cp -pvr out/wiki/* ~/Work/eucalyptus.wiki/
# cd ~/Work/eucalyptus.wiki/
# git add *
# git commmit -m "Confluence services team space import"

About

Convert a confluence space export in XML format to github markdown pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • XSLT 60.3%
  • Shell 39.7%