File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,18 @@ const config: Config = {
8989 themes : [ '@docusaurus/theme-live-codeblock' , '@docusaurus/theme-mermaid' ] ,
9090
9191 plugins : [
92+ [
93+ '@docusaurus/plugin-content-docs' ,
94+ {
95+ id : 'prompts' ,
96+ path : 'prompts' ,
97+ routeBasePath : 'prompts' ,
98+ sidebarPath : './sidebarsPrompts.ts' ,
99+ editUrl : 'https://github.com/ofriw/AI-Coding-Course/tree/main/website/' ,
100+ showLastUpdateTime : false ,
101+ showLastUpdateAuthor : false ,
102+ } ,
103+ ] ,
92104 [
93105 require . resolve ( '@easyops-cn/docusaurus-search-local' ) ,
94106 {
@@ -129,6 +141,13 @@ const config: Config = {
129141 position : 'left' ,
130142 label : 'Course' ,
131143 } ,
144+ {
145+ type : 'doc' ,
146+ docId : 'index' ,
147+ position : 'left' ,
148+ label : 'Prompts' ,
149+ docsPluginId : 'prompts' ,
150+ } ,
132151 {
133152 type : 'docsVersionDropdown' ,
134153 position : 'right' ,
Original file line number Diff line number Diff line change 1+ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs' ;
2+
3+ /**
4+ * Sidebar configuration for the Prompts Library
5+ *
6+ * This sidebar organizes reusable prompt templates by SDLC category.
7+ * Prompts are stored in website/shared-prompts/ as MDX partials (prefixed with _)
8+ * and imported by both lesson files and individual prompt collection pages.
9+ */
10+ const sidebars : SidebarsConfig = {
11+ promptsSidebar : [
12+ {
13+ type : 'doc' ,
14+ id : 'index' ,
15+ label : 'Overview' ,
16+ } ,
17+ {
18+ type : 'category' ,
19+ label : 'Testing' ,
20+ items : [ 'testing/test-failure-diagnosis' , 'testing/edge-case-discovery' ] ,
21+ } ,
22+ {
23+ type : 'category' ,
24+ label : 'Code Review' ,
25+ items : [ 'code-review/comprehensive-review' ] ,
26+ } ,
27+ {
28+ type : 'category' ,
29+ label : 'Pull Requests' ,
30+ items : [
31+ 'pull-requests/dual-optimized-pr' ,
32+ 'pull-requests/ai-assisted-review' ,
33+ ] ,
34+ } ,
35+ {
36+ type : 'category' ,
37+ label : 'Debugging' ,
38+ items : [ 'debugging/evidence-based-debug' ] ,
39+ } ,
40+ {
41+ type : 'category' ,
42+ label : 'Onboarding' ,
43+ items : [ 'onboarding/generate-agents-md' ] ,
44+ } ,
45+ ] ,
46+ } ;
47+
48+ export default sidebars ;
You can’t perform that action at this time.
0 commit comments