fine-uploader
fine-uploader copied to clipboard
Move documentation from custom server to GitHub pages
- [x] Create a new repo w/ gh-pages branch to hold docs. Temp CNAME file needed for testing.
- [ ] Create a script that pulls down FineUploader/docfu
- [ ] Add logic to script that builds the docs for the current branch using docfu
- [ ] Add logic to commit the docs to the appropriate folder in the FineUploader/docs.fineuploader.com repo.
- [ ] Wire this up to travis-ci. When a branch is pushed, build docs for that branch and update or create the appropriate folder in FineUploader/docs.fineuploader.com/branch. For tag pushes, the generated docs go in FineUploader/docs.fineuploader.com/tag.
Instead of maintaining a server that listens for GitHub commit hooks (triggering docfu to generate updated docs for the associated branch) I'd instead like to replace this custom server with Travis and the location of the generated docs to a GitHub repository. Travis could run docfu, generate updated docs, and commit them to a docs.fineuploader.com GitHub repository.
I've briefly started on this. There is a new repo - FineUploader/docs.fineuploader.com - that is currently holding some recent master branch documentation (for testing). The repo is mapped to docs-test.fineuploader.com.
I've updated the issue description with tasks that need to happen before this can be considered "done".