diff --git a/README.md b/README.md index 0239f6d..de229b0 100755 --- a/README.md +++ b/README.md @@ -49,14 +49,29 @@ Do you use Daux.io? Send me a pull request or open an [issue](https://github.com ## Install -``` +### PHP and Composer + +If you have PHP and Composer installed, you can install the dependency + +```bash composer global require dauxio/daux.io + +# Next to your `docs` folder, run +daux generate ``` You can then use the `daux` command line to generate your documentation. If the command isn't found, ensure your `$PATH` contains `~/.composer/vendor/bin` +### Docker + +Or if you wish to use Docker, the start of the command will be : + +```bash +docker run --rm -it -w /build -v "$PWD":/build daux/daux.io daux +``` + ## Run on a server Download this repository as a zip, unpack, and put your documentation in the `docs` folder, you can then serve it with Apache or Nginx. diff --git a/docs/config.json b/docs/config.json index 715537a..1f96192 100644 --- a/docs/config.json +++ b/docs/config.json @@ -22,7 +22,7 @@ "repo": "dauxio/daux.io", "edit_on_github": "dauxio/daux.io/blob/master/docs", "twitter": ["onigoetz"], - "google_analytics": "UA-12653604-10", + "google_analytics": "UA-3551397-7", "links": { "Download": "https://github.com/dauxio/daux.io/archive/master.zip", "GitHub Repo": "https://github.com/dauxio/daux.io", diff --git a/gulpfile.js b/gulpfile.js index 616c92d..4dea3fd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -18,7 +18,7 @@ var resources = { var stylelintRules = { "indentation": 4, "selector-list-comma-newline-after": "always-multi-line", - "selector-no-id": true, + "selector-max-id": 0, // Autoprefixer "at-rule-no-vendor-prefix": true,