Lines Matching refs:section
199 section = output.class_.split(",")
200 for i in range(len(section)):
201 section[i] = section[i].rstrip()
202 if section[i] in CLASSMAP:
203 section[i] = CLASSMAP[section[i]]
204 if i >= len(class_) or section[i] != class_[i]:
206 filename = section[i].replace(" ", "_").lower()
209 rst.write(section[i] + "\n")
210 rst.write(RSTCHARS[0] * len(section[i]))
214 rst.write(section[i] + "\n")
215 rst.write(RSTCHARS[min(i, len(RSTCHARS) - 1)] * len(section[i]))
217 class_ = section
238 for section in INDEXPRIORITY:
239 if section in toctree:
240 index.write(indent(section + ".rst", TAB))
241 toctree.remove(section)
242 for section in toctree:
243 index.write(indent(section + ".rst", TAB))