Skip to content

Commit 7bac416

Browse files
committed
Revert last commit
1 parent bbcde6d commit 7bac416

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

web/src/components/CategoryList.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ function displayCategory(category: string) {
127127
.sort(([a], [b]) => a.localeCompare(b))
128128
.map(([category, items]) => (
129129
<section id={slugify(category)}>
130-
<h3 style="font-size: var(--sl-text-h4);">{displayTitle(category)}
130+
<h4>{displayTitle(category)}
131131
<a href={`#${slugify(category)}`}><Icon size="1.5rem" name="external" class="mtainfoicon"/></a>
132-
</h3>
132+
</h4>
133133
<ul>
134134
{items
135135
.slice()

web/src/pages/reference/Scripting_Functions.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
---
22
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
3-
import AutoStarlightPage from '@src/components/AutoStarlightPage.astro';
4-
53
import { getSeeAlsoLinksFromList } from '@src/utils/general';
64
import SeeAlsoSection from '@src/components/SeeAlsoSection.astro';
75
import { getFunctionsByCategory } from '@src/utils/functions';
86
import CategoryList from '@src/components/CategoryList.astro';
97
108
const functionsByCategory = getFunctionsByCategory();
119
---
12-
<AutoStarlightPage frontmatter={{
10+
<StarlightPage frontmatter={{
1311
template: 'doc',
1412
title: 'All Functions',
13+
tableOfContents: false,
1514
}}>
1615
<p>This page lists all <span class="side-client"><strong>client-side</strong></span>, <span class="side-server"><strong>server-side</strong></span> and <span class="side-shared"><strong>shared</strong></span> functions available in the <a href="/reference/Lua_API">Lua API</a> organized by category.</p>
1716

@@ -25,4 +24,4 @@ const functionsByCategory = getFunctionsByCategory();
2524
'reference:Client_Scripting_Events',
2625
'reference:Server_Scripting_Events',
2726
])} currentId='' />
28-
</AutoStarlightPage>
27+
</StarlightPage>

0 commit comments

Comments
 (0)