def readWriteNavigationHelp(documentDirectoryPath, transferredFileNameIndex, transferredFileNames):
 fileName = os.path.basename(transferredFileNames[transferredFileNameIndex])
 print ('readWriteNavigationHelp ' + fileName)
 filePath = os.path.join(documentDirectoryPath, fileName)
 fileText = archive.getFileText(filePath)
 fileText = getNavigationHypertext(fileText, transferredFileNameIndex, transferredFileNames)
 archive.writeFileText(filePath, fileText)

def readWriteNavigationHelp ( documentDirectoryPath , transferredFileNameIndex , transferredFileNames ) : fileName = os . path . basename ( transferredFileNames [ transferredFileNameIndex ] ) print ( 'readWriteNavigationHelp ' + fileName ) filePath = os . path . join ( documentDirectoryPath , fileName ) fileText = archive . getFileText ( filePath ) fileText = getNavigationHypertext ( fileText , transferredFileNameIndex , transferredFileNames ) archive . writeFileText ( filePath , fileText )
read the hypertext help documents .