Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed Apr 4, 2012
1 parent ab29938 commit dddee04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/models/repository.js
Expand Up @@ -18,7 +18,7 @@ Repository.prototype.generageDocumentation = function (cb) {
p.layoutHTML = this.getDocLayout(); p.layoutHTML = this.getDocLayout();
p.download('lib', function () { p.download('lib', function () {
p.makeDocumentation(); p.makeDocumentation();
if (p.stats.coverage > 5) { if (p.stats.coverage > 2) {
ProjectStatsHistory.create({ ProjectStatsHistory.create({
repo: p.repo, repo: p.repo,
stats: JSON.stringify(p.stats), stats: JSON.stringify(p.stats),
Expand All @@ -33,6 +33,6 @@ Repository.prototype.getDocLayout = function getDocLayout() {
return fs.readFileSync(app.root + '/app/views/layouts/doc_layout.html') return fs.readFileSync(app.root + '/app/views/layouts/doc_layout.html')
.toString() .toString()
.replace(/PROJECT OWNER/g, this.user) .replace(/PROJECT OWNER/g, this.user)
.replace(/PROJECT NAME/g, this.repo); .replace(/PROJECT NAME/g, this.title);
}; };


2 changes: 1 addition & 1 deletion app/views/layouts/application_layout.ejs
Expand Up @@ -13,7 +13,7 @@
<div class="navbar"> <div class="navbar">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container"> <div class="container">
<a class="brand" href="/projects">Makedoc!</a> <a class="brand" href="/">JSDoc.info</a>
</div> </div>
</div> </div>
</div> </div>
Expand Down

0 comments on commit dddee04

Please sign in to comment.