Python: module fabmetheus_utilities.fabmetheus_tools.wikifier

fabmetheus_utilities.fabmetheus_tools.wikifier ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/fabmetheus_tools/wikifier.py

`Wikifier is a script to add spaces to the pydoc files and move them to the documentation folder.`

Modules

``

__init__ fabmetheus_utilities.archive | cStringIO fabmetheus_utilities.gcodec | os fabmetheus_utilities.settings |

Classes

``

Heading

class Heading
`` | `A class to hold the heading and subheadings. `

Methods defined here:

__init__(self, depth=0)
  `Initialize.`

addToOutput(self, output)
  `Add to the output.`

getFromLine(self, headingLineTable, line)
  `Get the heading from a line.`

Functions

``

addToHeadings(headingLineTable, headings, line)
  `Add the line to the headings.`

getLinkLine(line)
  `Get the link line with the wiki style link converted into a hypertext link.`

getNavigationHypertext(fileText, transferredFileNameIndex, transferredFileNames)
  `Get the hypertext help with navigation lines.`

getNavigationLine(contentsLinkText, previousLinkText, nextLinkText)
  `Get the wrapped pydoc hypertext help.`

getNextLinkText(hypertextFiles, nextIndex)
  `Get the next link text.`

getWrappedHypertext(fileText, hypertextFileIndex, hypertextFiles)
  `Get the wrapped pydoc hypertext help.`

main()
  `Display the craft dialog.`

readWriteDeleteHypertextHelp(documentDirectoryPath, hypertextFileIndex, hypertextFiles, transferredFileNames)
  `Read the pydoc hypertext help documents, write them in the documentation folder then delete the originals.`

readWriteNavigationHelp(documentDirectoryPath, transferredFileNameIndex, transferredFileNames)
  `Read the hypertext help documents, and add the navigation lines to them.`

removeFilesInDirectory(directoryPath)
  `Remove all the files in a directory.`

writeContentsFile(documentDirectoryPath, hypertextFiles)
  `Write the contents file.`

writeContentsLine(hypertextFile, output)
  `Write a line of the contents file.`

writeHypertext()
  `Run pydoc, then read, write and delete each of the files.`

Data

``

__author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
__date__ = '$Date: 2008/21/04 $'
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)
globalWikiLinkStart = '[<a href='

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)