docs: add documentation for the commands: up, list, new and remove
This commit is contained in:
parent
c460ae7459
commit
2a82897ba8
6 changed files with 316 additions and 0 deletions
27
docs/src/components/PageTitle.astro
Normal file
27
docs/src/components/PageTitle.astro
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue