chore: typo

pull/190/head
Anthony Fu 4 years ago
parent 5fc2ee09cd
commit eefbd76b7a

@ -15,7 +15,7 @@ export namespace DefaultTheme {
* Customize the header label. Defaults to GitHub/Gitlab/Bitbucket * Customize the header label. Defaults to GitHub/Gitlab/Bitbucket
* depending on the provided repo. * depending on the provided repo.
* *
* @exampe `"Contribute!"` * @example `"Contribute!"`
*/ */
repoLabel?: string repoLabel?: string

@ -32,7 +32,7 @@ export function getSideBarConfig(
return sidebar return sidebar
} }
// get the very first segment of the path to compare with nulti sidebar keys // get the very first segment of the path to compare with multiple sidebar keys
// and make sure it's surrounded by slash // and make sure it's surrounded by slash
path = removeExtention(path) path = removeExtention(path)
path = ensureStartingSlash(path).split('/')[1] || '/' path = ensureStartingSlash(path).split('/')[1] || '/'

Loading…
Cancel
Save