code: def sync(
          self
      ):
          
          self.log.info('starting the ``sync`` method')
  
          taskpaperFiles = self._get_all_taskpaper_files(self.workspaceRoot)
          for k, v in self.syncTagSets.iteritems():
              self._complete_original_tasks(setName=k)
  
          for k, v in self.syncTagSets.iteritems():
              workflowTagSet = False
              for tag in v:
                  if tag in self.workflowTags:
                      workflowTagSet = True
  
              content = self._get_tagged_content_from_taskpaper_files(
                  taskpaperFiles,
                  tagSet=v,
                  workflowTagSet=workflowTagSet,
                  includeFileTags=self.includeFileTags
              )
              if content:
                  taskpaperDocPath = self._create_single_taskpaper_task_list(
                      content, setName=k)
                  self._create_html_tasklist(taskpaperDocPath)
  
          # self._generate_sync_documents()
  
          self.log.info('completed the ``sync`` method')
          return None
docs: *sync the tasks tagged with a tag in the sync-tags set to index taskpaper document and HTML page*
  
          **Return:**
              - None
  
          see class docsting for usage