Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
E
epub-parser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
KitaitiMakoto
epub-parser
Commits
35d01c27
Commit
35d01c27
authored
1 year ago
by
KitaitiMakoto
Browse files
Options
Downloads
Patches
Plain Diff
Extract doc tasks to a individual file
parent
e011e3db
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Rakefile
+0
-30
0 additions, 30 deletions
Rakefile
rakelib/doc.rake
+30
-0
30 additions, 0 deletions
rakelib/doc.rake
with
30 additions
and
30 deletions
Rakefile
+
0
−
30
View file @
35d01c27
require
'rake/clean'
require
'rubygems/tasks'
require
'yard'
require
'rdoc/task'
task
:default
=>
:test
task
:doc
=>
'doc:default'
namespace
:doc
do
task
:default
=>
[
:yard
,
:rdoc
]
YARD
::
Rake
::
YardocTask
.
new
Rake
::
RDocTask
.
new
do
|
rdoc
|
rdoc
.
rdoc_files
.
include
%w[
lib/**/*.rb
README.adoc
CHANGELOG.adoc
MIT-LICENSE
docs/**/*.adoc
docs/**/*.md
]
end
desc
"Build man page for epubinfo command"
file
"man/epubinfo.1"
=>
:ronn
desc
"Build HTML man page for epubinfo command"
file
"man/epubinfo.1.html"
=>
:ronn
task
ronn:
"man/epubinfo.1.ronn"
do
|
t
|
sh
"ronn
#{
t
.
source
}
"
end
end
Gem
::
Tasks
.
new
task
:build
=>
:clean
This diff is collapsed.
Click to expand it.
rakelib/doc.rake
0 → 100644
+
30
−
0
View file @
35d01c27
require
'yard'
require
'rdoc/task'
task
:doc
=>
'doc:default'
namespace
:doc
do
task
:default
=>
[
:yard
,
:rdoc
]
YARD
::
Rake
::
YardocTask
.
new
Rake
::
RDocTask
.
new
do
|
rdoc
|
rdoc
.
rdoc_files
.
include
%w[
lib/**/*.rb
README.adoc
CHANGELOG.adoc
MIT-LICENSE
docs/**/*.adoc
docs/**/*.md
]
end
desc
"Build man page for epubinfo command"
file
"man/epubinfo.1"
=>
:ronn
desc
"Build HTML man page for epubinfo command"
file
"man/epubinfo.1.html"
=>
:ronn
task
ronn:
"man/epubinfo.1.ronn"
do
|
t
|
sh
"ronn
#{
t
.
source
}
"
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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