Skip to content

Generate Rails v6.1 doc #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ require 'bundler'
SOURCE_DIR = "src"
INDEX_HTML = 'files/railties/RDOC_MAIN_rdoc.html'

desc "Build railsdoc"
task :build do
generate_rails_rdoc
generate_src

sh 'bundle exec jekyll build'
end

desc "Switch to default Rails version"
task :switch_default_rails do
switch_rails(config["default_rails_version"])
end

desc "Build another version's railsdoc"
task :build_multi do
config["rails_versions"].each do |version, detail|
dir = "#{SOURCE_DIR}/#{version}"
Expand Down
12 changes: 8 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ title: RailsDoc(β)
description: Ruby on Rails API Documentation.
url: https://railsdoc.github.io
source: src
default_rails_version: 6.0.3.7
default_rails_version: 6.1.3.2
rails_versions:
# "6.0":
# specific_version: "6.0.3"
"6.0":
specific_version: "6.0.3.7"
"5.2":
specific_version: "5.2.6"
plugins:
Expand All @@ -22,9 +22,13 @@ defaults:
- scope:
path: ""
values:
version: 6.0
version: 6.1
image: https://avatars.githubusercontent.com/u/4223
toc: true
- scope:
path: "6.0"
values:
version: 6.0
- scope:
path: "5.2"
values:
Expand Down
2 changes: 1 addition & 1 deletion rails
Submodule rails updated 1960 files
122 changes: 122 additions & 0 deletions src/6.0/classes/AbstractController.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
---
title: AbstractController
layout: default
---
<div class="main">
<div class="banner">

<span>Ruby on Rails 6.0.3.7</span><br />

<div class="type">Module</div>
<h1>
AbstractController

</h1>
<ul class="files">

<li><a href="../files/actionpack/lib/abstract_controller/asset_paths_rb.html">actionpack/lib/abstract_controller/asset_paths.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/base_rb.html">actionpack/lib/abstract_controller/base.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/caching_rb.html">actionpack/lib/abstract_controller/caching.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/caching/fragments_rb.html">actionpack/lib/abstract_controller/caching/fragments.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/callbacks_rb.html">actionpack/lib/abstract_controller/callbacks.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/collector_rb.html">actionpack/lib/abstract_controller/collector.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/error_rb.html">actionpack/lib/abstract_controller/error.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/helpers_rb.html">actionpack/lib/abstract_controller/helpers.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/logger_rb.html">actionpack/lib/abstract_controller/logger.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/railties/routes_helpers_rb.html">actionpack/lib/abstract_controller/railties/routes_helpers.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/rendering_rb.html">actionpack/lib/abstract_controller/rendering.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/translation_rb.html">actionpack/lib/abstract_controller/translation.rb</a></li>

<li><a href="../files/actionpack/lib/abstract_controller/url_for_rb.html">actionpack/lib/abstract_controller/url_for.rb</a></li>

<li><a href="../files/actionpack/lib/action_controller/metal/redirecting_rb.html">actionpack/lib/action_controller/metal/redirecting.rb</a></li>

<li><a href="../files/actionpack/lib/action_controller/metal/rendering_rb.html">actionpack/lib/action_controller/metal/rendering.rb</a></li>

<li><a href="../files/railties/lib/rails/mailers_controller_rb.html">railties/lib/rails/mailers_controller.rb</a></li>

</ul>
</div>
<div id="bodyContent">
<div id="content">









<h2 id="namespace">Namespace</h2>


<h3 id="module">Module</h3>
<ul>

<li><a href="AbstractController/Caching.html">AbstractController::Caching</a></li>

<li><a href="AbstractController/Callbacks.html">AbstractController::Callbacks</a></li>

<li><a href="AbstractController/Collector.html">AbstractController::Collector</a></li>

<li><a href="AbstractController/Helpers.html">AbstractController::Helpers</a></li>

<li><a href="AbstractController/Railties.html">AbstractController::Railties</a></li>

<li><a href="AbstractController/Rendering.html">AbstractController::Rendering</a></li>

<li><a href="AbstractController/Translation.html">AbstractController::Translation</a></li>

<li><a href="AbstractController/UrlFor.html">AbstractController::UrlFor</a></li>

</ul>



<h3 id="class">Class</h3>
<ul>

<li><a href="AbstractController/ActionNotFound.html">AbstractController::ActionNotFound</a></li>

<li><a href="AbstractController/Base.html">AbstractController::Base</a></li>

<li><a href="AbstractController/DoubleRenderError.html">AbstractController::DoubleRenderError</a></li>

</ul>
















<!-- Methods -->




</div>

</div>
</div>
66 changes: 66 additions & 0 deletions src/6.0/classes/AbstractController/ActionNotFound.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
title: AbstractController::ActionNotFound
layout: default
---
<div class="main">
<div class="banner">

<span>Ruby on Rails 6.0.3.7</span><br />

<div class="type">Class</div>
<h1>
AbstractController::ActionNotFound

<span class="parent">&lt;

StandardError

</span>

</h1>
<ul class="files">

<li><a href="../../files/actionpack/lib/abstract_controller/base_rb.html">actionpack/lib/abstract_controller/base.rb</a></li>

</ul>
</div>
<div id="bodyContent">
<div id="content">

<div class="description">

<p>Raised when a non-existing controller action is triggered.</p>

</div>























<!-- Methods -->




</div>

</div>
</div>
Loading