Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ docs Public
forked from NativeScript/docs-v7

Documentation, API reference, and code snippets for NativeScript

Notifications You must be signed in to change notification settings

e-f-e/docs

Repository files navigation

NativeScript Documentation

Home of the NativeScript documentation content that lives at http://docs.nativescript.org. Start contributing today!

Contributing

The NativeScript documentation is completely open source and we love contributions. Whether you want to fix a typo, or write an entire article, the NativeScript documentation is a great way to get started contributing to an open source project.

Don’t know where to start? Check out the list of issues with the "up-for-grabs" label. New to git or GitHub? Join our community Slack chat and we’ll be happy to help get you up and running.

Branches

This repository’s two main branches are master and production.

  • The production branch contains the version of the content that is currently deployed on docs.nativescript.org. New commits to this branch trigger a complete build that will push the changes live; therefore, only commit urgent fixes to this branch.
  • The master branch contains the most up-to-date version of the NativeScript documentation. The contents of the master branch are moved into the production branch with NativeScript release; therefore, the master branch is perfect for updating the docs about yet-to-be-released versions of NativeScript, as well as trivial changes that don’t need to be deployed immediately.

When in doubt feel free to submit pull requests against either branch.

Configuration

There are two versions of the NativeScript documentation that generate similar output: nativescript and angular. The former builds the vanilla NativeScript docs at docs.nativescript.org, while the latter discusses Angular-specific topics at docs.nativescript.org/angular.

Most of the content in this repository is shared between the two environments, but occasionally you may need to add environment-specific content. When you have this need you have a few options.

  1. If you would like a page to appear in a single environment, add an environment: angular or environment: nativescript property to that page's front matter. Pages marked with an environment property will appear in a single environment, and pages not marked with an environment property will be shared across all environments.

  2. If you have a page that should be appear in both environments but has different content for certain sections, you can use our built-in environment block tags. The blocks are named angular and nativescript, respectively, and can be used like this:

{% nativescript %}This paragraph appears only in the vanilla NativeScript documentation{% endnativescript %}
This paragraph appears in both environments.
{% angular %}This appears only in the Angular NativeScript documentation{% endangular %}

Tutorials

The NativeScript documentation contains two full getting started tutorials, one for using NativeScript with vanilla JavaScript, and another for using NativeScript with Angular. The contents of these two tutorials are in this repository’s /tutorial folder.

When making changes to either of these tutorials you might need to additional alter one of the four templates these tutorials use. Readers use these templates through the tns create command, for example tns create HelloWorld --template nativescript-template-tutorial.

Contributors

The following is a list of all the people that have contributed to the NativeScript documentation. Thanks for your contributions!

tjvantoll ErjanGavalji ns-bot tsonevn vakrilov N3ll

hdeshev nsndeck vchimev erikruth NickIliev ikoevska

hamorphis atanasovg Plamen5kov teobugslayer tzraikov ivanbuhov

jasssonpet enchev rosen-vladimirov Mitko-Kerezov boevski dtopuzov

roblav96 tailsu dmccuskey sipacate PanayotCankov getsetbro

Pip3r4o bradmartin burkeholland jbristowe Lampei sis0k0

alejonext bsyk fdnhkj hshristov rodrigopires toddanglin

jlooper mtekp TsvetanMilanov realtebo alexziskind1 AntonDobrev

ABoschman bensooraj ejsuncy dennistang donangel pelegri

EvanWieland FrancoisCamus gabesumner gbhojraj hristoborisov n3wc

joshgking digitaldrummerj nemephx zh-m amjd shiravand

bel3atar SamVerschueren simmstein DasAllFolks Taremeh TedHopp

e2l3n trentvb VladimirAmiorkov williamho Xorbert narayananl23

peterennis saiberz svalchinov trevordowdle yjaaidi yyosifov

About

Documentation, API reference, and code snippets for NativeScript

Resources

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /