does anybody know if the reference section on the ...
# announcements
y
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
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
thanks. I will investigate
e
All the code that generates web site is here: https://github.com/JetBrains/kotlin-web-site
y
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?