1

How do I fetch raw github wiki file that contains other files?

In my wiki I have 8 links that redirect to other wiki files in the same repo. I got to fetch each individual files with:

https://raw.githubusercontent.com/wiki/user/repo/file.md

But how do I fetch the main file with 8 links? I need it to get names to fetch them later on individually as done above.

For better explanation, whenever I press on wiki page I get:

file1
file2
file3
file4
etc...

so how do I fetch this page? Thank you

Fill
  • 377
  • 2
  • 15

1 Answers1

1

If I clone a wiki repository (git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.wiki.git), like the thinkaurelius/titan one, I get a Home.textile file as the homepage of the wiki.

Clone your repository wiki, and you will see your homepage filename, that you can use for getting its raw content.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250