config.coffee.erb 498 B

123456789101112131415
  1. app.config =
  2. db_filename: 'db.json'
  3. default_docs: <%= App.default_docs.to_json %>
  4. docs_origin: '<%= App.docs_origin %>'
  5. env: '<%= App.environment %>'
  6. history_cache_size: 10
  7. index_filename: 'index.json'
  8. index_path: '/<%= App.docs_prefix %>'
  9. max_results: 50
  10. production_host: 'devdocs.io'
  11. search_param: 'q'
  12. sentry_dsn: '<%= App.sentry_dsn %>'
  13. version: <%= Time.now.to_i %>
  14. release: <%= Time.now.utc.httpdate.to_json %>
  15. mathml_stylesheet: '<%= App.cdn_origin %>/mathml.css'