Skip to content

Commit

Permalink
fix: path to doc-content
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Aug 14, 2019
1 parent f82308d commit 126db05
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions packages/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ yarn run build:docs


## Development Server
Start dev server documentation (aka ng serve)
Start ng server documentation

```bash
yarn run docs:start
```

open http://localhost:4200/
Open
```
http://localhost:4200/
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
API Component

<doc-viewer
documentUrl="/docs-content/api-docs/{{componentViewer.componentDocItem.packageName}}-{{componentViewer.componentDocItem.id}}.html"
documentUrl="docs-content/api-docs/{{componentViewer.componentDocItem.packageName}}-{{componentViewer.componentDocItem.id}}.html"
class="docs-component-view-text-content docs-component-api">
</doc-viewer>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{componentViewer.componentDocItem.id}}
</span>
<doc-viewer
documentUrl="/docs-content/overviews/{{componentViewer.componentDocItem.packageName}}/{{componentViewer.componentDocItem.id}}.html"
documentUrl="docs-content/overviews/{{componentViewer.componentDocItem.packageName}}/{{componentViewer.componentDocItem.id}}.html"
class="docs-component-view-text-content docs-component-overview"
(contentRendered)="scrollToSelectedContentSection()">
</doc-viewer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ExampleViewer {
}

private resolveHighlightedExampleFile(fileName: string) {
return `/docs-content/examples-highlighted/${fileName}`;
return `docs-content/examples-highlighted/${fileName}`;
}

private generateExampleTabs() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const COPYRIGHT =
* structure is defined in the repository, but we include the docs-content as assets in
* in the CLI configuration.
*/
const DOCS_CONTENT_PATH = '/docs-content/examples-source/';
const DOCS_CONTENT_PATH = 'docs-content/examples-source/';

const TEMPLATE_PATH = '/assets/stackblitz/';
const TEMPLATE_FILES = [
Expand Down

0 comments on commit 126db05

Please sign in to comment.