Contributing to the Handbook
This Handbook is like a wiki, maintained by everyone in the community: we need your help! Enspiral Contributors: join the #handbook channel on Slack and we can support you to get started.
Github is a platform that is mostly used by developers to manage software projects: it allows many contributors to all work on a single project without stepping on each other's toes. It has a system for storing files and proposing changes to them in a managed way. (This is based on an amazing free technology called git.)
If you have a Github account, you can draft another version of the handbook and let people comment on your draft. You make a "pull request" to request that repo maintainers merge your changes into the canonical version of the handbook, the "master" version. If you don't have an account click here to set one up. Once you have an account, post your github user ID in the #enspiral_help channel in Slack and ask for someone to add you to Enspiral' github account.
If you're making a small edit like fixing a typo, or adding a guide, the pull request is a good place to start.
First, go to the enspiral/handbook Github repo (you'll need to be a logged Github user). Click "Fork" to make your own copy of the repo. It'll ask for a destination: just select your personal account.
Now you're on your own version of the handbook. You can add files with "Create new file" or "Upload files". To edit an existing file, select it from the list, then click the little pencil icon near the top right.
Now you're in a file editor, so you can make any changes you want. We're using markdown to add formatting, links, images, etc. You can see how this markdown formatting will render by clicking "Preview changes". Text outlined in red is the stuff you're proposing to remove, and green means you're proposing an addition. Hit "Commit changes" to finish editing.
Once you've added and edited all the files required to make a useful change to the handbook, go back to your repo (click
yourGithubUsername/handbookat the top of the page) and click "New pull request".
This will take you to the
enspiral/handbookrepo, and give you a preview of the whole set of changes you are proposing. If it looks right, then click "Create pull request" and fill in a title and details for the pull request, so people know at a glance what is included. Finally, you need to click "Create pull request" once more, which will make your proposal final and notify the repo maintainers that you want to make a change.
Handbook maintainers aim to merge pull requests within 1-2 days. As a general guideline a maintainer does not merge in their own branches or pull requests. If they cannot get hold of another maintainer they may merge their own branches.
If you want to become a maintainer ask @joshuavial to give to maintainer rights.
in the md/ folder, run gitbook install
git fetch origin
git checkout gh-pages
git merge master
## if you need better error messages, try gitbook build .
git add .
git commit -m "whatevers happened"
git push origin gh-pages
## if you need to make edits, do this on another branch.
## just use gh-pages to build the html version of the book
If you think the content in the handbook is inaccurate or could be improved follow the process above to submit your own changes. The contribution process may reveal differences of opinion. In these cases, try to understand each others perspective. Consider starting a Loomio discussion to find agreement.
You can update the menu by editing the
Gitbook automatically renders all branches on Github, so you can preview what a pull request will look like before merging it.
tl;dr - gitbook-cli is out of date and graceful-fs needs to be pinned to 4.2.0