user1901867
user1901867

Reputation:

How to use repository folder as wiki content

I have a public repository on github. one of the subfolders contains an html site.

Can i use the root html page as the root of the repository wiki? And if so, how?

Preferably, i'd like to point the wiki to the html folder rather than having to create a copy of the folder and put it in some 'special' folder.

Upvotes: 2

Views: 350

Answers (1)

VonC
VonC

Reputation: 1323125

You can store your wiki in the gitHub repo:

https://github.com/user/yourProject.wiki.git

It will got with https://github.com/user/yourProject

If you want to see it right in yourProject repo, you could reference it as a submodule.

But in any case, you wouldn't store html, as describe in "Making GitHub More Open: Git-backed Wikis". You would store text page in Markdown syntax (with relative links too!).

Upvotes: 2

Related Questions