Lines Matching refs:fout
76 def print_item(path, lvl, d, fout): argument
80 fout.write("#"*lvl + " " + v + "\n")
81 fout.write('```eval_rst\n')
82 fout.write(f".. lv_example:: {k}\n")
83 fout.write('```\n')
84 fout.write("\n")
88 fout = open("examples.md", "w")
105 fout.write("```eval_rst\n")
106 fout.write(":github_url: |github_link_base|/examples.md\n")
107 fout.write("```\n")
108 fout.write("\n")
109 fout.write("# Examples\n")
112 fout.write("## " + h1[h] + "\n")
116 fout.write("### " + widgets[w] + "\n")
117 print_item(h + "/" + w, 4, d_all, fout)
120 fout.write("### " + layouts[l] + "\n")
121 print_item(h + "/" + l, 4, d_all, fout)
123 print_item(h, 3, d_all, fout)
125 fout.write("")