Skip to content

Commit

Permalink
Merge pull request #87 from Joe-Brady/repo-change
Browse files Browse the repository at this point in the history
Update gitignore - dist dir and .html now ignored
  • Loading branch information
Joe Brady authored May 3, 2017
2 parents 9a36987 + 5068351 commit b90f3fa
Show file tree
Hide file tree
Showing 36 changed files with 6 additions and 3,037 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
npm-debug.log
.idea
dist
*.html
10 changes: 4 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,22 @@
npm install
```

3. Start the auto-build scripts
3. Start the auto-build scripts, and leave them running

```
npm start
```

4. Make changes **only** in the `/src` directory
> Please note that `api.js` is an exception to this rule: it appears only in `/dist`, and should be edited there.
> NOTE: These build scripts enable you to view your changes locally. The build generates new files in two places: a new `/dist` directory (JS, CSS, images, etc), and `.html` files in the root directory. However, these files are ignored by .gitignore, and will not be included in commits.
5. Open `/index.html` in any browser, and refresh the page after saving your changes to `/src`.
4. Make changes in the `/src` directory. The auto-build scripts instantly pick up any newly saved changes, and include them in the output files and directories. Open `/index.html` in any browser to view the website locally, and refresh the page after saving your changes to `/src`.

---

## Contribution guidelines

### HTML (Handlebars) pt.1
* **Do not** edit the `.html` files in the root directory. They are created and updated by the build process.
* Instead, edit the `.handlebars` files in the `/src/handlebars` directory.
* Edit the `.handlebars` files in the `/src/handlebars` directory. These are built into HTML.
* 'Handlebars' files should only include the `<main>` element, containing the page's content, and `{{> header}}` / `{{> footer }}` tags.

### HTML (Handlebars) pt.2 (creating a new .handlebars file)
Expand Down
186 changes: 0 additions & 186 deletions about.html

This file was deleted.

164 changes: 0 additions & 164 deletions archive.html

This file was deleted.

1 change: 0 additions & 1 deletion banner.html

This file was deleted.

Binary file removed dist/assets/GitHub.png
Binary file not shown.
Binary file removed dist/assets/cloudflare.png
Binary file not shown.
Binary file removed dist/assets/facebook.png
Binary file not shown.
Binary file removed dist/assets/favicon.ico
Binary file not shown.
Binary file removed dist/assets/github-sponsor.png
Binary file not shown.
Binary file removed dist/assets/jenkins_headshot.png
Binary file not shown.
Binary file removed dist/assets/linaro.png
Binary file not shown.
Binary file removed dist/assets/linux.png
Binary file not shown.
Binary file removed dist/assets/ljc.jpg
Binary file not shown.
Binary file removed dist/assets/loading_dots.gif
Binary file not shown.
Binary file removed dist/assets/mac.png
Binary file not shown.
Binary file removed dist/assets/macstadium.png
Binary file not shown.
Binary file removed dist/assets/packet.png
Binary file not shown.
Binary file removed dist/assets/ppc64le.png
Binary file not shown.
Binary file removed dist/assets/s390x.png
Binary file not shown.
Binary file removed dist/assets/scaleway.png
Binary file not shown.
Binary file removed dist/assets/slack.png
Binary file not shown.
Binary file removed dist/assets/squares-logo.png
Binary file not shown.
Binary file removed dist/assets/twitter.png
Binary file not shown.
Binary file removed dist/assets/windows.png
Binary file not shown.
Loading

0 comments on commit b90f3fa

Please sign in to comment.