JavaScript/TypeScript in Visual Studio docs
Перейти к файлу
Bill Ticehurst 88a5a7530e Added NewtonSoft.Json troubleshooting docs 2017-11-28 11:32:12 -08:00
articles Added NewtonSoft.Json troubleshooting docs 2017-11-28 11:32:12 -08:00
docs Added NewtonSoft.Json troubleshooting docs 2017-11-28 11:32:12 -08:00
images Added NewtonSoft.Json troubleshooting docs 2017-11-28 11:32:12 -08:00
.gitignore Updated fxdoc version 2017-10-24 14:29:43 -07:00
README.md Updated readme and go direct to /articles 2017-10-05 14:25:25 -07:00
docfx.json Hardcode git URL in metadata to prevent other users from overwriting 2017-10-09 10:52:00 -07:00
index.md Fixed redirect 2017-10-05 14:45:04 -07:00
toc.yml Completed initial outline 2017-09-28 16:21:00 -07:00

README.md

JavaScript & TypeScript documentation for VS 2017

This repository contains documentation for using the JavaScript and TypeScript languages in VS 2017.

The content is authored using FxDoc, which can be found at https://github.com/dotnet/docfx. See an overview at https://dotnet.github.io/docfx.

Getting started

Use the below steps to get started quickly:

  1. Download the latest DocFx release from https://github.com/dotnet/docfx/releases
  2. Unzip the release, and place the directory containing the docfx.exe binary on your PATH
  3. Edit the YAML and Markdown files in the repository
  4. When done, from the root dir run docfx .\docfx.json --serve. This will build the site and start a simple web server
  5. Open http://localhost:8080 in your browser to view
  6. Once happy with your changes, open a pull request to merge them into master (including the built output under ./docs)
  7. Once merged, the site content in the ./docs folder is served via GitHub pages on https://billti.github.io/jsdocs

Authoring guidelines

  • Navigation does not render well if items are added to the top-level toc.yml file. All content for the site should be authored under the ./articles directory.
  • Outline the entire content structure in the ./articles/toc.yml file, following the pattern already in place. Having all navigation in one YAML file as nested items provides for a collapsable navigation tree on the left, rather than navigating to a new section when an item is selected.
  • Place all screen-shots and other images under the ./images folder, and reference the file via relative paths (e.g. ../../images/foo.png)
  • Using high-res screen clippings can result in rendering overly large images if using basic Markdown for them. This can be solved by using img tags directly in Markdown and specifying the desired width or height (e.g. <img src="../../images/sample.png" width="375px"/>).

More info

Below is a list of useful links to reference when authoring content:

Misc