Skip to content

Commit

Permalink
feat(app): Add specific id in each html section
Browse files Browse the repository at this point in the history
fix #1241
  • Loading branch information
vogloblinsky committed Mar 25, 2022
1 parent 03602fa commit 03ac1ad
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/templates/partials/block-accessors.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-accessors">
<h3 id="accessors">
{{t "accessors" }}
</h3>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-constructor.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-constructor">
<h3 id="constructor">{{t "constructor" }}</h3>
<table class="table table-sm table-bordered">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-enum.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-enums">
{{#each enums}}
<table class="table table-sm table-bordered">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-host-listener.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-host-listener">
{{#ifString title}}<h3>{{title}}</h3>{{else}}
<h3 id="methods">
{{t "methods" }}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-index.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-indexables">
<h3 id="inputs">{{#if title}}{{title}}{{else}}{{t "indexable" }}{{/if}}</h3>
{{#each indexables}}
<table class="table table-sm table-bordered">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-input.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-inputs">
<h3 id="inputs">{{t "inputs" }}</h3>
{{#each element.inputsClass}}
<table class="table table-sm table-bordered">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-method.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-methods">
{{#ifString title}}<h3>{{title}}</h3>{{else}}
<h3 id="methods">
{{t "methods" }}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-output.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-outputs">
<h3 id="outputs">{{t "outputs" }}</h3>
{{#each element.outputsClass}}
<table class="table table-sm table-bordered">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-property.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-properties">
{{#ifString title}}<h3>{{title}}</h3>{{else}}
<h3 id="inputs">
{{t "properties" }}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/block-typealias.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-typealias">
{{#each typealias}}
<table class="table table-sm table-bordered">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/component-detail.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
component.providers component.queries component.selector component.styleUrls component.styles
component.template component.templateUrl component.viewProviders component.tag component.styleUrl
component.shadow component.scoped component.assetsDir component.assetsDirs}}
<section>
<section data-compodoc="block-metadata">
<h3>{{t "metadata" }}</h3>
<table class="table table-sm table-hover metadata">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/directive.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{{/if}}

{{#orLength directive.selector directive.providers}}
<section>
<section data-compodoc="block-metadata">
<h3>{{t "metadata" }}</h3>
<table class="table table-sm table-hover metadata">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/index-misc.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-index">
<h3 id="index">{{t "index" }}</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/index.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section data-compodoc="block-index">
<h3 id="index">{{t "index" }}</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
Expand Down
4 changes: 2 additions & 2 deletions src/templates/partials/interface.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{{/if}}

{{#orLength interface.properties interface.methods}}
<section>
<section data-compodoc="block-index">
<h3 id="index">{{t "index" }}</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
Expand Down Expand Up @@ -133,7 +133,7 @@
{{/if}}

{{#if interface.properties}}
<section>
<section data-compodoc="block-properties">
<h3 id="inputs">{{t "properties" }}</h3>
{{#each interface.properties}}
<table class="table table-sm table-bordered">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/pipe.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</div>
{{/if}}

<section>
<section data-compodoc="block-metadata">
<h3>{{t "metadata" }}</h3>
<table class="table table-sm table-hover metadata">
<tbody>
Expand Down

0 comments on commit 03ac1ad

Please sign in to comment.