Welcome to the NativeScript documentation content repository. The documentation site is generated by Jekyll, and this repository hosts the page content and related assets.
We have two Jekyll builds for the documentation that generate similar output: nativescript and angular. The former builds the vanilla NativeScript docs, while the latter discusses Angular2-specific topics. Most of the content is shared between the two, and several options are available to add environment-specific content:
-
Pages that appear in certain environment only. Adding an
environment: angularto a page's front matter will mark that page as being available only in that environment. Other environment builds will exclude it. Pages not marked withenvironmentwill be shared across all environments. -
Display different content on shared pages. This is possible via our environment-related block tags, named
angularandnativescriptrespectively:{% nativescript %}Dependency properties...{% endnativescript %} {% angular %}Change detection...{% endangular %}[