Merge pull request #848 from jmerle/generate-docs-json

Automatically generate public/docs/docs.json when it's needed
pull/1028/head
Jasper van Merle 6 years ago committed by GitHub
commit def4b286e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,6 +37,9 @@ class App < Sinatra::Application
set :csp, false
require 'docs'
Docs.generate_manifest
Dir[docs_path, root.join(assets_prefix, '*/')].each do |path|
sprockets.append_path(path)
end

Loading…
Cancel
Save