Skip to content

Instantly share code, notes, and snippets.

View joggienl's full-sized avatar
🌵
What is your idea?

Jogchum Koerts joggienl

🌵
What is your idea?
View GitHub Profile
@joggienl
joggienl / article.md
Created February 10, 2019 15:25 — forked from KevinAst/article.md
Integrating GitBook with JSDoc to Document Your Open Source Project

Integrating GitBook with JSDoc to Document Your Open Source Project

Introduction

Good documentation should include two distinct elements - a Guide and an API:

  1. The Guide builds concepts, providing examples, etc.

GitBook is well suited to

@joggienl
joggienl / auto-deploy.md
Created November 17, 2017 14:17 — forked from domenic/0-github-actions.md
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with Travis

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

Create a compile script

You want a script that does a local compile to e.g. an out/ directory. Let's call this compile.sh for our purposes, but for your project it might be npm build or gulp make-docs or anything similar.

The out/ directory should contain everything you want deployed to gh-pages. That almost always includes an index.html.

@joggienl
joggienl / _package.json
Created May 27, 2016 23:43
Up-to-date packages
{
"name": "<%= utils.slug(projectName) %>",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=0.10.22",
"npm": ">=1.3.14"
},
"scripts": {
"start": "<%= taskRunner !== 'none' ? taskRunner : 'node keystone.js' %>"
@joggienl
joggienl / NicePlugin.html
Last active May 20, 2016 14:49
Plugin with DialogWindow in it.
<?xml version="1.0" encoding="UTF-8" ?>
<wicket:panel xmlns:wicket="http://wicket.apache.org/">
<div class="hippo-editor-field-value">
<div class="hippo-editor-field-value-container">
<div class="hippo-editor-field-subfield dialog-link">
<a wicket:id="openModalDialog" class="linefill">Click to open..</a>
</div>
</div>
</div>
<div wicket:id="modalDialog"></div>