Frequently asked questions.

What’s the difference between doc2.site, doc2.live and doc2.email ?#

doc2.site is the foundation which doc2.email and doc2.live rely on. It provides the API to manage the content from Google Docs and Google Sheets.

doc2.live is a service built to power faster Web Experiences with low-code requirements. Only basic JS, CSS and HTML skills are required to build websites with it. It relies solely on the Web Platform and specifically Web Components to build solutions faster that will last for decades.

doc2.live is a service built to simplify the process of building email templates with low-code requirements similarly to doc2.live. It relies on react.email and its abstraction of components to build emails quicker.

What is Jamstack ?#

Jamstack is a term that describes a web development architecture based on JavaScript, APIs, and Markup (JAM). Jamstack isn’t a specific technology or framework but a different architecture for building apps and websites.

Jamstack is an architecture designed to make the web faster, more secure, and easier to scale. It builds on many of the tools and workflows which developers love, and which bring maximum productivity.

Is doc2.site a Headless CMS ?#

Yes doc2.site can be used as a Headless CMS to deliver content to any application that can consume JSON. Its APIs are built to simplify the consumption of web content published from Google Docs and Google Sheets.

doc2.site is listed as Headless CMS on jamstack.org and provides several starter templates to get started quickly.

How is content edited ?#

Content can be edited in Google Docs and Google Sheets and directly published from there using the doc2.site tooling Extension for Google Chrome and Edge.

Which characters can be used to create documents and folders ?#

Published content URLs are normalized meaning only alphanumeric characters are kept and spaces are replaced by dashes which is common to make URLs more human readable.

Are multilingual sites supported ?#

Yes we recommend to put the content for each language in a specific folder and use Google Docs translation feature to translate documents in different languages.

I just published fresh content, but it’s not updated on the website ?#

It can take up to 2mins to propagate changes to the network globally. It can also be that the page is cached by the browser. In most browsers, pressing ctrl+F5 will force the browser to retrieve the webpage from the server instead of loading it from the cache.  

What does JSON and hast stand for ?#

JSON (JavaScript Object Notation) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values). It is a common data format with diverse uses in electronic data interchange, including that of web applications with servers.

hast is a specification for representing HTML as an abstract syntax tree (AST). An abstract syntax tree is a tree representation of the abstract syntactic structure of text (often source code) written in a formal language. Each node of the tree denotes a construct occurring in the text. The syntax is "abstract" in the sense that it does not represent every detail appearing in the real syntax, but rather just the structural or content-related details.

By leveraging both formats JSON and hast, the content published by doc2.site can be easily consumed and transformed by typical web applications.  

What is the Edge referring to ?#

The Edge is a distributed network of servers in locations that are close to end users, to efficiently deliver static or computed content to users with minimal latency and bandwidth use. Bringing computation to the network’s edge minimizes the amount of long-distance communication that has to happen between a client and server.

Is it possible to mix content from doc2.site with other sources of content ?#

Yes, doc2.site is composable by default, meaning it allows bridging content from different origins to deliver a single solution.