| ... | @@ -10355,15 +10355,15 @@ void codegen_build_and_link(CodeGen *g) { | ... | @@ -10355,15 +10355,15 @@ void codegen_build_and_link(CodeGen *g) { |
| 10355 | } | 10355 | } |
| 10356 | } | 10356 | } |
| 10357 | if (g->enable_doc_generation) { | 10357 | if (g->enable_doc_generation) { |
| 10358 | Buf *doc_dir_path = buf_sprintf("%s" OS_SEP "doc", buf_ptr(g->output_dir)); | 10358 | Buf *doc_dir_path = buf_sprintf("%s" OS_SEP "docs", buf_ptr(g->output_dir)); |
| 10359 | if ((err = os_make_path(doc_dir_path))) { | 10359 | if ((err = os_make_path(doc_dir_path))) { |
| 10360 | fprintf(stderr, "Unable to create directory %s: %s\n", buf_ptr(doc_dir_path), err_str(err)); | 10360 | fprintf(stderr, "Unable to create directory %s: %s\n", buf_ptr(doc_dir_path), err_str(err)); |
| 10361 | exit(1); | 10361 | exit(1); |
| 10362 | } | 10362 | } |
| 10363 | Buf *index_html_src_path = buf_sprintf("%s" OS_SEP "special" OS_SEP "doc" OS_SEP "index.html", | 10363 | Buf *index_html_src_path = buf_sprintf("%s" OS_SEP "special" OS_SEP "docs" OS_SEP "index.html", |
| 10364 | buf_ptr(g->zig_std_dir)); | 10364 | buf_ptr(g->zig_std_dir)); |
| 10365 | Buf *index_html_dest_path = buf_sprintf("%s" OS_SEP "index.html", buf_ptr(doc_dir_path)); | 10365 | Buf *index_html_dest_path = buf_sprintf("%s" OS_SEP "index.html", buf_ptr(doc_dir_path)); |
| 10366 | Buf *main_js_src_path = buf_sprintf("%s" OS_SEP "special" OS_SEP "doc" OS_SEP "main.js", | 10366 | Buf *main_js_src_path = buf_sprintf("%s" OS_SEP "special" OS_SEP "docs" OS_SEP "main.js", |
| 10367 | buf_ptr(g->zig_std_dir)); | 10367 | buf_ptr(g->zig_std_dir)); |
| 10368 | Buf *main_js_dest_path = buf_sprintf("%s" OS_SEP "main.js", buf_ptr(doc_dir_path)); | 10368 | Buf *main_js_dest_path = buf_sprintf("%s" OS_SEP "main.js", buf_ptr(doc_dir_path)); |
| 10369 | | 10369 | |