https://kotlinlang.org logo
#announcements
Title
# announcements
y

Yan Pujante

06/17/2019, 1:16 PM
does anybody know if the reference section on the kotlinlang website (https://kotlinlang.org/api/latest/jvm/stdlib/index.html) can be generated locally? Or another way to put it, is, is the code that generates these pages part of the kotlin project on github? Another project?
m

Mike

06/17/2019, 1:31 PM
It uses Dokka to generate it, and is stored in the class files in the repo. https://github.com/JetBrains/kotlin/tree/master/libraries/stdlib So you should be able to run the build locally to generate the doc site. But I haven't done it, so don't have instructions.
y

Yan Pujante

06/17/2019, 1:51 PM
thanks. I will investigate
e

elizarov

06/17/2019, 3:23 PM
All the code that generates web site is here: https://github.com/JetBrains/kotlin-web-site
y

Yan Pujante

06/17/2019, 6:24 PM
Sweet! I am glad it's open source and I can take a look at it
I was looking at the source code for the website and am seeing this in
api.py
Copy code
api_title_files_path = path.join(root_folder, 'api', 'latest', 'jvm', 'stdlib', 'index.yml')
I have searched the source tree pretty thoroughly but could not find any file called
index.yml
. Does anybody have any idea where is this file located?
3 Views