Skip to content

Commit

Permalink
[docs–infra] Simplify Algolia crawler config
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 28, 2024
1 parent 086f2fa commit 87f8c19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/modules/components/ApiPage/table/ClassesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ export default function ClassesTable(props: ClassesTableProps) {

return (
<tr key={className} id={getHash({ componentName, className: key })}>
<td>
<td className="algolia-lvl3">
<span className="class-name">.{className}</span>
</td>
{displayClassKeys && (
<td>{!isGlobal && <span className="class-key">{key}</span>}</td>
)}
<td>
<td className="algolia-content">
<span
dangerouslySetInnerHTML={{
__html: description || '',
Expand Down
4 changes: 2 additions & 2 deletions docs/src/modules/components/ApiPage/table/PropertiesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default function PropertiesTable(props: PropertiesTableProps) {
key={propName}
id={getHash({ componentName, propName, hooksParameters, hooksReturnValue })}
>
<td className="MuiApi-table-item-title">
<td className="MuiApi-table-item-title algolia-lvl3">
{propName}
{isRequired ? '*' : ''}
{isOptional ? '?' : ''}
Expand Down Expand Up @@ -200,7 +200,7 @@ export default function PropertiesTable(props: PropertiesTableProps) {
)}
</td>
)}
<td className="MuiPropTable-description-column">
<td className="MuiPropTable-description-column algolia-content">
{description && <PropDescription description={description} />}
{seeMoreDescription && (
<p
Expand Down

0 comments on commit 87f8c19

Please sign in to comment.