comparison piecrust/sources/list.py @ 989:8adc27285d93

bake: Big pass on bake performance. - Reduce the amount of data passed between processes. - Make inter-process data simple objects to make it easier to test with alternatives to pickle. - Make sources have the basic requirement to be able to find a content item from an item spec (path). - Make Hoedown the default Markdown formatter.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Nov 2017 14:29:17 -0800
parents d231a10d18f9
children
comparison
equal deleted inserted replaced
988:f83ae0a5d793 989:8adc27285d93
19 return self.items 19 return self.items
20 20
21 def getRelatedContents(self, item, relationship): 21 def getRelatedContents(self, item, relationship):
22 return self.inner_source.getRelatedContents(item, relationship) 22 return self.inner_source.getRelatedContents(item, relationship)
23 23
24 def findContent(self, route_params): 24 def findContentFromRoute(self, route_params):
25 # Can't find items... we could find stuff that's not in our list? 25 # Can't find items... we could find stuff that's not in our list?
26 raise NotImplementedError( 26 raise NotImplementedError(
27 "The list source doesn't support finding items.") 27 "The list source doesn't support finding items.")
28 28
29 def getSupportedRouteParameters(self): 29 def getSupportedRouteParameters(self):