code: def add_pages(self, path='pages'):
  		
  		pages_path = os.path.join(self.root_path, path)
  		pages = []
  		for file in _listfiles(pages_path):
  			page_dir = os.path.relpath(os.path.dirname(file), pages_path)
  			if page_dir == '.':
  				page_dir = None
  			pages.append(self.cm.Page.from_file(file, directory=page_dir))
  		self.cm.add_pages(pages)
docs: Look through a directory for markdown files and add them as pages.