ATLAS Offline Software
|
Variables | |
string | inFile = "README.md" |
f = open(inFile) | |
list | regularLines = [] |
list | tocLines = [] |
bool | afterBreak = False |
bool | afterTOC = False |
bool | inCodeBlock = False |
header = line.split('#')[-1].strip() | |
string | tag = '#'+header.lower().replace(" ","-").replace(",","").replace("?","").replace("(","").replace(")","").replace("/","") |
nIndents = line.count('#') | |
string | tocLine = "" |
fOut = open (inFile+".tmp",'w') | |
bool makeTOC.afterBreak = False |
Definition at line 14 of file makeTOC.py.
bool makeTOC.afterTOC = False |
Definition at line 15 of file makeTOC.py.
makeTOC.f = open(inFile) |
Definition at line 9 of file makeTOC.py.
makeTOC.fOut = open (inFile+".tmp",'w') |
Definition at line 37 of file makeTOC.py.
makeTOC.header = line.split('#')[-1].strip() |
Definition at line 28 of file makeTOC.py.
makeTOC.inCodeBlock = False |
Definition at line 16 of file makeTOC.py.
makeTOC.inFile = "README.md" |
Definition at line 5 of file makeTOC.py.
makeTOC.nIndents = line.count('#') |
Definition at line 30 of file makeTOC.py.
list makeTOC.regularLines = [] |
Definition at line 11 of file makeTOC.py.
string makeTOC.tag = '#'+header.lower().replace(" ","-").replace(",","").replace("?","").replace("(","").replace(")","").replace("/","") |
Definition at line 29 of file makeTOC.py.
string makeTOC.tocLine = "" |
Definition at line 31 of file makeTOC.py.
list makeTOC.tocLines = [] |
Definition at line 12 of file makeTOC.py.