1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Commit Graph

8 Commits

Author SHA1 Message Date
Sarah Schneider
ee7b67bbb5 lint 2020-12-17 12:10:21 -05:00
Sarah Schneider
afbd4b7ce4 we need to use a regex so we can be sure we are removing the final segment of the path... apparently this is still faster than a split/slice/join 2020-12-17 12:03:22 -05:00
Sarah Schneider
c859f853dc refactor map topic module to not use breadcrumbs 2020-12-15 11:52:53 -05:00
Sarah Schneider
dca55a0257 Revert "Revert "sitetree optimizations"" 2020-12-14 20:25:01 -05:00
Sarah Schneider
b38eec9964 Revert "sitetree optimizations" 2020-12-14 16:53:04 -05:00
Sarah Schneider
ab7cbda68d refactor how we get map topic content 2020-12-14 14:55:16 -05:00
James M. Greene
fb30a0766f Unravel pages (the array + map object) (#16708)
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'

Update all existing references to use 'loadPages' for now

* Remove explicit Promise resolutions on loadPage* methods

* Condense reduction method into its now-singular usage spot

* Opt for for-of instead of forEach

* Make require of pages in warm-server more explicit

* Be more explicit about find-page using a pageMap

* Be more explicit about find-page-in-version using a pageMap

* Be more explicit about site-tree using a pageMap

* Extract the map creation from loadPageMap

* Be more explicit about using a pageMap

* Update redirects precompile to take two arguments: pageList, pageMap

* Rename internal loadPages method to loadPageList

* Clarify pageMap is what is stored in context.pages

* Use loadPageMap in tests and stuff
2020-12-03 22:31:10 +00:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00