Skip to content

Commit

Permalink
refactor: Overhaul documentation structure and content
Browse files Browse the repository at this point in the history
- Removed section on 'Design Principles' and corresponding files `_category_.yml`, `product.md`, and `system.md`
- Adjusted position of 'Quick Start' and added new pages `create.md` and `install.md`
- Renamed 'Features' section to 'Sample Scripts' and added new pages `git.md` and `refactor.md`
- Adjusted position of 'Specifications', made slug name changes and renaming sections, and deleted `prompt_extension.md`
- Added new section 'Featured Workflows' and included `commit.md` and `unit_tests.md`
- Executed several file mode changes and sidebar position adjustments
  • Loading branch information
basicthinker committed Mar 7, 2024
1 parent 75bcb8f commit 963accd
Show file tree
Hide file tree
Showing 18 changed files with 48 additions and 47 deletions.
6 changes: 0 additions & 6 deletions docs/design/_category_.yml

This file was deleted.

11 changes: 0 additions & 11 deletions docs/design/product.md

This file was deleted.

9 changes: 0 additions & 9 deletions docs/design/system.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/quick-start/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
label: Quick Start
position: 4
position: 3
link:
type: generated-index
slug: quick-start
6 changes: 6 additions & 0 deletions docs/quick-start/create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Create Intelligent Scripts
sidebar_position: 2
---

# Create Intelligent Scripts
2 changes: 1 addition & 1 deletion docs/quick-start/faq.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: FAQ
sidebar_position: 2
sidebar_position: 3
---

# Frequently Asked Questions
6 changes: 6 additions & 0 deletions docs/quick-start/install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Install in IDEs
sidebar_position: 1
---

# Install in IDEs
4 changes: 2 additions & 2 deletions docs/features/_category_.yml → docs/scripts/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
label: Features
label: Sample Scripts
position: 5
link:
type: generated-index
slug: features
slug: scripts
6 changes: 6 additions & 0 deletions docs/scripts/git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: /git
sidebar_position: 2
---

# `/git` Commands
6 changes: 6 additions & 0 deletions docs/scripts/refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: /refactor
sidebar_position: 1
---

# `/refactor` Commands
2 changes: 1 addition & 1 deletion docs/specs/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
label: Specifications
position: 3
position: 2
link:
type: generated-index
slug: specs
Expand Down
5 changes: 2 additions & 3 deletions docs/specs/chatmark.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
id: chatmark
slug: /chatmark-markdown-spec
slug: /chatmark-markdown
description: the DevChat Flavored Markdown
sidebar_position: 5
sidebar_position: 3
---

# ChatMark: the DevChat Flavored Markdown
Expand Down
2 changes: 1 addition & 1 deletion docs/specs/command.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /workflow-command-definition
slug: /command-definition
description: Unified definition of operations in a workflow
sidebar_position: 2
---
Expand Down
5 changes: 2 additions & 3 deletions docs/specs/workflow_dir.md → docs/specs/namespace.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
id: workflow-directory
slug: /devchat-workflow-directory
slug: /namespace
description: The directory that organizes workflows and commands
sidebar_position: 1
---

# Workflow Directory
# Namespace
8 changes: 0 additions & 8 deletions docs/specs/prompt_extension.md

This file was deleted.

5 changes: 5 additions & 0 deletions docs/workflows/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
label: Featured Workflows
position: 4
link:
type: generated-index
slug: workflows
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: /commit
sidebar_position: 1
---

# Installation
# Commit
7 changes: 7 additions & 0 deletions docs/workflows/unit_tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: unit-tests
title: /unit_tests
sidebar_position: 2
---

# Add Unite Tests

0 comments on commit 963accd

Please sign in to comment.