Skip to content
/ jsdocs Public
forked from billti/jsdocs

JavaScript and TypeScript docs for VS 2017

Notifications You must be signed in to change notification settings

amcasey/jsdocs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JavaScript and TypeScript docs for VS 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%