Skip to content

Commit

Permalink
perf(docs): fix broken API page)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Feb 19, 2024
1 parent 1396619 commit 6114f82
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 23 deletions.
30 changes: 14 additions & 16 deletions demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,20 @@

### Basic

<div class="twoColDemoRow">
<div>
<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basic.html) -->
<!-- The below content is automatically added from ./../../apiExamples/basic.html -->
<auro-table
columnHeaders='["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]'
componentData='[
{"": "Dance class", "Monday": "5:00pm","Wednesday": "5:00pm" },
{"": "Night classes", "Thursday": "7:00pm","Friday": "7:00pm" },
{"": "Team meeting", "Wednesday": "10:00am" },
{"": "Morning workout", "Monday": "8:00am", "Tuesday": "8:00am", "Wednesday": "8:00am", "Thursday": "8:00am", "Friday": "8:00am" }
]'>My morning schedule
</auro-table>
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basic.html) -->
<!-- The below content is automatically added from ./../../apiExamples/basic.html -->
<auro-table
columnHeaders='["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]'
componentData='[
{"": "Dance class", "Monday": "5:00pm","Wednesday": "5:00pm" },
{"": "Night classes", "Thursday": "7:00pm","Friday": "7:00pm" },
{"": "Team meeting", "Wednesday": "10:00am" },
{"": "Morning workout", "Monday": "8:00am", "Tuesday": "8:00am", "Wednesday": "8:00am", "Thursday": "8:00am", "Friday": "8:00am" }
]'>My morning schedule
</auro-table>
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<auro-accordion alignRight>
<span slot="trigger">See code</span>
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/basic.html) -->
Expand Down
11 changes: 4 additions & 7 deletions docs/partials/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@

### Basic

<div class="twoColDemoRow">
<div>
<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basic.html) -->
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basic.html) -->
<!-- AURO-GENERATED-CONTENT:END -->
</div>
<auro-accordion alignRight>
<span slot="trigger">See code</span>

Expand All @@ -21,7 +19,6 @@

### Attribute Examples


#### columnHeaders

The `columnHeaders` attribute is used to provide the column header content for the the table.
Expand Down

0 comments on commit 6114f82

Please sign in to comment.