Skip to content

Commit

Permalink
docs(website): updates
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Nov 26, 2023
1 parent ea7f82c commit 5c82486
Show file tree
Hide file tree
Showing 43 changed files with 321 additions and 528 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "Tutorial - Extras",
"label": "Advanced Guides",
"position": 3,
"link": {
"type": "generated-index"
Expand Down
11 changes: 11 additions & 0 deletions website/docs/advanced-guides/auto-freeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_position: 3
---

# Auto Freeze

// todo

## Enable Auto Freeze

// todo
Empty file.
9 changes: 9 additions & 0 deletions website/docs/advanced-guides/json-patch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar_position: 1
---

# JSON Patch

Docusaurus can manage multiple versions of your docs.

## Create a docs version
12 changes: 12 additions & 0 deletions website/docs/advanced-guides/mark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 2
---

# Marking for mutable and immutable data

// todo

## Customize mark

// todo

12 changes: 12 additions & 0 deletions website/docs/advanced-guides/migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 2
---

# Migration from Immer to Mutative

// todo

## Migration

// todo

11 changes: 11 additions & 0 deletions website/docs/advanced-guides/pathes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_position: 2
---

# Patches

// todo

## Enable patches

// todo
11 changes: 11 additions & 0 deletions website/docs/advanced-guides/reducers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_position: 3
---

# Reducers

// todo

## Reducers

// todo
11 changes: 11 additions & 0 deletions website/docs/advanced-guides/returning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_position: 3
---

# Returning new data

// todo

## Returning new data

// todo
11 changes: 11 additions & 0 deletions website/docs/advanced-guides/strict-mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_position: 3
---

# Strict Mode

// todo

## Enable strict mode

// todo
11 changes: 11 additions & 0 deletions website/docs/advanced-guides/typescript.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_position: 3
---

# Typescript

// todo

## Using Typescript

// todo
8 changes: 8 additions & 0 deletions website/docs/api-reference/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "API Reference",
"position": 4,
"link": {
"type": "generated-index",
"description": "5 minutes to learn the most important Docusaurus concepts."
}
}
12 changes: 12 additions & 0 deletions website/docs/api-reference/apply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# apply()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# create()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/current.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# current()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/isdraft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# isDraft()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/isdraftable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# isDraftable()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/makecreator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# makeCreator()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/original.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# original()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/rawreturn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# rawReturn()

// TODO

## Usage

// TODO

12 changes: 12 additions & 0 deletions website/docs/api-reference/unsafe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# unsafe()

// TODO

## Usage

// TODO

8 changes: 8 additions & 0 deletions website/docs/extra-topics/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Extra Topics",
"position": 5,
"link": {
"type": "generated-index",
"description": "5 minutes to learn the most important Docusaurus concepts."
}
}
12 changes: 12 additions & 0 deletions website/docs/extra-topics/comparison-with-immer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# Comparison with Immer

// todo

## Comparison with Immer

// todo

12 changes: 12 additions & 0 deletions website/docs/extra-topics/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# Contributing

// todo

## Contributing

// todo

12 changes: 12 additions & 0 deletions website/docs/extra-topics/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# FAQ

// todo

## Q&A

// todo

12 changes: 12 additions & 0 deletions website/docs/extra-topics/performance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_position: 6
---

# Performance

// todo

## Benchmark

// todo

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "Tutorial - Basics",
"label": "Getting Started",
"position": 2,
"link": {
"type": "generated-index",
Expand Down
10 changes: 10 additions & 0 deletions website/docs/getting-started/concepts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar_position: 3
---

# Concepts

// todo

## Drafts
// todo
19 changes: 19 additions & 0 deletions website/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
sidebar_position: 1
---

# Installation

// todo

## Using Mutative from NPM/Yarn

// todo

## Using Mutative from CDN

// todo

## Try Mutative with React

// todo
7 changes: 7 additions & 0 deletions website/docs/getting-started/mutative-with-react.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sidebar_position: 3
---

# Using Immer with React

// todo
7 changes: 7 additions & 0 deletions website/docs/getting-started/usages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sidebar_position: 3
---

# Usages

// todo
Loading

0 comments on commit 5c82486

Please sign in to comment.