Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.NativeScript:docs:'
}
dependencies {
implementation("com.github.NativeScript:docs:")
}
<dependency>
<groupId>com.github.NativeScript</groupId>
<artifactId>docs</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.NativeScript" % "docs" % ""
:dependencies [[com.github.NativeScript/docs ""]]
Live version: https://docs.nativescript.org/
This repository holds the source for the latest version of our docs.
yarn
to install the dependenciesyarn dev
, then visit http://localhost:5173/content
folder) in your favorite editor like VSCode.Tip In case of VSCode you can optionally open the
docs.code-workspace
for a more focused experience either from the terminal withcode docs.code-workspace
or from the File > Open Workspace from file... menu and selecting thedocs.code-workspace
.
Pick a topic/page that nobody is working on yet, create a new branch, add the necessary markdown file and an entry to content/sidebar.ts
.
Open a draft PR and start working on the page. Once you are ready for feedback, mark the PR as ready for review. During the review process, address any feedback until the content is approved.
If you have any questions, feel free to ask them in your PR.
If you want to help review pending content, look for PRs that are marked as ready for review, open the deployed preview URL (commented on the PR by the Cloudflare bot), navigate to the page in question and give it a thorough read. If there's anything missing, or something could be simplified note that as Review comments on the PR. Optionally suggest changes, and note anything that's missing, could be improved, should be fact-checked (ie. is the API still the same, does it still work?) etc.