-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from mtmacdonald/cleanupDocs
Cleanup and modernise docs
- Loading branch information
Showing
14 changed files
with
130 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,38 @@ | ||
This section explains how to install DocGen. | ||
|
||
Supported platform | ||
------------------ | ||
> NOTE - the websites and documents generated by DocGen can be used on all major operating systems and browsers without | ||
any setup or installation. These setup instructions are needed only when running the tool to generate documents. | ||
|
||
*'Supported platform'* means the software required to **run** the DocGen tool. The static website **produced** by | ||
DocGen will work on all modern browsers on all all major operating systems | ||
(see [browser support](index.html#browser-support)). | ||
DocGen is a command-line (CLI) tool. It runs on most major operating systems. | ||
|
||
<p class="w-information"> | ||
The supported platform for this version of DocGen is: | ||
<strong>Ubuntu 14.04</strong> with <strong>Node.js 0.12.0</strong> | ||
and <strong>wkhtmltopdf 0.12.2.1 </strong>(with patched qt). | ||
</p> | ||
## Install Dependencies | ||
|
||
While other operating systems and dependency versions may work, they are not tested or officially supported. | ||
Before installing the tool, you need some dependencies. | ||
|
||
Dependencies | ||
------------ | ||
### Node.js and NPM | ||
|
||
DocGen requires **[Node.js](https://nodejs.org)**. To install on Ubuntu Linux, enter these terminal commands: | ||
DocGen needs [Node.js](https://nodejs.org) (JavaScript engine) and its package manager [NPM](https://www.npmjs.com/) | ||
which are downloaded and installed together. | ||
|
||
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | ||
sudo apt-get install -y nodejs | ||
See [Node.js downloads](https://nodejs.org/en/download) and choose the installer or package for you operating system. | ||
|
||
This method uses the | ||
[NodeSource Linux Repositories](https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories) | ||
(recommended). | ||
- **Windows:** use the [official installer](https://nodejs.org/en/download) or [nvm-windows](https://github.com/coreybutler/nvm-windows) | ||
- **OS X:** use the [official installer](https://nodejs.org/en/download) or [nvm](https://github.com/nvm-sh/nvm) | ||
- **Ubuntu Linux:** use [nvm](https://github.com/nvm-sh/nvm) or see [other instructions](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-22-04) | ||
|
||
For other platforms (not supported), see the [download page](https://nodejs.org/download) or vendor instructions. | ||
### wkhtmltopdf (optional) | ||
|
||
Optional dependencies (only for PDF) | ||
------------------------------------ | ||
The [wkhtmltopdf](http://wkhtmltopdf.org) package is optional and only needed if you want to enable generation of | ||
PDF documents. | ||
|
||
For optional PDF support, DocGen requires **[wkhtmltopdf](http://wkhtmltopdf.org)**. See the wkthmltopdf website for | ||
installation instructions. | ||
To install, [download the installer](https://wkhtmltopdf.org/downloads.html) or package for your operating system | ||
(choose the latest version). | ||
|
||
Quick install with NPM | ||
---------------------- | ||
## Install DocGen | ||
|
||
The quickest way to install DocGen is with **[npm](https://www.npmjs.com)** (the JavaScript package manager). Enter | ||
these terminal commands: | ||
The easiest way to install DocGen is through **[npm](https://www.npmjs.com)** (the JavaScript package manager). Enter | ||
this terminal command: | ||
|
||
sudo npm install -g docgen-tool | ||
|
||
Install by direct download | ||
-------------------------- | ||
npm install -g docgen-tool | ||
|
||
DocGen can also be installed by [direct download](https://github.com/mtmacdonald/docgen). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.