Skip to content

Commit

Permalink
feat: updated docs and GA setup (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
udayvunnam authored Dec 12, 2021
1 parent 27830c5 commit 36777f0
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
10 changes: 5 additions & 5 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@

- Guide

- [Skip unwanted label](skip-breadcrumb.md)
- [Custom breadcrumb styles](custom-breadcrumb-styles.md)
- [Disable onclick](disable-breadcrumb-navigation.md)
- [Skip breadcrumb](skip-breadcrumb.md)
- [Custom styles](custom-styles.md)
- [Disable breadcrumb navigation](disable-breadcrumb-navigation.md)
- [Intercept breadcrumb onclick](intercept-breadcrumb-onclick.md)

- Customization

- [Custom template](custom-template.md)
- [Change seperator](change-separator.md)
- [Add icons with label](add-icons-with-label.md)
- [Add icon with label](add-icon-with-label.md)
- [Use filter to change text case](use-filter.md)
- [Internationalization](internationalization.md)
- [custom seperator](custom-separator.md)

- [API](api.md)
- [Where to define breadcrumbs](where-to-define-breadcrumbs.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Add icons with label
# Add icon with label

Define 'info' associated with breadcrumb in route config. 'info' has type <any>. you can pass string or object as you need.

Expand Down
2 changes: 1 addition & 1 deletion docs/custom-breadcrumb-styles.md → docs/custom-styles.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Custom breadcrumb styles
# Custom styles

- `<xng-breadcrumb>` defines the least possible specificity for selectors, to make it easy to override them.
- override styles by changing the CSS for corresponding classes. (Keep this styles in app root styles file if you don't want to use ::ng-deep)
Expand Down
5 changes: 0 additions & 5 deletions docs/custom-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

You can customize breadcrumb template using the directive `*xngBreadcrumbItem`. This allows you to alter breadcrumb in many ways.

- [Change seperator](change-separator.md)
- [Add icons with label](add-icons-with-label.md)
- [Use filter to change text case](use-filter.md)
- [Internationalization](internationalization.md)

```html
<xng-breadcrumb>
<ng-container *xngBreadcrumbItem="let breadcrumb">
Expand Down
12 changes: 12 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
/>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-X925WFXWF5"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-X925WFXWF5');
</script>
</head>
<body>
<div id="app"></div>
Expand Down

0 comments on commit 36777f0

Please sign in to comment.