Unified · Split
| @@ -5,6 +5,3 @@ · 4 unmodified lines | ||
| 5 | 5 | tmp |
| 6 | 6 | public/assets |
| 7 | 7 | public/fonts |
| 8 | −public/docs/**/* | |
| 9 | −!public/docs/docs.json | |
| 10 | −!public/docs/**/index.json | |
| @@ -35,6 +35,9 @@ class App < Sinatra::Application · 34 unmodified lines | ||
| 35 | 35 | |
| 36 | 36 | set :csp, false |
| 37 | 37 | |
| 38 | + require 'docs' | |
| 39 | + Docs.generate_manifest | |
| 40 | + | |
| 38 | 41 | Dir[docs_path, root.join(assets_prefix, '*/')].each do |path| |
| 39 | 42 | sprockets.append_path(path) |
| 40 | 43 | end |
| @@ -0,0 +1,2 @@ | ||
| 1 | +* | |
| 2 | +!.gitignore | |
| @@ -1 +0,0 @@ | ||
| 1 | −[] | |