fsprojects/ProjectScaffold — pull request #126 by yukitos (2014-12-05 06:49:44+00:00)
Title: Add "add language specific documents" feature.

I added "add language specific documents" feature: `AddLangDocs` target.
And to enable to debug generated documents easier, added `GenerateHelpDebug` target.

## Usage

### Add new language specific documents

Run the following command to add `ja` (Japanese) documents for instance:

build.cmd AddLangDocs ja

### Add new multiple language specific documents

`AddLangDocs` target accepts multiple languages, so we can do like following:

build.cmd AddLangDocs de fr ja

### Build documents that can be seen locally

Run `GenerateHelpDebug` target:

build.cmd GenerateHelpDebug

## Details

### AddLangDocs

`AddLangDocs` will add 2 files under `docs` directory:

1. `docs/tools/templates//template.cshtml`
2. `docs/content//index.fsx`

`/template.cshtml` will be created by copying from the current `docs/tools/templates/template.cshtml`.
On the other hand, `/index.fsx` will be generated by `build.fsx` because I don't think that `docs/content/index.fsx` has always been there.

When we specify already-created language (i.e. already exists `docs/tools/templates//template.cshtml`),
build will fail.

### GenerateHelpDebug

The difference between `GenerateHelp` is one thing: `--define:RELEASE` won't be specified when running `docs/tools/generate.fsx`.

That's all.
Sorry for the long description.
Thanks,