/kubejsoffline command inside of a single-player world. The html file can be found in the /kubejs/documentation folder, which is created automatically after a successful run. You can also open the file by clicking the link in the chat when it is finished generating.