Merged
Show file tree
Hide file tree
Changes from 1 commit
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
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
oestrich committedApr 23, 2013
commit a20ca94224922f3e4e555516c86037eeb072937f
Original file line numberDiff line numberDiff 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
Original file line numberDiff line numberDiff 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
Original file line numberDiff line numberDiff 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
Loading