Repository navigation
v3.1.0
-
Fixed
- Images are downloaded again: Google now serves them from
docs.google.com/docs-images-rtURLs, which the plugin did not recognize - An image Google cannot resize to
imagesOptionsis downloaded at its original size instead of not at all - The descriptions are read with yaml instead of yamljs, which could not read some valid YAML and dropped their metadata. A description that is not valid YAML is now reported instead of ignored silently.
- An image whose URL expired before it was downloaded is downloaded again from a fresh URL. Google expires them a few minutes after a document is fetched, so most of the images of a large site failed with "403 Forbidden".
- A folder with
exclude: trueis no longer walked through, which saves a listing of every folder it holds - A description written as a YAML list is ignored instead of becoming metadata named "0", "1", ...
- Images are downloaded again: Google now serves them from
-
Updated
- The conversion to Markdown and the Google authentication live in google-docs-to-markdown, so they can be used without Gatsby. The output and the
.envvariables are the same. - Node 22.12 or later and Gatsby 5.3 or later are required: the plugin is an ES module, which Gatsby loads from
gatsby-node.mjs - One Google client is used for the whole build, so the access token is refreshed once instead of once per document
- Images are downloaded 8 at a time instead of one after the other
- The types of the options are generated from the code
- A date written in a description, like
date: 2023-12-31, stays as written instead of becoming midnight UTC. Gatsby still reads it as a date.
- The conversion to Markdown and the Google authentication live in google-docs-to-markdown, so they can be used without Gatsby. The output and the