Docly Developers
Section13 pages

Site structure

How a Docly site is put together and published: the Root and Folder folders, site.json and headers, sign-in, templates, forms, the API folder, the router and services.

Publishing a sitePublishing gives a folder or a single document a web address on one of your subscription's domains. This page covers the publish dialog…The Root folderPlace default files and folders for your site here. #/Root/ mirrors the URL tree of the published site: #/Root/assets/site.css is served at…The Folder folderPlace default files for your folders here. If a folder does not have a file with the requested name, Docly serves the one from #/Folder/…Site.json config fileConfiguration reference for site.json – controls minification, HTTP headers, URL rules, image policy, security level, template syntax, the…Security Headers in the headers.json fileThe headers.json file sets HTTP headers on every response from a site. For a single site, prefer the headers property in site.json, which…Sign-in and accessAn overview of everything that decides who can see what on a published site — what is public by default, Docly sign-in, shares, the site…Understanding and Using TemplatesDocly’s templating system is designed to simplify data entry while ensuring uniformity across your document database. By introducing…Create display templates for your schemasDisplay templates are at the core of how Docly renders your documents as web pages. A .hash file defines the HTML output for all documents…Creating a Template Collection in DoclyDocly is designed as a specialized file system, uniquely tailored for documents (stored as JSON) to guarantee structured data consistency…FormsHow an HTML form on a published Docly site is submitted, checked and delivered by the platform — and how to post a form to your own API…The API folderCreate your custom JSON WEB API by placing JS files that will run server side in the #/API folder.The site routerOne script that runs before every request to a site. It lets the request through, serves another path, redirects or answers it itself — and…Services - scheduling and eventsThe service definition file (#/Services.json) lets application developers schedule tasks and control how failing tasks are handled. Tasks…