All Projects → smartlogic → raddocs

smartlogic / raddocs

Licence: MIT License
Rspec Api Documentation Browser

Programming Languages

javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to raddocs

Ruby Capstone
A simple web scraper built with Ruby and the Nokogiri gem. It crawls a certain website and gets the prices and other data of cryptocurrencies. Rspec was used for testing.
Stars: ✭ 14 (-80.56%)
Mutual labels:  rspec
CtCI-with-Ruby-TDD
Cracking the Coding Interview with Ruby and TDD
Stars: ✭ 44 (-38.89%)
Mutual labels:  rspec
ruby3-rails6-bootstrap-heroku
An opinionated starter application based on Ruby 3.0, Rails 6.1, Webpack 5, Yarn, and Bootstrap 5, deployable on Heroku
Stars: ✭ 21 (-70.83%)
Mutual labels:  rspec
rspec.tmbundle
Textmate bundle for RSpec.
Stars: ✭ 196 (+172.22%)
Mutual labels:  rspec
gruf-rspec
RSpec helper suite for gruf
Stars: ✭ 19 (-73.61%)
Mutual labels:  rspec
rspec n
A ruby gem that runs RSpec N times.
Stars: ✭ 37 (-48.61%)
Mutual labels:  rspec
wisper-rspec
RSpec matchers and stubbing for Wisper
Stars: ✭ 59 (-18.06%)
Mutual labels:  rspec
limestone-accounts
Boilerplate Rails 5.2 multitenant SaaS application with webpack and Docker integration. Billing is scoped to accounts.
Stars: ✭ 97 (+34.72%)
Mutual labels:  rspec
souls
SOULs 🔥 Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
Stars: ✭ 327 (+354.17%)
Mutual labels:  rspec
pytest-it
Decorate your pytest suite with RSpec-style pytest markers, then run `pytest --it` to see a plaintext spec of the test structure.
Stars: ✭ 26 (-63.89%)
Mutual labels:  rspec
allure-ruby
Allure integrations for Ruby test frameworks
Stars: ✭ 40 (-44.44%)
Mutual labels:  rspec
rspec-json matchers
A collection of RSpec matchers for testing JSON data.
Stars: ✭ 23 (-68.06%)
Mutual labels:  rspec
reverse coverage
A tool to find the test examples which cover a specific line (or set of lines) of a Ruby project
Stars: ✭ 61 (-15.28%)
Mutual labels:  rspec
capybara select2
Capybara helpers for https://select2.org select box (supports Select2 version 2/3/4)
Stars: ✭ 48 (-33.33%)
Mutual labels:  rspec
yo-ruby
🌈 ✨ A super awesome Ruby wrapper of the Yo API.
Stars: ✭ 15 (-79.17%)
Mutual labels:  rspec
fixturama
Collection of helpers for dealing with fixtures in RSpec
Stars: ✭ 33 (-54.17%)
Mutual labels:  rspec
knapsack pro-ruby
Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests will run in optimal time on each node.
Stars: ✭ 101 (+40.28%)
Mutual labels:  rspec
allure-rspec
Deprecated, use https://github.com/allure-framework/allure-ruby instead
Stars: ✭ 30 (-58.33%)
Mutual labels:  rspec
cppspec
BDD testing for C++ à la RSpec
Stars: ✭ 13 (-81.94%)
Mutual labels:  rspec
LocalSupport
A directory of local support services and volunteer opportunities
Stars: ✭ 60 (-16.67%)
Mutual labels:  rspec

Travis status Inline Docs

Raddocs

Raddocs is a browser for JSON outputted by the rspec_api_documentation gem.

Install

Gemfile

gem 'raddocs'

config/routes.rb

  mount Raddocs::App => "/docs"

Make sure RspecApiDocumentation is generating JSON:

spec/spec_helper.rb

RspecApiDocumentation.configure do |config|
  config.format = :json
end

Configuration

config/initializers/raddocs.rb

  • api_name - Name of the API on the example index page
  • docs_dir - where the JSON output from rspec_api_documentation is located
  • docs_mime_type - if you use the middleware, what mime type are you serving your docs as, must be a regex. eg: /text\/vnd.org.oestrich.raddocs\+plain/
  • include_bootstrap - Boolean to disable including bootstrap if you are using your own css
  • external_css - Array of css files to include, with a full URL to them
  • url_prefix - Optional prefix to insert before URLs generated by Raddocs
Raddocs.configure do |config|
  config.docs_dir = "doc/api"
end

Custom CSS

You can include extra css by the config option external_css or add a directory to the docs dir named styles. Every css file in the styles dir will be included as a link element on all pages.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].