1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Commit Graph

12 Commits

Author SHA1 Message Date
Sarah Schneider
c032403ec7 add comment 2021-07-01 12:33:37 -04:00
Sarah Schneider
083ba4e1eb Update lib/create-tree.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-07-01 12:28:37 -04:00
Sarah Schneider
0333ea39fb initialize Pages for existing translated paths, not just English paths with localized versions of those paths 2021-07-01 12:13:43 -04:00
Sarah Schneider
e4d464e9b6 remove unnecessary sortBy 2021-05-21 12:06:39 -04:00
Sarah Schneider
2a12a3c599 go back to ignoring translated paths that do not exist because we cannot initialize a fake translated page using the English base path 2021-04-15 14:37:43 -04:00
Sarah Schneider
35922bc57c fall back to English if translated path not found 2021-04-09 09:36:10 -04:00
Sarah Schneider
a08cd650d4 set basePath as constant 2021-04-09 09:15:37 -04:00
Sarah Schneider
a2e2017e57 only require fs.promises 2021-04-09 09:11:01 -04:00
Sarah Schneider
2c79093832 do not throw error on translations, and also do not add redundant data to siteTree item that is already on the page object 2021-03-30 12:11:13 -04:00
Sarah Schneider
e06574b01b make comments nicer 2021-03-29 20:14:01 -04:00
Sarah Schneider
07a5435e69 not ready to set this prop yet... 2021-03-29 16:42:25 -04:00
Sarah Schneider
4ffcff3703 add lib modules for refactored siteTree 2021-03-29 14:34:09 -04:00