parameters: (args)
return_statement: return 0
docstring: Builds the source code documentation.
docstring_summary: Builds the source code documentation.
docstring_tokens: Builds the source code documentation .
function: def main(args):
    """Builds the source code documentation."""
    logging.info('Building the docs...')
  
    parser = argparse.ArgumentParser(
        description=__doc__,
        formatter_class=argparse.RawDescriptionHelpFormatter)
    parser.add_argument(
        '--force',
        '-f',
        help='Force the docs to be built, even if no files have changed.',
        action='store_true')
  
    parsed_args = parser.parse_args(args)
  
    base = shakaBuildHelpers.get_source_base()
    config_path = os.path.join(base, 'docs', 'jsdoc.conf.json')
    jsdoc = compiler.Jsdoc(config_path)
    if not jsdoc.build(parsed_args.force):
      return 1
    return 0
function_tokens: def main ( args ) : logging . info ( 'Building the docs...' ) parser = argparse . ArgumentParser ( description = __doc__ , formatter_class = argparse . RawDescriptionHelpFormatter ) parser . add_argument ( '--force' , '-f' , help = 'Force the docs to be built, even if no files have changed.' , action = 'store_true' ) parsed_args = parser . parse_args ( args ) base = shakaBuildHelpers . get_source_base ( ) config_path = os . path . join ( base , 'docs' , 'jsdoc.conf.json' ) jsdoc = compiler . Jsdoc ( config_path ) if not jsdoc . build ( parsed_args . force ) : return 1 return 0