parameters: (app, category)
docstring: Creates default file to load from MooseDocs configuration.
docstring_summary: Creates default file to load from MooseDocs configuration.
docstring_tokens: Creates default file to load from MooseDocs configuration .
function: def init_sqa_config(app, category):
      """Creates default file to load from MooseDocs configuration."""
      template = os.path.join(os.path.dirname(__file__), 'sqa_app.yml.template')
  
      with open(template, 'r') as fid:
          content = fid.read()
  
      repo = mooseutils.git_repo(MooseDocs.ROOT_DIR)
      content = mooseutils.apply_template_arguments(content, repo=repo, category=category, app=app)
  
      filename = os.path.join(os.getcwd(), 'sqa_{}.yml'.format(category))
      _write_file(filename, content)
function_tokens: def init_sqa_config ( app , category ) : template = os . path . join ( os . path . dirname ( __file__ ) , 'sqa_app.yml.template' ) with open ( template , 'r' ) as fid : content = fid . read ( ) repo = mooseutils . git_repo ( MooseDocs . ROOT_DIR ) content = mooseutils . apply_template_arguments ( content , repo = repo , category = category , app = app ) filename = os . path . join ( os . getcwd ( ) , 'sqa_{}.yml' . format ( category ) ) _write_file ( filename , content )