Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
376260e9
Commit
376260e9
authored
14 years ago
by
Eric Davis
Browse files
Options
Downloads
Patches
Plain Diff
[
#211
] Override the Rails doc:app task to include our doc layout
parent
03a1d926
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/README_FOR_APP
+0
-5
0 additions, 5 deletions
doc/README_FOR_APP
lib/tasks/documentation.rake
+20
-0
20 additions, 0 deletions
lib/tasks/documentation.rake
with
20 additions
and
5 deletions
doc/README_FOR_APP
deleted
100644 → 0
+
0
−
5
View file @
03a1d926
= Redmine
Redmine is a flexible project management web application written using Ruby on Rails framework.
More details can be found at http://www.redmine.org
This diff is collapsed.
Click to expand it.
lib/tasks/documentation.rake
0 → 100644
+
20
−
0
View file @
376260e9
#clear the doc:app task et al
Rake
::
Task
[
"doc:app"
].
clear
Rake
::
Task
[
"doc/app"
].
clear
Rake
::
Task
[
"doc/app/index.html"
].
clear
namespace
:doc
do
desc
"Generate documentation for the application. Set custom template with TEMPLATE=/path/to/rdoc/template.rb or title with TITLE=
\"
Custom Title
\"
"
Rake
::
RDocTask
.
new
(
"app"
)
{
|
rdoc
|
rdoc
.
rdoc_dir
=
'doc/app'
rdoc
.
template
=
ENV
[
'template'
]
if
ENV
[
'template'
]
rdoc
.
title
=
ENV
[
'title'
]
||
"ChiliProject"
rdoc
.
options
<<
'--line-numbers'
<<
'--inline-source'
rdoc
.
options
<<
'--charset'
<<
'utf-8'
rdoc
.
rdoc_files
.
include
(
'app/**/*.rb'
)
rdoc
.
rdoc_files
.
include
(
'lib/**/*.rb'
)
rdoc
.
rdoc_files
.
include
(
'README.rdoc'
)
rdoc
.
rdoc_files
.
include
(
'doc/*.rdoc'
)
rdoc
.
main
=
'README.rdoc'
}
end
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment