Commit 0d3baa2d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Keep the original source files for guides.

This way when generating the docs, the source files for guides
will also be included, allowing users of the docs to use these
to generate the guides by themselves.
parent 9e7925b7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -63,9 +63,8 @@ module JsDuck
      @guides.each do |guide|
        out_dir = dir+"/"+guide[:name]
        FileUtils.cp_r(guide[:dir], out_dir)
        # Write the JsonP file and remove the original Markdown file
        # Write the JsonP file
        JsonP.write(out_dir+"/README.js", guide[:name], {:guide => guide[:html]})
        FileUtils.rm(out_dir + "/README.md")
      end
    end