Skip to content

Commit

Permalink
cheatsheet -> reference
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 committed Sep 1, 2023
1 parent be94622 commit e05d982
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions civet.dev/.vitepress/components/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import VPHero from 'vitepress/dist/client/theme-default/components/VPHero.vue';
const actions = [
{
theme: 'brand',
text: 'Cheatsheet',
link: '/cheatsheet',
text: 'Reference',
link: '/reference',
},
{
theme: 'alt',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pkg from '../../package.json';
import { head } from './head.js';
import { getContributors } from './utils/getContributors.js';
import { head } from './head.mjs';
import { getContributors } from './utils/getContributors.mjs';
import { defineConfig } from 'vitepress';
import { compileCivet } from './utils/compileCivet';
import { getHighlighter } from './utils/getHighlighter';
Expand All @@ -26,7 +26,7 @@ export default async function vitePressConfig() {
siteTitle: 'Civet',
nav: [
{ text: 'Getting started', link: '/getting-started' },
{ text: 'Cheatsheet', link: '/cheatsheet' },
{ text: 'Reference', link: '/reference' },
{ text: 'Comparison', link: '/comparison' },
{ text: 'Integrations', link: '/integrations' },
{ text: 'Config', link: '/config' },
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion civet.dev/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ $: document.title = title
## Decorators

Civet uses `@` as
[shorthand for `this`, `static`, and `constructor`](/cheatsheet#this).
[shorthand for `this`, `static`, and `constructor`](/reference#this).
Decorators need to be written with `@@`:

<Playground>
Expand Down
4 changes: 2 additions & 2 deletions civet.dev/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ so you can [use existing tooling](/integrations)
but enable concise and powerful syntax.
In addition to 99% JS/TS [compatibility](/comparison), there are many
features, with some highlights below and more comprehensive examples
on the [cheatsheet](/cheatsheet).
in the [reference](/reference).
See also Civet's [design philosophy](/philosophy).

## Highlights: Beyond TC39
Expand Down Expand Up @@ -174,7 +174,7 @@ export a, b, c from "./cool.js"
export x = 3
</Playground>
### [JSX](/cheatsheet#jsx)
### [JSX](/reference#jsx)
<Playground>
function Listing(props)
Expand Down
2 changes: 1 addition & 1 deletion civet.dev/cheatsheet.md → civet.dev/reference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Cheatsheet
title: Reference
aside: false
---

Expand Down

0 comments on commit e05d982

Please sign in to comment.