publish to web google doc code example
Example: how to publish google docs to a website
When you publish a file to the web, you create a copy of your file as a unique webpage with its own URL.
In Google Drive, open your file.
From Docs, Sheets, Slides, select Fileand thenPublish to the web.
For spreadsheets, select the entire spreadsheet or individual sheets.
For presentations, choose how quickly to advance the slides.
Click Publish.
Copy the link and send it to anyone you’d like to share the file with.
Updates you make to the original file go live when you republish it.