11ty / eleventy

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
https://www.11ty.dev/
MIT License
17.31k stars 495 forks source link

Docs for `dataFileSuffixes` and `dataFileDirBaseNameOverride` config options #2681

Closed zachleat closed 1 year ago

zachleat commented 1 year ago

https://github.com/11ty/eleventy/blob/d0ab03811e87735ac3d79f03bdbff493358f13df/src/defaultConfig.js#L94-L99

Note that using the previous API (jsDataFileSuffix) maintains backwards compatibility in the implementation for 2.0

1699

zachleat commented 1 year ago

Needs updating (may not be comprehensive):

  1. https://www.11ty.dev/docs/config/#change-file-suffix-for-template-and-directory-data-files
  2. https://www.11ty.dev/docs/data-template-dir/
  3. https://www.11ty.dev/docs/data-custom/#example
zachleat commented 1 year ago

Docs shipping to the above URLs