Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove wURL.
Would love to eventually get this in Raddocs as a side library, but for
now it's too far of a stretch to be in RAD.
  • Loading branch information
oestrich committed Apr 23, 2013
commit a20ca94224922f3e4e555516c86037eeb072937f
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ See the `example` folder for a sample Rails app that has been documented.
## Configuration options
- app - Set the application that Rack::Test uses, defaults to `Rails.application`
- docs_dir - Output folder
- format - An array of output format(s). Possible values are :json, :html, or :wurl. The final option is similar to :html, but includes the wURL console.
- format - An array of output format(s). Possible values are :json, :html
- template_path - Location of templates
- filter - Filter by example document type
- exclusion_filter - Filter by example document type
Expand Down
5 changes: 1 addition & 4 deletions example/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@

RspecApiDocumentation.configure do |config|
config.docs_dir = Rails.root.join("public", "docs")
# html pages with the wURL console
config.format = [:json, :wurl, :combined_text]
# html pages without the wURL console
#config.format = [:json, :html]
config.format = [:json, :html, :combined_text]
config.url_prefix = "/docs"
config.curl_host = 'http://localhost:3000'
config.api_name = "Example App API"
Expand Down
1 change: 0 additions & 1 deletion lib/rspec_api_documentation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ module RspecApiDocumentation
autoload :OAuth2MACClient, "rspec_api_documentation/oauth2_mac_client"
autoload :TestServer
autoload :HtmlWriter
autoload :WurlWriter
autoload :JsonWriter
autoload :JsonIodocsWriter
autoload :IndexWriter
Expand Down
109 changes: 0 additions & 109 deletions lib/rspec_api_documentation/wurl_writer.rb

This file was deleted.

250 changes: 0 additions & 250 deletions templates/assets/javascripts/application.js

This file was deleted.

Loading