def setupContent(self):
     config = [
         dict(root_dir='python/MooseDocs/test/content',
              content=['extensions/example.template.md'])
     ]
     x = common.get_content(config, '.md')
     return common.get_content(config, '.md')
Beispiel #2
0
 def setupContent(self):
     config = [dict(root_dir='python/MooseDocs/test/content',
                    content=['extensions/*'])]
     content = common.get_content(config, '.md')
     for page in content[1:]:
         page['active'] = False if page._name not in self.PAGES else True
     return content
Beispiel #3
0
 def setupContent(self):
     config = [
         dict(
             root_dir='python/MooseDocs/test/content',
             content=['extensions/' + self.PREV, 'extensions/' + self.NEXT])
     ]
     content = common.get_content(config, '.md')
     return content
Beispiel #4
0
 def setupContent(self):
     config = [
         dict(root_dir='python/MooseDocs/test/content',
              content=[
                  'extensions/core.md', 'extensions/content.md',
                  'extensions/acronym.md', 'extensions/table.md'
              ])
     ]
     return common.get_content(config, '.md')
Beispiel #5
0
 def setupContent(self):
     config = [
         dict(root_dir='python/MooseDocs/test/content',
              content=[
                  'extensions/katex.md', 'extensions/katex_include.md',
                  'extensions/katex_include2.md'
              ])
     ]
     return common.get_content(config, '.md')
Beispiel #6
0
 def setupContent(self):
     """Virtual method for populating Content section in configuration."""
     config = [
         dict(root_dir='large_media', content=['testing/Flag_of_Idaho.*'])
     ]
     return common.get_content(config, '.md')
Beispiel #7
0
 def setupContent(self):
     names = ['core.md', 'materialicon.md', 'content.md', 'config.md', 'folder/index.md']
     config = [dict(root_dir='python/MooseDocs/test/content',
                    content=['extensions/' + name for name in names])]
     return common.get_content(config, '.md')