cleanup of shred-map logic to accommodate new api doc build
This commit is contained in:
parent
26a1405e40
commit
a30fddadd0
51
gulpfile.js
51
gulpfile.js
|
@ -17,8 +17,8 @@ var fs = fsExtra;
|
||||||
var docShredder = require('./public/doc-shredder/doc-shredder');
|
var docShredder = require('./public/doc-shredder/doc-shredder');
|
||||||
|
|
||||||
var _shredOptions = {
|
var _shredOptions = {
|
||||||
examplesDir: path.resolve('./public/docs/_examples'),
|
examplesDir: './public/docs/_examples',
|
||||||
fragmentsDir: path.resolve('./public/docs/_fragments')
|
fragmentsDir: './public/docs/_fragments'
|
||||||
};
|
};
|
||||||
|
|
||||||
//var _apiShredOptions = {
|
//var _apiShredOptions = {
|
||||||
|
@ -69,7 +69,7 @@ gulp.task('shred-full', ['shred-clean'], function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('shred-clean', function(cb) {
|
gulp.task('shred-clean', function(cb) {
|
||||||
var cleanPath = path.join(_shredOptions.basePath, _shredOptions.fragmentsDir, '**/*.*')
|
var cleanPath = path.join(_shredOptions.fragmentsDir, '**/*.*')
|
||||||
del([ cleanPath, '!**/*.ovr.*'], function (err, paths) {
|
del([ cleanPath, '!**/*.ovr.*'], function (err, paths) {
|
||||||
// console.log('Deleted files/folders:\n', paths.join('\n'));
|
// console.log('Deleted files/folders:\n', paths.join('\n'));
|
||||||
cb();
|
cb();
|
||||||
|
@ -121,11 +121,11 @@ gulp.task('git-changed-examples', ['shred-full'], function(){
|
||||||
console.log(JSON.stringify(jadeExampleMap, null, " "));
|
console.log(JSON.stringify(jadeExampleMap, null, " "));
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
}).catch(function(err) {
|
}).catch(function(err) {
|
||||||
|
console.log(err);
|
||||||
throw err;
|
throw err;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
gulp.task('build-api-docs', function() {
|
gulp.task('build-api-docs', function() {
|
||||||
if (!fs.existsSync('../angular')) {
|
if (!fs.existsSync('../angular')) {
|
||||||
throw new Error('build-api-docs task requires the angular2 repo to be at ' + path.resolve('../angular'));
|
throw new Error('build-api-docs task requires the angular2 repo to be at ' + path.resolve('../angular'));
|
||||||
|
@ -133,15 +133,13 @@ gulp.task('build-api-docs', function() {
|
||||||
try {
|
try {
|
||||||
var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]);
|
var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]);
|
||||||
return dgeni.generate();
|
return dgeni.generate();
|
||||||
} catch(x) {
|
} catch(err) {
|
||||||
console.log(x);
|
console.log(err);
|
||||||
console.log(x.stack);
|
console.log(err.stack);
|
||||||
throw x;
|
throw err;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function filterOutExcludedPatterns(fileNames, excludeMatchers) {
|
function filterOutExcludedPatterns(fileNames, excludeMatchers) {
|
||||||
return fileNames.filter(function(fileName) {
|
return fileNames.filter(function(fileName) {
|
||||||
return !excludeMatchers.some(function(excludeMatcher) {
|
return !excludeMatchers.some(function(excludeMatcher) {
|
||||||
|
@ -152,8 +150,8 @@ function filterOutExcludedPatterns(fileNames, excludeMatchers) {
|
||||||
|
|
||||||
function buildShredMaps(shouldWrite) {
|
function buildShredMaps(shouldWrite) {
|
||||||
var options = _.extend(_shredOptions, {
|
var options = _.extend(_shredOptions, {
|
||||||
jadeDir: '.',
|
jadeDir: './public/docs',
|
||||||
outputDir: '.',
|
outputDir: './public/docs',
|
||||||
writeFilesEnabled: shouldWrite
|
writeFilesEnabled: shouldWrite
|
||||||
});
|
});
|
||||||
return docShredder.buildShredMap(options).then(function(docs) {
|
return docShredder.buildShredMap(options).then(function(docs) {
|
||||||
|
@ -163,7 +161,7 @@ function buildShredMaps(shouldWrite) {
|
||||||
|
|
||||||
// returns a promise containing filePaths with any changed or added examples;
|
// returns a promise containing filePaths with any changed or added examples;
|
||||||
function getChangedExamples(sha) {
|
function getChangedExamples(sha) {
|
||||||
var examplesPath = path.join(_shredOptions.basePath, _shredOptions.examplesDir);
|
var examplesPath = _shredOptions.examplesDir;
|
||||||
var relativePath = path.relative(process.cwd(), examplesPath);
|
var relativePath = path.relative(process.cwd(), examplesPath);
|
||||||
return Git.Repository.open(".").then(function(repo) {
|
return Git.Repository.open(".").then(function(repo) {
|
||||||
if (sha.length) {
|
if (sha.length) {
|
||||||
|
@ -179,7 +177,7 @@ function getChangedExamples(sha) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getChangedExamplesAfter(date, relativePath) {
|
function getChangedExamplesAfter(date, relativePath) {
|
||||||
var examplesPath = path.join(_shredOptions.basePath, _shredOptions.examplesDir);
|
var examplesPath = _shredOptions.examplesDir;
|
||||||
var relativePath = path.relative(process.cwd(), examplesPath);
|
var relativePath = path.relative(process.cwd(), examplesPath);
|
||||||
return Git.Repository.open(".").then(function(repo) {
|
return Git.Repository.open(".").then(function(repo) {
|
||||||
return repo.getHeadCommit();
|
return repo.getHeadCommit();
|
||||||
|
@ -241,20 +239,21 @@ function shredWatch(shredOptions, postShredAction) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function jadeShredMapToJadeExampleMap(jadeShredMap, examplePaths) {
|
function jadeShredMapToJadeExampleMap(jadeShredMap, examplePaths) {
|
||||||
|
// remove dups in examplePaths
|
||||||
var exampleSet = {};
|
var exampleSet = {};
|
||||||
examplePaths.forEach(function(examplePath) {
|
examplePaths.forEach(function(examplePath) {
|
||||||
exampleSet[examplePath] = examplePath;
|
exampleSet[examplePath] = examplePath;
|
||||||
});
|
});
|
||||||
var basePath = jadeShredMap.basePath;
|
var basePath = path.resolve(".");
|
||||||
var jadeToFragMap = jadeShredMap.jadeToFragMap;
|
var jadeToFragMap = jadeShredMap.jadeToFragMap;
|
||||||
var jadeExampleMap = {};
|
var jadeExampleMap = {};
|
||||||
for (var jadePath in jadeToFragMap) {
|
for (var jadePath in jadeToFragMap) {
|
||||||
var fullJadePath = path.join(basePath, jadePath);
|
var relativeJadePath = path.relative(basePath, jadePath);
|
||||||
var vals = jadeToFragMap[jadePath];
|
var vals = jadeToFragMap[jadePath];
|
||||||
vals.forEach(function(val) {
|
vals.forEach(function(val) {
|
||||||
var examplePath = path.join(basePath, val.examplePath);
|
var relativeExamplePath = path.relative(basePath, val.examplePath);
|
||||||
if (exampleSet[examplePath] != null) {
|
if (exampleSet[relativeExamplePath] != null) {
|
||||||
addKeyValue(jadeExampleMap, fullJadePath, examplePath);
|
addKeyValue(jadeExampleMap, relativeJadePath, relativeExamplePath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -262,15 +261,14 @@ function jadeShredMapToJadeExampleMap(jadeShredMap, examplePaths) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function jadeShredMapToExampleJadeMap(jadeShredMap) {
|
function jadeShredMapToExampleJadeMap(jadeShredMap) {
|
||||||
var basePath = jadeShredMap.basePath;
|
|
||||||
var jadeToFragMap = jadeShredMap.jadeToFragMap;
|
var jadeToFragMap = jadeShredMap.jadeToFragMap;
|
||||||
var exampleJadeMap = {};
|
var exampleJadeMap = {};
|
||||||
for (var jadePath in jadeToFragMap) {
|
for (var jadePath in jadeToFragMap) {
|
||||||
var fullJadePath = path.join(basePath, jadePath);
|
|
||||||
var vals = jadeToFragMap[jadePath];
|
var vals = jadeToFragMap[jadePath];
|
||||||
vals.forEach(function(val) {
|
vals.forEach(function(val) {
|
||||||
var examplePath = path.join(basePath, val.examplePath);
|
var examplePath = val.examplePath;
|
||||||
addKeyValue(exampleJadeMap, examplePath, fullJadePath);
|
addKeyValue(exampleJadeMap, examplePath, jadePath);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return exampleJadeMap;
|
return exampleJadeMap;
|
||||||
|
@ -287,9 +285,10 @@ function addKeyValue(map, key, value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Synchronously execute a chain of commands.
|
||||||
// added options are: shouldLog
|
// cmds: an array of commands
|
||||||
// cb is function(err, stdout, stderr);
|
// options: { shouldLog: true, shouldThrow: true }
|
||||||
|
// cb: function(err, stdout, stderr)
|
||||||
function execCommands(cmds, options, cb) {
|
function execCommands(cmds, options, cb) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
options.shouldThrow = options.shouldThrow == null ? true : options.shouldThrow;
|
options.shouldThrow = options.shouldThrow == null ? true : options.shouldThrow;
|
||||||
|
|
|
@ -7,16 +7,15 @@ var delPromise = Q.denodeify(del);
|
||||||
var Dgeni = require('dgeni');
|
var Dgeni = require('dgeni');
|
||||||
var _ = require('lodash');
|
var _ = require('lodash');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var shred = function(shredOptions) {
|
var shred = function(shredOptions) {
|
||||||
try {
|
try {
|
||||||
var pkg = createShredPackage(shredOptions);
|
var pkg = createShredPackage(shredOptions);
|
||||||
var dgeni = new Dgeni([ pkg]);
|
var dgeni = new Dgeni([ pkg]);
|
||||||
return dgeni.generate();
|
return dgeni.generate();
|
||||||
} catch(x) {
|
} catch(err) {
|
||||||
console.log(x.stack);
|
console.log(err);
|
||||||
throw x;
|
console.log(err.stack);
|
||||||
|
throw err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,9 +42,10 @@ var buildShredMap = function(shredMapOptions) {
|
||||||
var pkg = createShredMapPackage(shredMapOptions);
|
var pkg = createShredMapPackage(shredMapOptions);
|
||||||
var dgeni = new Dgeni([ pkg]);
|
var dgeni = new Dgeni([ pkg]);
|
||||||
return dgeni.generate();
|
return dgeni.generate();
|
||||||
} catch(x) {
|
} catch(err) {
|
||||||
console.log(x.stack);
|
console.log(err);
|
||||||
throw x;
|
console.log(err.stack);
|
||||||
|
throw err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ function createShredPackage(shredOptions) {
|
||||||
})
|
})
|
||||||
.config(function(writeFilesProcessor) {
|
.config(function(writeFilesProcessor) {
|
||||||
// Specify where the writeFilesProcessor will write our generated doc files
|
// Specify where the writeFilesProcessor will write our generated doc files
|
||||||
writeFilesProcessor.outputFolder = options.fragmentsDir;
|
writeFilesProcessor.outputFolder = path.resolve(options.fragmentsDir);
|
||||||
});
|
});
|
||||||
return pkg;
|
return pkg;
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@ var createShredMapPackage = function(mapOptions) {
|
||||||
// default configs - may be overriden
|
// default configs - may be overriden
|
||||||
.config(function(readFilesProcessor) {
|
.config(function(readFilesProcessor) {
|
||||||
// Specify the base path used when resolving relative paths to source and output files
|
// Specify the base path used when resolving relative paths to source and output files
|
||||||
readFilesProcessor.basePath = '/'; // options.basePath;
|
readFilesProcessor.basePath = '/';
|
||||||
|
|
||||||
// Specify collections of source files that should contain the documentation to extract
|
// Specify collections of source files that should contain the documentation to extract
|
||||||
var extns = ['*.jade' ];
|
var extns = ['*.jade' ];
|
||||||
|
@ -145,7 +145,7 @@ var createShredMapPackage = function(mapOptions) {
|
||||||
unescapeCommentsProcessor.$enabled = false;
|
unescapeCommentsProcessor.$enabled = false;
|
||||||
} else {
|
} else {
|
||||||
// Specify where the writeFilesProcessor will write our generated doc files
|
// Specify where the writeFilesProcessor will write our generated doc files
|
||||||
writeFilesProcessor.outputFolder = options.outputDir;
|
writeFilesProcessor.outputFolder = path.resolve(options.outputDir);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.config(function(templateFinder) {
|
.config(function(templateFinder) {
|
||||||
|
@ -181,25 +181,33 @@ var createShredMapPackage = function(mapOptions) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function resolveShredOptions(shredOptions) {
|
function resolveShredOptions(shredOptions) {
|
||||||
return _.defaults({}, shredOptions, {
|
var so = _.defaults({}, shredOptions, {
|
||||||
// read files from any subdir under here
|
// read files from any subdir under here
|
||||||
examplesDir: path.resolve("./docs/_examples"),
|
examplesDir: "./docs/_examples",
|
||||||
// shredded files get copied here with same subdir structure.
|
// shredded files get copied here with same subdir structure.
|
||||||
fragmentsDir: path.resolve("./docs/_fragments"),
|
fragmentsDir: "./docs/_fragments",
|
||||||
// whether to include subdirectories when shredding.
|
// whether to include subdirectories when shredding.
|
||||||
includeSubdirs: true
|
includeSubdirs: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
so.examplesDir = path.resolve(so.examplesDir);
|
||||||
|
so.fragmentsDir = path.resolve(so.fragmentsDir);
|
||||||
|
return so;
|
||||||
}
|
}
|
||||||
|
|
||||||
function resolveMapOptions(mapOptions) {
|
function resolveMapOptions(mapOptions) {
|
||||||
return _.defaults({}, mapOptions, {
|
var so = _.defaults({}, mapOptions, {
|
||||||
// read files from any subdir under here
|
// read files from any subdir under here
|
||||||
jadeDir: path.resolve("./docs"),
|
jadeDir: "./docs",
|
||||||
fragmentsDir: path.resolve("./docs/_fragments"),
|
fragmentsDir: "./docs/_fragments",
|
||||||
examplesDir: path.resolve("./docs/_examples"),
|
examplesDir: "./docs/_examples",
|
||||||
// whether to include subdirectories when shredding.
|
// whether to include subdirectories when shredding.
|
||||||
includeSubdirs: true
|
includeSubdirs: true
|
||||||
});
|
});
|
||||||
|
so.jadeDir = path.resolve(so.jadeDir);
|
||||||
|
so.examplesDir = path.resolve(so.examplesDir);
|
||||||
|
so.fragmentsDir = path.resolve(so.fragmentsDir);
|
||||||
|
return so;
|
||||||
}
|
}
|
||||||
|
|
||||||
function initializePackage(pkg) {
|
function initializePackage(pkg) {
|
||||||
|
|
|
@ -24,7 +24,7 @@ module.exports = function fileShredder(log, regionExtractor) {
|
||||||
default:
|
default:
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
log.info("fileShredder processing: " + fileInfo.projectRelativePath);
|
log.info("fileShredder processing: " + fileInfo.relativePath);
|
||||||
if (commentMarkers) {
|
if (commentMarkers) {
|
||||||
return regionExtractor(fileInfo.content, commentMarkers);
|
return regionExtractor(fileInfo.content, commentMarkers);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -19,28 +19,29 @@ module.exports = function shredMapProcessor(log) {
|
||||||
|
|
||||||
docs.forEach(function(doc) {
|
docs.forEach(function(doc) {
|
||||||
var jadePath = path.join(options.jadeDir, doc.fileInfo.relativePath);
|
var jadePath = path.join(options.jadeDir, doc.fileInfo.relativePath);
|
||||||
var fragInfos = doc.fragPaths.map(function(fragPath) {
|
var fragInfoSet = {};
|
||||||
var relativeFragPath = path.join(options.fragmentsDir, fragPath) + '.md';
|
doc.fragPaths.forEach(function(fragPath) {
|
||||||
var fullPath = path.join(options.basePath, relativeFragPath);
|
var fullFragPath = path.join(options.fragmentsDir, fragPath) + '.md';
|
||||||
|
|
||||||
var examplePath = getExampleName(fragPath);
|
var examplePath = getExampleName(fragPath);
|
||||||
var relativeExamplePath = path.join(options.examplesDir, examplePath);
|
var fullExamplePath = path.join(options.examplesDir, examplePath);
|
||||||
var fragInfo = { fragPath: relativeFragPath, examplePath: relativeExamplePath, exists: fs.existsSync(fullPath) };
|
var fragInfo = { fragPath: fullFragPath, examplePath: fullExamplePath, exists: fs.existsSync(fullFragPath) };
|
||||||
|
fragInfoSet[fragPath] = fragInfo;
|
||||||
if (fragInfo.exists) {
|
if (fragInfo.exists) {
|
||||||
var jadePaths = fragToJadeMap[fragInfo];
|
var jadePathsSet = fragToJadeMap[fragPath];
|
||||||
if (!jadePaths) {
|
if (!jadePathsSet) {
|
||||||
jadePaths = [];
|
jadePathsSet = {};
|
||||||
fragToJadeMap[fragPath] = jadePaths;
|
fragToJadeMap[fragPath] = jadePathsSet;
|
||||||
}
|
}
|
||||||
jadePaths.push(jadePath);
|
jadePathsSet[jadePath] = jadePath;
|
||||||
}
|
}
|
||||||
return fragInfo;
|
|
||||||
});
|
});
|
||||||
jadeToFragMap[jadePath] = fragInfos;
|
jadeToFragMap[jadePath] = _.values(fragInfoSet);
|
||||||
});
|
});
|
||||||
var basePath = path.relative(process.cwd(), this.options.basePath);
|
for (var key in fragToJadeMap) {
|
||||||
|
fragToJadeMap[key] = _.keys(fragToJadeMap[key]);
|
||||||
|
}
|
||||||
|
|
||||||
var shredMap = {
|
var shredMap = {
|
||||||
basePath: basePath,
|
|
||||||
jadeToFragMap: jadeToFragMap
|
jadeToFragMap: jadeToFragMap
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -53,12 +54,10 @@ module.exports = function shredMapProcessor(log) {
|
||||||
outputPath: 'xref-jade.json'
|
outputPath: 'xref-jade.json'
|
||||||
}, {
|
}, {
|
||||||
docType: 'xref-jade.html',
|
docType: 'xref-jade.html',
|
||||||
basePath: basePath,
|
|
||||||
jadeToFragMap: jadeToFragMap,
|
jadeToFragMap: jadeToFragMap,
|
||||||
outputPath: 'xref-jade-to-frag.html'
|
outputPath: 'xref-jade-to-frag.html'
|
||||||
}, {
|
}, {
|
||||||
docType: 'xref-frag.html',
|
docType: 'xref-frag.html',
|
||||||
basePath: basePath,
|
|
||||||
fragToJadeMap: fragToJadeMap,
|
fragToJadeMap: fragToJadeMap,
|
||||||
outputPath: 'xref-frag-to-jade.html'
|
outputPath: 'xref-frag-to-jade.html'
|
||||||
}];
|
}];
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<h1> Frament path to jade path cross reference report
|
<h1> Frament path to jade path cross reference report
|
||||||
|
|
||||||
<p>Base path: {{ doc.basePath }}</p>
|
|
||||||
<ol>
|
<ol>
|
||||||
{% for fragPath, jadePaths in doc.fragToJadeMap %}
|
{% for fragPath, jadePaths in doc.fragToJadeMap %}
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<h1> Jade path to fragment path cross reference report
|
<h1> Jade path to fragment path cross reference report
|
||||||
|
|
||||||
<p>Base path: {{ doc.basePath }}</p>
|
|
||||||
<ol>
|
<ol>
|
||||||
{% for jadePath, fragInfos in doc.jadeToFragMap %}
|
{% for jadePath, fragInfos in doc.jadeToFragMap %}
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
<script src="app.js"></script>
|
<script src="app.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<my-app></my-app>
|
<my-app>foo2</my-app>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<script src="app.js"></script>
|
<script src="app.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<my-app></my-app>
|
<my-app>foo2</my-app>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,28 @@
|
||||||
<h1> Frament path to jade path cross reference report
|
<h1> Frament path to jade path cross reference report
|
||||||
|
|
||||||
<p>Base path: public/docs</p>
|
|
||||||
<ol>
|
<ol>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
Fragment file: <strong>styleguide/js/index.html</strong>
|
||||||
|
<p>Jade files</p>
|
||||||
|
<ul>
|
||||||
|
<li>C:/GitHub/angular.io.ideablade/public/docs/_includes/styleguide/_code-examples.jade</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Fragment file: <strong>styleguide/js/app-class-w-annotations.js</strong>
|
||||||
|
<p>Jade files</p>
|
||||||
|
<ul>
|
||||||
|
<li>C:/GitHub/angular.io.ideablade/public/docs/_includes/styleguide/_code-examples.jade</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/js/index.html</strong>
|
Fragment file: <strong>gettingstarted/js/index.html</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>js/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
@ -15,7 +30,7 @@
|
||||||
Fragment file: <strong>gettingstarted/js/app-class-w-annotations.js</strong>
|
Fragment file: <strong>gettingstarted/js/app-class-w-annotations.js</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>js/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
@ -23,7 +38,7 @@
|
||||||
Fragment file: <strong>gettingstarted/js/app-component.js</strong>
|
Fragment file: <strong>gettingstarted/js/app-component.js</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>js/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
@ -31,7 +46,7 @@
|
||||||
Fragment file: <strong>gettingstarted/js/app-view.js</strong>
|
Fragment file: <strong>gettingstarted/js/app-view.js</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>js/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
@ -39,55 +54,55 @@
|
||||||
Fragment file: <strong>gettingstarted/js/app-class.js</strong>
|
Fragment file: <strong>gettingstarted/js/app-class.js</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>js/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/ts/index.html</strong>
|
Fragment file: <strong>gettingstarted/ts/src/index.html</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ts/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/ts/app-class.ts</strong>
|
Fragment file: <strong>gettingstarted/ts/src/app-class.ts</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ts/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/ts/app-import.ts</strong>
|
Fragment file: <strong>gettingstarted/ts/src/app-import.ts</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ts/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/ts/app-class-w-annotations.ts</strong>
|
Fragment file: <strong>gettingstarted/ts/src/app-class-w-annotations.ts</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ts/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/ts/app-bootstrap.ts</strong>
|
Fragment file: <strong>gettingstarted/ts/src/app-bootstrap.ts</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ts/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fragment file: <strong>gettingstarted/ts/app.ts</strong>
|
Fragment file: <strong>gettingstarted/ts/src/app.ts</strong>
|
||||||
<p>Jade files</p>
|
<p>Jade files</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ts/latest/guide/gettingStarted.jade</li>
|
<li>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,19 +1,39 @@
|
||||||
<h1> Jade path to fragment path cross reference report
|
<h1> Jade path to fragment path cross reference report
|
||||||
|
|
||||||
<p>Base path: public/docs</p>
|
|
||||||
<ol>
|
<ol>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
Jade file: <strong>js/latest/guide/gettingStarted.jade</strong>
|
Jade file: <strong>C:/GitHub/angular.io.ideablade/public/docs/_includes/styleguide/_code-examples.jade</strong>
|
||||||
<p>Fragment files</p>
|
<p>Fragment files</p>
|
||||||
<ul><li>_fragments/gettingstarted/js/index.html.md</li><li>_fragments/gettingstarted/js/app-class-w-annotations.js.md</li><li>_fragments/gettingstarted/js/app-component.js.md</li><li>_fragments/gettingstarted/js/app-view.js.md</li><li>_fragments/gettingstarted/js/app-class.js.md</li>
|
<ul><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/styleguide/js/index.html.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/styleguide/js/app-class-w-annotations.js.md</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Jade file: <strong>ts/latest/guide/gettingStarted.jade</strong>
|
Jade file: <strong>C:/GitHub/angular.io.ideablade/public/docs/js/latest/api/core/APP_COMPONENT-const.jade</strong>
|
||||||
<p>Fragment files</p>
|
<p>Fragment files</p>
|
||||||
<ul><li>_fragments/gettingstarted/ts/index.html.md</li><li>_fragments/gettingstarted/ts/app-class.ts.md</li><li>_fragments/gettingstarted/ts/app-import.ts.md</li><li>_fragments/gettingstarted/ts/app-class-w-annotations.ts.md</li><li>_fragments/gettingstarted/ts/app-bootstrap.ts.md</li><li>_fragments/gettingstarted/ts/app.ts.md</li>
|
<ul><li> *** NOT FOUND*** : C:/GitHub/angular.io.ideablade/public/docs/_fragments/_api/a.b-foo.c.md</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Jade file: <strong>C:/GitHub/angular.io.ideablade/public/docs/js/latest/api/core/ComponentMetadata-class.jade</strong>
|
||||||
|
<p>Fragment files</p>
|
||||||
|
<ul><li> *** NOT FOUND*** : C:/GitHub/angular.io.ideablade/public/docs/_fragments/_api/a.b-foo.c.md</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Jade file: <strong>C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade</strong>
|
||||||
|
<p>Fragment files</p>
|
||||||
|
<ul><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/index.html.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-class-w-annotations.js.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-component.js.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-view.js.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-class.js.md</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Jade file: <strong>C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade</strong>
|
||||||
|
<p>Fragment files</p>
|
||||||
|
<ul><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/index.html.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-class.ts.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-import.ts.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-class-w-annotations.ts.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-bootstrap.ts.md</li><li>C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app.ts.md</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,62 +1,87 @@
|
||||||
{
|
{
|
||||||
"basePath": "public/docs",
|
|
||||||
"jadeToFragMap": {
|
"jadeToFragMap": {
|
||||||
"js/latest/guide/gettingStarted.jade": [
|
"C:/GitHub/angular.io.ideablade/public/docs/_includes/styleguide/_code-examples.jade": [
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/js/index.html.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/styleguide/js/index.html.md",
|
||||||
"examplePath": "_examples/gettingstarted/js/index.html",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/styleguide/js/index.html",
|
||||||
"exists": true
|
"exists": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/js/app-class-w-annotations.js.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/styleguide/js/app-class-w-annotations.js.md",
|
||||||
"examplePath": "_examples/gettingstarted/js/app-class-w.js",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/styleguide/js/app-class-w.js",
|
||||||
"exists": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fragPath": "_fragments/gettingstarted/js/app-component.js.md",
|
|
||||||
"examplePath": "_examples/gettingstarted/js/app.js",
|
|
||||||
"exists": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fragPath": "_fragments/gettingstarted/js/app-view.js.md",
|
|
||||||
"examplePath": "_examples/gettingstarted/js/app.js",
|
|
||||||
"exists": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fragPath": "_fragments/gettingstarted/js/app-class.js.md",
|
|
||||||
"examplePath": "_examples/gettingstarted/js/app.js",
|
|
||||||
"exists": true
|
"exists": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ts/latest/guide/gettingStarted.jade": [
|
"C:/GitHub/angular.io.ideablade/public/docs/js/latest/api/core/APP_COMPONENT-const.jade": [
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/ts/index.html.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/_api/a.b-foo.c.md",
|
||||||
"examplePath": "_examples/gettingstarted/ts/index.html",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/_api/a.b-foo.c",
|
||||||
|
"exists": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"C:/GitHub/angular.io.ideablade/public/docs/js/latest/api/core/ComponentMetadata-class.jade": [
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/_api/a.b-foo.c.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/_api/a.b-foo.c",
|
||||||
|
"exists": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"C:/GitHub/angular.io.ideablade/public/docs/js/latest/guide/gettingStarted.jade": [
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/index.html.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/js/index.html",
|
||||||
"exists": true
|
"exists": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/ts/app-class.ts.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-class-w-annotations.js.md",
|
||||||
"examplePath": "_examples/gettingstarted/ts/app.ts",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/js/app-class-w.js",
|
||||||
"exists": true
|
"exists": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/ts/app-import.ts.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-component.js.md",
|
||||||
"examplePath": "_examples/gettingstarted/ts/app.ts",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/js/app.js",
|
||||||
"exists": true
|
"exists": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/ts/app-class-w-annotations.ts.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-view.js.md",
|
||||||
"examplePath": "_examples/gettingstarted/ts/app-class-w.ts",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/js/app.js",
|
||||||
"exists": true
|
"exists": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/ts/app-bootstrap.ts.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/js/app-class.js.md",
|
||||||
"examplePath": "_examples/gettingstarted/ts/app.ts",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/js/app.js",
|
||||||
|
"exists": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"C:/GitHub/angular.io.ideablade/public/docs/ts/latest/guide/gettingStarted.jade": [
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/index.html.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/ts/src/index.html",
|
||||||
"exists": true
|
"exists": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fragPath": "_fragments/gettingstarted/ts/app.ts.md",
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-class.ts.md",
|
||||||
"examplePath": "_examples/gettingstarted/ts/app.ts",
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/ts/src/app.ts",
|
||||||
|
"exists": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-import.ts.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/ts/src/app.ts",
|
||||||
|
"exists": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-class-w-annotations.ts.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/ts/src/app-class-w.ts",
|
||||||
|
"exists": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app-bootstrap.ts.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/ts/src/app.ts",
|
||||||
|
"exists": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragPath": "C:/GitHub/angular.io.ideablade/public/docs/_fragments/gettingstarted/ts/src/app.ts.md",
|
||||||
|
"examplePath": "C:/GitHub/angular.io.ideablade/public/docs/_examples/gettingstarted/ts/src/app.ts",
|
||||||
"exists": true
|
"exists": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue