proxygen
release_docs Namespace Reference

Classes

class  WikiBrancher
 

Functions

def DropWikiSuffix (wiki_filename)
 
def main ()
 

Variables

string __author__ = 'wan@google.com (Zhanyong Wan)'
 
list GTEST_UNVERSIONED_WIKIS = ['DevGuide.wiki']
 
list GMOCK_UNVERSIONED_WIKIS
 

Function Documentation

def release_docs.DropWikiSuffix (   wiki_filename)
Removes the .wiki suffix (if any) from the given filename.

Definition at line 82 of file release_docs.py.

Referenced by release_docs.WikiBrancher.__init__().

82 def DropWikiSuffix(wiki_filename):
83  """Removes the .wiki suffix (if any) from the given filename."""
84 
85  return (wiki_filename[:-len('.wiki')] if wiki_filename.endswith('.wiki')
86  else wiki_filename)
87 
88 
def DropWikiSuffix(wiki_filename)
Definition: release_docs.py:82
def release_docs.main ( void  )

Definition at line 148 of file release_docs.py.

Referenced by release_docs.WikiBrancher.UpdateLinksInBranchedFiles().

148 def main():
149  if len(sys.argv) != 2:
150  sys.exit(__doc__)
151 
152  brancher = WikiBrancher(sys.argv[1])
153  brancher.BranchFiles()
154  brancher.UpdateLinksInBranchedFiles()
155 
156 

Variable Documentation

string release_docs.__author__ = 'wan@google.com (Zhanyong Wan)'
private

Definition at line 64 of file release_docs.py.

list release_docs.GMOCK_UNVERSIONED_WIKIS
Initial value:
1 = [
2  'DesignDoc.wiki',
3  'DevGuide.wiki',
4  'KnownIssues.wiki'
5  ]

Definition at line 75 of file release_docs.py.

list release_docs.GTEST_UNVERSIONED_WIKIS = ['DevGuide.wiki']

Definition at line 74 of file release_docs.py.