parameters: ()
docstring: retrieve data on each doc using git and store in a global list.
docstring_summary: retrieve data on each doc using git and store in a global list.
docstring_tokens: retrieve data on each doc using git and store in a global list .
function: def iterate_docs():
      """retrieve data on each doc using git and store in a global list."""
      print("Checking last time updated...")
      # for file in list(glob.glob('../jekyll/**/*.md')): # figure out why **/ glob is not working.
      files = []
      for path in docs_paths:
          files.extend(glob.glob(path))
  
  
      for file in files:
          relative_date = os.popen('git log -1 --date=relative --format="%ad" -- ' + file).read()
          epoch_date    = os.popen('git log -1 --format="%ct" -- ' + file).read()
          fpath         = Path(file)
          file_name     = str(fpath.stem)
          file_dir      = str(fpath.parent.name)
          name          = file_name + str(fpath.suffix)
          doc_data      = create_document_metadata(name, relative_date, epoch_date, file, file_dir)
  
          updated_docs_metadata.append(doc_data)
function_tokens: def iterate_docs ( ) : print ( "Checking last time updated..." ) # for file in list(glob.glob('../jekyll/**/*.md')): # figure out why **/ glob is not working. files = [ ] for path in docs_paths : files . extend ( glob . glob ( path ) ) for file in files : relative_date = os . popen ( 'git log -1 --date=relative --format="%ad" -- ' + file ) . read ( ) epoch_date = os . popen ( 'git log -1 --format="%ct" -- ' + file ) . read ( ) fpath = Path ( file ) file_name = str ( fpath . stem ) file_dir = str ( fpath . parent . name ) name = file_name + str ( fpath . suffix ) doc_data = create_document_metadata ( name , relative_date , epoch_date , file , file_dir ) updated_docs_metadata . append ( doc_data )