Often one or more github repos and google docs repositories are used in a single github project. For example: Front end and back end. In addition multiple public or private share for binary documents are also used. This project will serves as a wrapper for both of those conepts as well as being a single repository for documentation.
This project uses mkdocs to provide an simple platform to generate html pages from markdown. It can be hosted anywhere, includes special provisions for ghpages or can be run locally with mkdocs serve
This repository uses a third party theme called cinder. However this theme has been forked and added the topcoder logo . It would be easy enough to include this forked code directly in the tcProjWrapper repo directly, except this project relies heavily on submodule for src so we wanted to include the theme as a submodule too. In addition the submodule could be forked or branched specifly to include a customers logo.
Since this project also contains content, We can include standard docs like bug bash instructions.
- Make sure you have python2 and pip2 installed, then run
pip2 install mkdocs
to install mkdocs - clone the template
git clone --recursive [email protected]:topcoderinc/tcProjWrapper.git myproject
- cd
myproject
and runmkdocs serve
- You should also edit the mkdocs.yml and edit the sitename. It might be a good idea to remove the .git dir and do a
git init
to orphan this template(repo) from your new wrapper project.
- 2/13/2017 - ktb updated cinder submodule
- 2/15/2017 - ktb added setup script in src dir
git clone --recursive [email protected]:topcoderinc/tcProjWrapper.git drone-series
sed -i.bak s/tcprojWrapper/drone-series/g mkdocs.yml && rm mkdocs.yml.bak
rm -rf .git*
git init
git add .
git commit -am 'first commit, templated from [email protected]:topcoderinc/tcProjWrapper.git '
mkdir src
git submodule add [email protected]:topcoderinc/dsp-server.git src/dsp-server
git submodule add [email protected]:topcoderinc/dsp-server.git src/dsp-frontend