I've a lot of documentation in github wiki. I would like organize it and create a book out of it. When ever I update the wiki, the book should be updated. Is this possible ?
Create gitbook from github wiki pages
2.1k views Asked by tez At
2
There are 2 answers
1
On
Welcome to Gitbook. This service might help you. https://docs.gitbook.com/integrations/github/import-of-github-wikis
This service as far I read doesnt support github wiki directly.
However because github stores wiki as a seperate repository with reponame.wiki.git, you should be able to import this github repo into gitbook.
We wanted to do the same thing and sync our Gitlab-based wiki associated with a project to Gitbook to allow non technical team members without Gitlab access to also view and edit. To do this we:
Created a new Gitbook project/space for the wiki info and synchronized with with a new, empty Gitlab repo (since Gitbook does not allow sync directly with the wiki).
Added this new Gitlab repo as a second remote origin to the existing wiki repo and then pushed to this origin.
Now all we hav to do to keep things updated is to pull the latest from both possible remote sources and then merge and push them.