File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
astropylibrarian/reducers Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 33
33
34
34
def get_tutorial_reducer (html_page : HtmlPage ) -> Type [ReducedTutorial ]:
35
35
"""Get the reducer appropriate for the tutorial's structure."""
36
- doc = html_page .parse ()
37
- if len (doc .cssselect (".jp-Notebook" )) > 0 :
38
- logger .debug ("Using nbcollection tutorial reducer" )
39
- return ReducedNbcollectionTutorial
40
- else :
41
- logger .debug ("Using sphinx tutorial reducer" )
42
- return ReducedSphinxTutorial
36
+ # doc = html_page.parse()
37
+ return ReducedNbcollectionTutorial
38
+ # if len(doc.cssselect(".jp-Notebook")) > 0:
39
+ # logger.debug("Using nbcollection tutorial reducer")
40
+ # return ReducedNbcollectionTutorial
41
+ # else:
42
+ # logger.debug("Using sphinx tutorial reducer")
43
+ # return ReducedSphinxTutorial
43
44
44
45
45
46
class ReducedTutorial :
You can’t perform that action at this time.
0 commit comments