Permalink
Browse files

Merge pull request #12585 from aeslaughter/MOOSEDocs-include-new

Improve support for adding new pages with server running
  • Loading branch information...
milljm committed Dec 6, 2018
2 parents fac9145 + 3cde29a commit 77542f5f9b0b978f79193192fca9b82d12cbc40c
@@ -113,6 +113,10 @@ def executioner(self):
"""Return the Executioner instance."""
return self.__executioner
def addContent(self, page):
"""Add an additional page to the list of available pages."""
self.__content.append(page)
def update(self, **kwargs):
"""Update configuration and handle destination."""
dest = kwargs.get('destination', None)
@@ -134,7 +134,7 @@ def _getPage(self, source):
page.base = self._translator.get('destination')
if isinstance(page, pages.Source):
page.output_extension = self._translator.renderer.EXTENSION
self._translator.content.append(page)
self._translator.addContent(page)
return page
def _init_large_media():

0 comments on commit 77542f5

Please sign in to comment.