Let us introduce you to how you configure and code in Docly™ with JavaScript.

About Ja­vaSc­rip­t
JavaScript is one of the most popular programming languages in use today. It's been around since 1995, but its popularity really took off in the early 2000s with the rise of dynamic web applications. Today, it's a requirement for anyone who wants to create an app or website that runs on a browser.
HASH fi­les
.HASH files are text files such as HTML pages that execute on server side. They use JavaScript (#JS syntax - aka HashJS) code to process and bind data to your output files. The files must be static and will only be generated once. They will always be cached until the underlying data for the file has changed.
JS fi­les in #/A­PI
.JS file placed in the API folder will run on the server and always return JSON. You can only use them in your #/API folder, where you can write dynamic API functions to make use of in your web apps with AJAX (JSON).