docs(aio): rename cb- files and a few others

This commit is contained in:
Ward Bell
2017-04-21 17:21:45 -07:00
committed by Pete Bacon Darwin
parent c3fa8803d3
commit 93516ea8a1
543 changed files with 467 additions and 510 deletions

View File

@ -120,11 +120,11 @@ describe('LiveExampleComponent', () => {
it('should have expected plunker & download hrefs when has example directory (name)', async(() => {
testPath = '/guide/somewhere';
setHostTemplate('<live-example name="toh-1"></live-example>');
setHostTemplate('<live-example name="toh-pt1"></live-example>');
testComponent(() => {
const hrefs = getHrefs();
expect(hrefs[0]).toContain('/toh-1/eplnkr.html');
expect(hrefs[1]).toContain('/toh-1/toh-1.zip');
expect(hrefs[0]).toContain('/toh-pt1/eplnkr.html');
expect(hrefs[1]).toContain('/toh-pt1/toh-pt1.zip');
});
}));

View File

@ -30,13 +30,13 @@ const zipBase = 'content/zips/';
* <p>Run <live-example>Try the live example</live-example></p>.
* // ~/resources/live-examples/{page}/plnkr.html
*
* <p>Run <live-example name="toh-1">this example</live-example></p>.
* // ~/resources/live-examples/toh-1/plnkr.html
* <p>Run <live-example name="toh-pt1">this example</live-example></p>.
* // ~/resources/live-examples/toh-pt1/plnkr.html
*
* // Link to the default plunker in the toh-1 sample
* // Link to the default plunker in the toh-pt1 sample
* // The title overrides default ("live example") with "Tour of Heroes - Part 1"
* <p>Run <live-example name="toh-1" title="Tour of Heroes - Part 1"></live-example></p>.
* // ~/resources/live-examples/toh-1/plnkr.html
* <p>Run <live-example name="toh-pt1" title="Tour of Heroes - Part 1"></live-example></p>.
* // ~/resources/live-examples/toh-pt1/plnkr.html
*
* <p>Run <live-example plnkr="minimal"></live-example></p>.
* // ~/resources/live-examples/{page}/minimal.plnkr.html
@ -56,8 +56,8 @@ const zipBase = 'content/zips/';
* // ~/resources/live-examples/{page}/plnkr.html
*
* // Displays within the document page as an embedded style plunker editor
* <live-example name="toh-1" embedded plnkr="minimal" img="toh>Tour of Heroes - Part 1</live-example>
* // ~/resources/live-examples/toh-1/minimal.eplnkr.html
* <live-example name="toh-pt1" embedded plnkr="minimal" img="toh>Tour of Heroes - Part 1</live-example>
* // ~/resources/live-examples/toh-pt1/minimal.eplnkr.html
*/
@Component({
selector: 'live-example',