Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release

  • Loading branch information...
commit dddee04ac832b3cc0c266a3e7df2c1b82d6f0c5e 1 parent ab29938
@1602 authored
View
4 app/models/repository.js
@@ -18,7 +18,7 @@ Repository.prototype.generageDocumentation = function (cb) {
p.layoutHTML = this.getDocLayout();
p.download('lib', function () {
p.makeDocumentation();
- if (p.stats.coverage > 5) {
+ if (p.stats.coverage > 2) {
ProjectStatsHistory.create({
repo: p.repo,
stats: JSON.stringify(p.stats),
@@ -33,6 +33,6 @@ Repository.prototype.getDocLayout = function getDocLayout() {
return fs.readFileSync(app.root + '/app/views/layouts/doc_layout.html')
.toString()
.replace(/PROJECT OWNER/g, this.user)
- .replace(/PROJECT NAME/g, this.repo);
+ .replace(/PROJECT NAME/g, this.title);
};
View
2  app/views/layouts/application_layout.ejs
@@ -13,7 +13,7 @@
<div class="navbar">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="/projects">Makedoc!</a>
+ <a class="brand" href="/">JSDoc.info</a>
</div>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.