Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 2460 commits ahead, 22 commits behind JetBrains:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pdf
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Kotlin 语言中文站

官方英文站:Official project

This repository is the source for https://kotlinlang.org.

Website structure

Content

Website page Source files
Main page templates/pages/index.html
Kotlin docs docs/topics
Community docs/pages/community
Education docs/pages/education

Note that source files for the server-side landing page and KMM landing page are not publicly available.

Sources in different repositories

Source files for KMM docs, coroutine docs, and language specification are stored in separate repositories:

Website page GitHub repository
KMM docs kotlin-mobile-docs
Coroutine docs kotlinx.coroutines
Language specification kotlin-spec

Auto-generated content

API reference documentation is generated based on comments in the Kotlin code. Learn more about documenting the Kotlin code.

The Kotlin grammar reference is generated by the Kotlin grammar generator from the Kotlin grammar definition.

Configuration files

Configuration File
Navigation and structure kr.tree for docs and _nav.yml for other pages
Variables, such as release version v.list for docs and releases.yml for other pages
Community events on the map events.xml
Video list (outdated) videos.yml

Templates

The Kotlin website uses Jinja2 templates from the templates directory. Note that all Markdown files, except for docs, are processed as Jinja templates before HTML conversion. This allows using all Jinja benefits for Markdown (for example, building URLs with the url_for function).

Contribution

You can contribute to the Kotlin website by sending us a pull request. If you're going to propose a big change, discuss your idea with the team via doc-feedback@kotlinlang.org.

For the Kotlin documentation, follow these guidelines on style and formatting.

For other pages, follow the complete syntax reference at the kramdown site. You can also include metadata fields. Learn more in the Jekyll docs.

Local deployment

Currently, there is no way to deploy the Kotlin website locally. We'll add this support later. You can contribute to the Kotlin website by sending us a pull request.

Feedback and issues

You can: