def sync(<EOL>self<EOL>):
self.log.info('<STR_LIT>')<EOL>taskpaperFiles = self._get_all_taskpaper_files(self.workspaceRoot)<EOL>for k, v in self.syncTagSets.items():<EOL><INDENT>self._complete_original_tasks(setName=k)<EOL><DEDENT>for k, v in self.syncTagSets.items():<EOL><INDENT>workflowTagSet = False<EOL>for tag in v:<EOL><INDENT>if tag in self.workflowTags:<EOL><INDENT>workflowTagSet = True<EOL><DEDENT><DEDENT>content = self._get_tagged_content_from_taskpaper_files(<EOL>taskpaperFiles,<EOL>tagSet=v,<EOL>workflowTagSet=workflowTagSet,<EOL>includeFileTags=self.includeFileTags<EOL>)<EOL>if content:<EOL><INDENT>taskpaperDocPath = self._create_single_taskpaper_task_list(<EOL>content, setName=k)<EOL>self._create_html_tasklist(taskpaperDocPath)<EOL><DEDENT><DEDENT>self.log.info('<STR_LIT>')<EOL>return None<EOL>
*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