Skip to content

Commit 7f63fe9

Browse files
committed
配置文件内容合入
1 parent 211aba6 commit 7f63fe9

9 files changed

Lines changed: 184 additions & 69 deletions

File tree

.vuepress/config/function.js

Lines changed: 118 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11

2+
// C++ page
3+
function genSidebar4Guide() {
4+
return [
5+
{
6+
title: "导航地图",
7+
collapsable: false,
8+
sidebarDepth: 0,
9+
children: [
10+
"guide-overview.md"
11+
]
12+
}
13+
];
14+
}
15+
216
// C++ page
317
function genSidebar4Cplusplus() {
418
return [
@@ -8,7 +22,8 @@ function genSidebar4Cplusplus() {
822
sidebarDepth: 0,
923
children: [
1024
"basic/c++-basic-use.md",
11-
"basic/c++-basic-oop.md"
25+
"basic/c++-basic-oop.md",
26+
"basic/c++-basic-macro-definition.md"
1227
]
1328
},
1429
{
@@ -174,7 +189,6 @@ function genSidebar4Alg() {
174189
]
175190
}
176191
];
177-
178192
}
179193

180194
// Program page
@@ -353,7 +367,7 @@ function genSidebar4microServices() {
353367
]
354368
},
355369
{
356-
title: "中间件 - ZeroMQ",
370+
title: "中间件 - ZeroMQ - 消息队列",
357371
collapsable: false,
358372
sidebarDepth: 0,
359373
children: [
@@ -466,18 +480,20 @@ function genSidebar4method() {
466480
return [
467481
{
468482
title: "概念",
469-
collapsable: false,
483+
collapsable: true,
470484
sidebarDepth: 0,
471485
children: [
472486
"concept/concept-basic.md",
473-
"concept/concept-tech-use.md",
474487
"concept/concept-communication.md",
475-
"concept/concept-agent.md"
488+
"concept/concept-agent.md",
489+
"concept/concept-cloud-network.md",
490+
"concept/concept-rest-api.md",
491+
"concept/concept-split-brain.md"
476492
]
477493
},
478494
{
479495
title: "理论",
480-
collapsable: false,
496+
collapsable: true,
481497
sidebarDepth: 0,
482498
children: [
483499
"theory/theory-acid.md",
@@ -487,7 +503,7 @@ function genSidebar4method() {
487503
},
488504
{
489505
title: "架构设计原则",
490-
collapsable: false,
506+
collapsable: true,
491507
sidebarDepth: 0,
492508
children: [
493509
"arch-principle/arch-principle-design.md",
@@ -503,18 +519,20 @@ function genSidebar4method() {
503519
},
504520
{
505521
title: "协议",
506-
collapsable: false,
522+
collapsable: true,
507523
sidebarDepth: 0,
508524
children: [
509525
"protocol/protocol-http",
510526
"protocol/protocol-snmp.md",
511527
"protocol/protocol-netconf.md",
512528
"protocol/protocol-ssl-tls.md",
529+
"protocol/protocol-http-wiki.md",
530+
"protocol/protocol-tcp-ip.md",
513531
]
514532
},
515533
{
516534
title: "技术选型",
517-
collapsable: false,
535+
collapsable: true,
518536
sidebarDepth: 0,
519537
children: [
520538
"tech/tech-select.md",
@@ -523,10 +541,14 @@ function genSidebar4method() {
523541
},
524542
{
525543
title: "编码规范",
526-
collapsable: false,
544+
collapsable: true,
527545
sidebarDepth: 0,
528546
children: [
529-
"code-style/code-style-google-c++.md"
547+
"code-style/code-style-google-c++.md",
548+
"code-style/code-style-code-style.md",
549+
"code-style/code-style-head-file.md",
550+
"code-style/code-style-naming-rule.md",
551+
"code-style/code-style-naming-specification.md"
530552
]
531553
}
532554
];
@@ -537,7 +559,7 @@ function genSidebar4Devops() {
537559
return [
538560
{
539561
title: "Linux",
540-
collapsable: false,
562+
collapsable: true,
541563
sidebarDepth: 0,
542564
children: [
543565
"linux/linux-cmd.md",
@@ -551,18 +573,33 @@ function genSidebar4Devops() {
551573
},
552574
{
553575
title: "Nginx",
554-
collapsable: false,
576+
collapsable: true,
555577
sidebarDepth: 0,
556578
children: [
557579
"nginx/nginx-study-note.md",
558580
"nginx/nginx-staic-web.md",
559581
"nginx/nginx-reverse-proxy-server.md",
560-
"nginx/nginx-error-log.md"
582+
"nginx/nginx-error-log.md",
583+
"nginx/nginx-image-server-cfg.md"
584+
]
585+
},
586+
{
587+
title: "实践",
588+
collapsable: true,
589+
sidebarDepth: 0,
590+
children: [
591+
"practice/docker/jenkins/practice-docker-jenkins.md",
592+
"practice/docker/mysql/practice-docker-mysql.md",
593+
"practice/docker/redis/practice-docker-redis.md",
594+
"practice/tools/practice-tools-git.md",
595+
"practice/tools/practice-tools-gitbook.md",
596+
"practice/practice-ngx-admin-install",
597+
"practice/practice-Robot-Framework-install.md"
561598
]
562599
},
563600
{
564601
title: "常用快捷键",
565-
collapsable: false,
602+
collapsable: true,
566603
sidebarDepth: 0,
567604
children: [
568605
"shortcut/linux.md",
@@ -573,7 +610,7 @@ function genSidebar4Devops() {
573610
},
574611
{
575612
title: "容器化 - Docker",
576-
collapsable: false,
613+
collapsable: true,
577614
sidebarDepth: 0,
578615
children: [
579616
"docker/docker.md",
@@ -583,7 +620,7 @@ function genSidebar4Devops() {
583620
},
584621
{
585622
title: "容器编排 - Kubernetes",
586-
collapsable: false,
623+
collapsable: true,
587624
sidebarDepth: 0,
588625
children: [
589626
"k8s/k8s.md",
@@ -594,7 +631,7 @@ function genSidebar4Devops() {
594631
},
595632
{
596633
title: "服务网格 - Service Mesh Istio",
597-
collapsable: false,
634+
collapsable: true,
598635
sidebarDepth: 0,
599636
children: [
600637
"istio/istio-basic.md",
@@ -613,15 +650,15 @@ function genSidebar4project() {
613650
return [
614651
{
615652
title: "开源项目 - libco",
616-
collapsable: false,
653+
collapsable: true,
617654
sidebarDepth: 0,
618655
children: [
619656
"opensource/libco/libco.md"
620657
]
621658
},
622659
{
623660
title: "开源项目 - buttonrpc",
624-
collapsable: false,
661+
collapsable: true,
625662
sidebarDepth: 0,
626663
children: [
627664
"opensource/buttonrpc/buttonrpc-basic.md",
@@ -631,7 +668,7 @@ function genSidebar4project() {
631668
},
632669
{
633670
title: "开源项目 - Tars",
634-
collapsable: false,
671+
collapsable: true,
635672
sidebarDepth: 0,
636673
children: [
637674
"opensource/tars/tars-brief.md",
@@ -644,7 +681,7 @@ function genSidebar4project() {
644681
},
645682
{
646683
title: "学习项目 - hmdp",
647-
collapsable: false,
684+
collapsable: true,
648685
sidebarDepth: 0,
649686
children: [
650687
"opensource/hmdp/hmdp-overview.md",
@@ -664,7 +701,7 @@ function genSidebar4project() {
664701
},
665702
{
666703
title: "学习项目 - SSM框架",
667-
collapsable: false,
704+
collapsable: true,
668705
sidebarDepth: 0,
669706
children: [
670707
"study/ssm/spring/spring-basic.md",
@@ -680,22 +717,35 @@ function genSidebar4project() {
680717
},
681718
{
682719
title: "个人项目 - build_lib",
683-
collapsable: false,
720+
collapsable: true,
684721
sidebarDepth: 0,
685722
children: [
686723
"person/build_lib/build_lib.md"
687724
]
688725
},
689726
{
690727
title: "项目开发",
691-
collapsable: false,
728+
collapsable: true,
692729
sidebarDepth: 0,
693730
children: [
731+
"develop/develop-demo.md",
694732
"develop/develop-process.md",
695733
"develop/develop-opt.md",
696734
"develop/develop-notice.md",
735+
"develop/develop-version.md",
697736
"develop/uml/develop-uml.md",
698737
]
738+
},
739+
{
740+
title: "项目开发的Idea",
741+
collapsable: true,
742+
sidebarDepth: 0,
743+
children: [
744+
"idea/idea-basic.md",
745+
"idea/idea-tech-use.md",
746+
"idea/idea-tips.md",
747+
"idea/idea-doublewrite-buffer"
748+
]
699749
}
700750
];
701751
}
@@ -731,7 +781,7 @@ function genSidebar4booknote() {
731781
},
732782
{
733783
title: "重构改善既有代码的设计 详解",
734-
collapsable: false,
784+
collapsable: true,
735785
sidebarDepth: 0,
736786
children: [
737787
"refactor/refactor-chapter-1.md",
@@ -749,7 +799,7 @@ function genSidebar4booknote() {
749799
},
750800
{
751801
title: "Effective C++:改善程序与设计的55个具体做法 详解",
752-
collapsable: false,
802+
collapsable: true,
753803
sidebarDepth: 0,
754804
children: [
755805
"effectivecpp/effectivecpp-chapter-2-1.md",
@@ -766,7 +816,7 @@ function genSidebar4booknote() {
766816
},
767817
{
768818
title: "STL源码剖析 详解",
769-
collapsable: false,
819+
collapsable: true,
770820
sidebarDepth: 0,
771821
children: [
772822
"stlsource/stlsource-chapter-1.md",
@@ -791,7 +841,7 @@ function genSidebar4booknote() {
791841
},
792842
{
793843
title: "Linux多线程服务端编程——使用muduo C++ 网络库 详解",
794-
collapsable: false,
844+
collapsable: true,
795845
sidebarDepth: 0,
796846
children: [
797847
"muduo/muduo-chapter-1.md",
@@ -811,7 +861,7 @@ function genSidebar4booknote() {
811861
},
812862
{
813863
title: "大型网站技术架构——核心原理与案例分析 详解",
814-
collapsable: false,
864+
collapsable: true,
815865
sidebarDepth: 0,
816866
children: [
817867
"websiteTechArch/websiteTechArch-index.md",
@@ -827,7 +877,7 @@ function genSidebar4booknote() {
827877
},
828878
{
829879
title: "代码大全2",
830-
collapsable: false,
880+
collapsable: true,
831881
sidebarDepth: 0,
832882
children: [
833883
"codeComplete/codeComplete-chapter-1.md",
@@ -836,6 +886,32 @@ function genSidebar4booknote() {
836886
"codeComplete/codeComplete-chapter-4.md",
837887
"codeComplete/codeComplete-chapter-5.md",
838888
]
889+
},
890+
{
891+
title: "数据密集型应用系统设计",
892+
collapsable: true,
893+
sidebarDepth: 0,
894+
children: [
895+
"dataIntensiveApp/dataIntensiveApp-chapter-1.md",
896+
"dataIntensiveApp/dataIntensiveApp-chapter-2.md",
897+
"dataIntensiveApp/dataIntensiveApp-chapter-3.md",
898+
"dataIntensiveApp/dataIntensiveApp-chapter-4.md",
899+
"dataIntensiveApp/dataIntensiveApp-chapter-5.md",
900+
"dataIntensiveApp/dataIntensiveApp-chapter-6.md",
901+
"dataIntensiveApp/dataIntensiveApp-chapter-7.md",
902+
]
903+
},
904+
{
905+
title: "从零开始学架构",
906+
collapsable: true,
907+
sidebarDepth: 0,
908+
children: [
909+
"learnArchFromZero/learnArchFromZero-chapter-1.md",
910+
"learnArchFromZero/learnArchFromZero-chapter-2.md",
911+
"learnArchFromZero/learnArchFromZero-chapter-3.md",
912+
"learnArchFromZero/learnArchFromZero-chapter-4.md",
913+
"codeComplete/codeComplete-chapter-5.md",
914+
]
839915
}
840916
];
841917

@@ -937,7 +1013,13 @@ function genSidebar4Article() {
9371013
children: [
9381014
"knowledge/article-knowledge-service-mesh.md",
9391015
"knowledge/article-knowledge-share-bike.md",
940-
"knowledge/article-knowledge-software-architecture.md"
1016+
"knowledge/article-knowledge-software-architecture.md",
1017+
"knowledge/article-knowledge-cors-sop.md",
1018+
"knowledge/article-knowledge-share-bike.md",
1019+
"knowledge/article-knowledge-feeddog-watchdog.md",
1020+
"knowledge/article-knowledge-return-temp-var.md",
1021+
"knowledge/article-knowledge-time.md",
1022+
"knowledge/article-knowledge-vm-bm.md",
9411023
]
9421024
},
9431025
{
@@ -948,7 +1030,8 @@ function genSidebar4Article() {
9481030
"problem/article-problem-top.md",
9491031
"problem/article-problem-pstack.md",
9501032
"problem/article-problem-cache-update.md",
951-
"problem/article-problem-iptables.md"
1033+
"problem/article-problem-multi-define.md",
1034+
"problem/article-problem-three-high.md"
9521035
]
9531036
}
9541037
];
@@ -1188,7 +1271,7 @@ function genSidebar4Vue() {
11881271
}
11891272

11901273
module.exports = {
1191-
genSidebar4Cplusplus, genSidebar4Database, genSidebar4Alg, genSidebar4Program, genSidebar4develop, genSidebar4microServices,
1274+
genSidebar4Guide,genSidebar4Cplusplus, genSidebar4Database, genSidebar4Alg, genSidebar4Program, genSidebar4develop, genSidebar4microServices,
11921275
genSidebar4method, genSidebar4Devops, genSidebar4project, genSidebar4booknote, genSidebar4interview, genSidebar4Article,
11931276
genSidebar4dailyUse, genSidebar4About, genSidebar4Grow,genSidebar4Vue
11941277
};

0 commit comments

Comments
 (0)