Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
376260e9
Commit
376260e9
authored
Feb 26, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#211
] Override the Rails doc:app task to include our doc layout
parent
03a1d926
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
README_FOR_APP
doc/README_FOR_APP
+0
-5
documentation.rake
lib/tasks/documentation.rake
+20
-0
No files found.
doc/README_FOR_APP
deleted
100644 → 0
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
lib/tasks/documentation.rake
0 → 100644
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment