docs({quickstart,di}): fix code excerpts and titles (#2118)
This commit is contained in:
parent
160b9d2812
commit
68c15c12e5
|
@ -101,7 +101,7 @@ block dart-map-alternative
|
||||||
As an alternative to using a configuration `Map`, we can define
|
As an alternative to using a configuration `Map`, we can define
|
||||||
a custom configuration class:
|
a custom configuration class:
|
||||||
|
|
||||||
+makeExample('lib/app_config.dart (alternative config)','config-alt')
|
+makeExcerpt('lib/app_config.dart (alternative config)','config-alt')
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
Defining a configuration class has a few benefits. One key benefit
|
Defining a configuration class has a few benefits. One key benefit
|
||||||
|
|
|
@ -194,10 +194,10 @@ block project-files
|
||||||
quickstart/ts/app/main.ts,
|
quickstart/ts/app/main.ts,
|
||||||
quickstart/ts/index.html,
|
quickstart/ts/index.html,
|
||||||
quickstart/dart/pubspec.yaml,
|
quickstart/dart/pubspec.yaml,
|
||||||
quickstart/ts/styles.1.css`
|
quickstart/ts/styles.css`,
|
||||||
,null,
|
',,,,quickstart',
|
||||||
`app/app.component.ts,
|
`app/app.component.ts,
|
||||||
app/main.ts,
|
app/main.ts,
|
||||||
index.html,
|
index.html,
|
||||||
pubspec.yaml,
|
pubspec.yaml,
|
||||||
styles.css`)
|
styles.css (excerpt)`)
|
||||||
|
|
|
@ -600,10 +600,10 @@ block project-files
|
||||||
quickstart/ts/package.1.json,
|
quickstart/ts/package.1.json,
|
||||||
quickstart/ts/tsconfig.1.json,
|
quickstart/ts/tsconfig.1.json,
|
||||||
quickstart/ts/typings.1.json,
|
quickstart/ts/typings.1.json,
|
||||||
quickstart/ts/styles.1.css,
|
quickstart/ts/styles.css,
|
||||||
quickstart/ts/systemjs.config.1.js`
|
quickstart/ts/systemjs.config.1.js`
|
||||||
,
|
,
|
||||||
',,,,,,,,',
|
',,,,,,, quickstart,',
|
||||||
`app/app.component.ts,
|
`app/app.component.ts,
|
||||||
app/app.module.ts,
|
app/app.module.ts,
|
||||||
app/main.ts,
|
app/main.ts,
|
||||||
|
@ -611,7 +611,7 @@ block project-files
|
||||||
package.json,
|
package.json,
|
||||||
tsconfig.json,
|
tsconfig.json,
|
||||||
typings.json,
|
typings.json,
|
||||||
styles.css,
|
styles.css (excerpt),
|
||||||
systemjs.config.js`)
|
systemjs.config.js`)
|
||||||
|
|
||||||
.l-main-section
|
.l-main-section
|
||||||
|
|
|
@ -600,10 +600,10 @@ block project-files
|
||||||
quickstart/ts/package.1.json,
|
quickstart/ts/package.1.json,
|
||||||
quickstart/ts/tsconfig.1.json,
|
quickstart/ts/tsconfig.1.json,
|
||||||
quickstart/ts/typings.1.json,
|
quickstart/ts/typings.1.json,
|
||||||
quickstart/ts/styles.1.css,
|
quickstart/ts/styles.css,
|
||||||
quickstart/ts/systemjs.config.1.js`
|
quickstart/ts/systemjs.config.1.js`
|
||||||
,
|
,
|
||||||
',,,,,,,,',
|
',,,,,,, quickstart,',
|
||||||
`app/app.component.ts,
|
`app/app.component.ts,
|
||||||
app/app.module.ts,
|
app/app.module.ts,
|
||||||
app/main.ts,
|
app/main.ts,
|
||||||
|
@ -611,7 +611,7 @@ block project-files
|
||||||
package.json,
|
package.json,
|
||||||
tsconfig.json,
|
tsconfig.json,
|
||||||
typings.json,
|
typings.json,
|
||||||
styles.css,
|
styles.css (excerpt),
|
||||||
systemjs.config.js`)
|
systemjs.config.js`)
|
||||||
|
|
||||||
.l-main-section
|
.l-main-section
|
||||||
|
|
Loading…
Reference in New Issue