Sync + Added dashboard for stats API

This commit is contained in:
Frikky
2025-10-20 11:37:26 +02:00
parent 9a20dcd426
commit 1bff92172b
38 changed files with 3985 additions and 1432 deletions
+6 -1
View File
@@ -400,6 +400,10 @@ const Docs = (defaultprops) => {
if (propkey === "app_creation") {
navigate('/docs/apps#app-creation-introduction')
}
if (propkey === "api") {
navigate('/docs/API')
}
}
@@ -690,7 +694,8 @@ const Docs = (defaultprops) => {
const Heading = (props) => {
const [hover, setHover] = useState(false);
var id = props.children[0].toLowerCase().toString()
var id = (props.children?.[0] ?? props.children ?? '').toString().toLowerCase();
if (props.level <= 3) {
id = props.children[0].toLowerCase().toString().replaceAll(" ", "-");
}