docs: add documentation for the commands: up, list, new and remove

This commit is contained in:
Joakim Carlstein 2023-12-18 11:55:32 +01:00 committed by Joakim Carlstein
parent c460ae7459
commit 2a82897ba8
6 changed files with 316 additions and 0 deletions

View file

@ -0,0 +1,27 @@
---
import type { Props } from '@astrojs/starlight/props';
const { title } = Astro.props.entry.data;
const isCode = title.startsWith('`') && title.endsWith('`');
---
<h1 id="_top">{isCode ? <code>{title.slice(1, -1)}</code> : title}</h1>
<style>
h1 {
margin-top: 1rem;
font-size: var(--sl-text-h1);
line-height: var(--sl-line-height-headings);
font-weight: 600;
color: var(--sl-color-white);
}
code {
font-family: var(--sl-font-system-mono);
background-color: var(--sl-color-bg-inline-code);
border: 1px solid var(--sl-color-gray-3);
color: var(--sl-color-gray-1);
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
}
</style>