1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 07:46:28 +00:00
starship/docs/.vuepress/config.js
Kevin Song 8782e300fc
feat: Allow bash users to specify a precmd function (#166)
Allows bash users to run a function before the shell is drawn, by defining a function and setting its name equal to starship_precmd_user_func.
2019-08-17 16:53:59 -07:00

30 lines
810 B
JavaScript

module.exports = {
title: 'Starship',
description: 'The cross-shell prompt for astronauts ☄🌌️',
head: [
['link', { rel: 'icon', href: '/icon.png' }]
],
themeConfig: {
logo: '/icon.png',
sidebar: [
'/',
['/guide/', 'Guide'],
['/config/', 'Configuration'],
['/advanced-config/', 'Advanced Configuration']
],
nav: [
{ text: 'Configuration', link: '/config/' },
],
// the GitHub repo path
repo: 'starship/starship',
// the label linking to the repo
repoLabel: 'GitHub',
// if your docs are not at the root of the repo:
docsDir: 'docs',
// defaults to false, set to true to enable
editLinks: true,
// custom text for edit link. Defaults to "Edit this page"
editLinkText: 'Edit this page on GitHub'
}
}