mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-02-22 02:05:29 +00:00
Add noframes section.
This commit is contained in:
parent
62b697c229
commit
e01c4d0a47
10
mxmldoc.c
10
mxmldoc.c
@ -2952,6 +2952,16 @@ write_html(const char *section, /* I - Section */
|
|||||||
fprintf(out, "<frame src=\"%s-toc.html\">\n", basename);
|
fprintf(out, "<frame src=\"%s-toc.html\">\n", basename);
|
||||||
fprintf(out, "<frame name=\"body\" src=\"%s-body.html\">\n", basename);
|
fprintf(out, "<frame name=\"body\" src=\"%s-body.html\">\n", basename);
|
||||||
fputs("</frameset>\n"
|
fputs("</frameset>\n"
|
||||||
|
"<noframes>\n"
|
||||||
|
"<h1>", out);
|
||||||
|
write_string(out, title, OUTPUT_HTML);
|
||||||
|
fprintf(out,
|
||||||
|
"</h1>\n"
|
||||||
|
"<ul>\n"
|
||||||
|
"\t<li><a href=\"%s-toc.html\">Table of Contents</a></li>\n"
|
||||||
|
"\t<li><a href=\"%s-body.html\">Body</a></li>\n"
|
||||||
|
"</ul>\n", basename, basename);
|
||||||
|
fputs("</noframes>\n"
|
||||||
"</html>\n", out);
|
"</html>\n", out);
|
||||||
fclose(out);
|
fclose(out);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user