Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Docker Version History

## 0.3.0

* Changed binary name to ´docker.js´ to mitigate naming conflict with docker CLI.

## 0.2.14

* Improvements to handling of literals that shouldn't be matched for comments
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Simple: `npm install -g docker`
## Usage

```sh
$ docker [options] [files ...]
$ docker.js [options] [files ...]
```

Available options are:
Expand Down Expand Up @@ -47,21 +47,21 @@ If you haven't installed with `-g` specified, replace `docker` with something li
### Process every file in the current directory into "doc"

```sh
$ docker
$ docker.js
```

### Process files in "src" to "documents"

```sh
$ docker -i src -o documents
$ docker.js -i src -o documents
```
or:
```sh
$ docker -o documents src
$ docker.js -o documents src
```
or:
```sh
$ docker -o documents src/*
$ docker.js -o documents src/*
```

Note that in the first example, the contents of `src` will be mapped directly into `documents` whereas in the second and third
Expand All @@ -81,7 +81,7 @@ This is the command I use to generate [this project's documentation](http://jbt.
* Include the File Search extra

```sh
$ docker -o ../docker_gh-pages -c manni -s yes -I -u -x node_modules -w --extras fileSearch
$ docker.js -o ../docker_gh-pages -c manni -s yes -I -u -x node_modules -w --extras fileSearch
```

## Extras
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"author": "JT <jt@gosquared.com>",
"name": "docker",
"version": "0.2.14",
"version": "0.3.0",
"dependencies": {
"mkdirp": "0.3.2",
"commander": "0.5.2",
"watchr": "~2.3.3",
"pygmentize-bundled": "~2.1.0"
},
"bin": {
"docker": "./docker"
"docker.js": "./docker.js"
},
"engines": {
"node": ">=0.4.0"
Expand Down