summaryrefslogtreecommitdiffhomepage
path: root/dragon/kernel_docs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'dragon/kernel_docs.rb')
-rw-r--r--dragon/kernel_docs.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/dragon/kernel_docs.rb b/dragon/kernel_docs.rb
index 00eadf6..95e35be 100644
--- a/dragon/kernel_docs.rb
+++ b/dragon/kernel_docs.rb
@@ -53,13 +53,13 @@ S
final_string += k.docs_all
end
- final_string += "\n" + (($gtk.read_file "docs/source.txt") || "")
+ final_string += "\n" + (($gtk.read_file_root "docs/source.txt") || "")
html_parse_result = (__docs_to_html__ final_string)
- $gtk.write_file 'docs/docs.txt', "#{final_string}"
- $gtk.write_file 'docs/docs.html', html_parse_result[:html]
- $gtk.write_file 'docs/parse_log.txt', (html_parse_result[:parse_log].join "\n")
+ $gtk.write_file_root 'docs/docs.txt', "#{final_string}"
+ $gtk.write_file_root 'docs/docs.html', html_parse_result[:html]
+ $gtk.write_file_root 'docs/parse_log.txt', (html_parse_result[:parse_log].join "\n")
log "* INFO: All docs have been exported to docs/docs.txt."
log "* INFO: All docs have been exported to docs/docs.html."