-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
berthelemy edited this page Dec 2, 2013
·
5 revisions
Preconditions:
- You have a project hosted on Github
- You have documentation for the project written on the GitHub wiki
- The wiki pages are categorised (if necessary) using the page title form: category--pageTitle
- You have a local version of the project on a server that can understand PHP
- Copy the code into its own directory (probably called "docs") in your main project
- Go to project/docs using a browser (assumes you've got a server running PHP)
- Confirm that the docs display the documentation for this code
- Delete the wiki directory inside the docs directory (this is simply a copy of this documentation)
- Integrate your project's Github wiki into the main project as a submodule inside the docs directory. See http://stackoverflow.com/questions/6941688/how-to-integrate-a-github-wiki-into-the-main-project
- Set the configuration variables in config.php
- Add some wiki pages to your GitHub project
- Use your GitHub client to pull the wiki pages into the sub-module, and then the updated sub-module into the main project.