Skip to content

Commit 2a97b6f

Browse files
authored
[DOC-979] Combine Develop and Tutorials (#28645)
* Combine Develop and Tutorials
1 parent af3501a commit 2a97b6f

File tree

380 files changed

+889
-945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

380 files changed

+889
-945
lines changed

docs/config/_default/menus.toml

Lines changed: 95 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@
108108
imageUrl = "/images/migrate/migration-icon.svg"
109109

110110
[[main]]
111-
name = "Tutorials"
111+
name = "Develop"
112112
weight = 2
113-
url = "/preview/tutorials/"
113+
url = "/preview/develop/"
114114
[main.params]
115115
excludeVersion = true
116116

@@ -475,24 +475,6 @@
475475
[preview.params]
476476
showSection = true
477477

478-
# [[preview]]
479-
# name = "Key benefits"
480-
# weight = 3
481-
# identifier = "features"
482-
# url = "/preview/features/"
483-
# [preview.params]
484-
# showSection = true
485-
# hideChildren = true
486-
487-
# [[preview]]
488-
# name = "Resource guide"
489-
# weight = 4
490-
# identifier = "get-started-guide"
491-
# url = "/preview/get-started-guide/"
492-
# [preview.params]
493-
# showSection = true
494-
# hideChildren = true
495-
496478
[[preview]]
497479
name = "Quick Start"
498480
weight = 5
@@ -507,14 +489,6 @@
507489
weight = 6
508490
identifier = "explore"
509491
url = "/preview/explore/"
510-
[preview.params]
511-
showSection = true
512-
513-
[[preview]]
514-
name = "Develop"
515-
weight = 7
516-
identifier = "develop"
517-
url = "/preview/develop/"
518492
[preview.params]
519493
classes = "separator"
520494
showSection = true
@@ -669,94 +643,137 @@
669643
[preview_integrations.params]
670644
showSection = true
671645

672-
########## Menus (in preview) for Tutorials
646+
########## Menus (in preview) for Develop
673647

674-
# [[preview_tutorials]]
648+
# [[preview_develop]]
675649
# name = "Docs Home"
676650
# weight = 1
677651
# identifier = "home"
678652
# url = "/"
679-
# [preview_tutorials.params]
653+
# [preview_develop.params]
680654
# showSection = true
681655

682-
[[preview_tutorials]]
683-
name = "Tutorials"
684-
weight = 3
685-
identifier = "tutorials"
686-
url = "/preview/tutorials/"
687-
[preview_tutorials.params]
688-
classes = "separator"
656+
[[preview_develop]]
657+
name = "Develop"
658+
weight = 2
659+
identifier = "develop"
660+
url = "/preview/develop/"
661+
[preview_develop.params]
689662
showSection = true
690663

691-
# [[preview_tutorials]]
692-
# name = "Quick Start"
693-
# weight = 4
694-
# identifier = "quick-start"
695-
# url = "/preview/quick-start-yugabytedb-managed/"
696-
# [preview_tutorials.params]
697-
# showSection = true
698-
# hideChildren = true
699-
700-
[[preview_tutorials]]
701-
name = "Hello world"
664+
[[preview_develop]]
665+
name = "Learn app development"
702666
weight = 5
703-
identifier = "build-apps"
704-
url = "/preview/tutorials/build-apps/"
705-
[preview_tutorials.params]
667+
identifier = "learn"
668+
url = "/preview/develop/learn/"
669+
[preview_develop.params]
670+
showSection = true
671+
672+
[[preview_develop]]
673+
name = "Drivers and ORMs"
674+
weight = 6
675+
identifier = "drivers-orms"
676+
url = "/preview/develop/drivers-orms/"
677+
[preview_develop.params]
706678
showSection = true
707679

708-
[[preview_tutorials]]
709-
name = "Build and learn"
680+
[[preview_develop]]
681+
name = "Data modeling"
682+
weight = 7
683+
identifier = "data-modeling"
684+
url = "/preview/develop/data-modeling/"
685+
[preview_develop.params]
686+
showSection = true
687+
688+
[[preview_develop]]
689+
name = "Build global applications"
690+
weight = 8
691+
identifier = "build-global-apps"
692+
url = "/preview/develop/build-global-apps/"
693+
[preview_develop.params]
694+
showSection = true
695+
696+
[[preview_develop]]
697+
name = "Build Multi-cloud Applications"
698+
weight = 9
699+
identifier = "build-multicloud-apps"
700+
url = "/preview/develop/multi-cloud/"
701+
[preview_develop.params]
702+
showSection = true
703+
704+
[[preview_develop]]
705+
name = "Best practices"
710706
weight = 10
711-
identifier = "tutorials-build-and-learn"
712-
url = "/preview/tutorials/build-and-learn/"
713-
[preview_tutorials.params]
707+
identifier = "best-practices-develop"
708+
url = "/preview/develop/best-practices-develop/"
709+
[preview_develop.params]
714710
showSection = true
715711

716-
[[preview_tutorials]]
717-
name = "AI"
718-
weight = 20
719-
identifier = "tutorials-ai"
720-
url = "/preview/tutorials/ai/"
721-
[preview_tutorials.params]
712+
[[preview_develop]]
713+
name = "Quality of service"
714+
weight = 11
715+
identifier = "develop-quality-of-service"
716+
url = "/preview/develop/quality-of-service/"
717+
[preview_develop.params]
722718
showSection = true
723719

724-
[[preview_tutorials]]
720+
[[preview_develop]]
721+
name = "Cloud-native development"
722+
weight = 12
723+
identifier = "gitdev"
724+
url = "/preview/develop/gitdev/"
725+
[preview_develop.params]
726+
classes = "separator"
727+
showSection = true
728+
729+
730+
[[preview_develop]]
731+
name = "Tutorials"
732+
weight = 3
733+
identifier = "tutorials"
734+
url = "/preview/develop/tutorials/"
735+
[preview_develop.params]
736+
classes = "separator"
737+
showSection = true
738+
739+
[[preview_develop]]
725740
name = "RAG"
726741
weight = 10
727-
identifier = "tutorials-ai-rag"
728742
parent = "tutorials-ai"
729-
[preview_tutorials.params]
743+
identifier = "tutorials-ai-rag"
744+
[preview_develop.params]
730745
showSection = true
731746

732-
[[preview_tutorials]]
747+
[[preview_develop]]
733748
name = "Vector basics"
734749
weight = 20
735-
identifier = "tutorials-ai-vector"
736750
parent = "tutorials-ai"
737-
[preview_tutorials.params]
751+
identifier = "tutorials-ai-vector"
752+
[preview_develop.params]
738753
showSection = true
739754

740-
[[preview_tutorials]]
755+
[[preview_develop]]
741756
name = "Agentic"
742757
weight = 30
743-
identifier = "tutorials-ai-agentic"
744758
parent = "tutorials-ai"
745-
[preview_tutorials.params]
759+
identifier = "tutorials-ai-agentic"
760+
[preview_develop.params]
746761
showSection = true
747762

748-
[[preview_tutorials]]
763+
[[preview_develop]]
749764
name = "Cloud"
750-
weight = 30
765+
weight = 40
766+
parent = "tutorials"
751767
identifier = "tutorials-cloud"
752-
[preview_tutorials.params]
768+
[preview_develop.params]
753769
showSection = true
754770

755-
[[preview_tutorials]]
771+
[[preview_develop]]
756772
name = "CDC"
757-
weight = 40
773+
weight = 50
774+
parent = "tutorials"
758775
identifier = "tutorials-cdc"
759-
[preview_tutorials.params]
776+
[preview_develop.params]
760777
showSection = true
761778

762779
########## Menus (in preview) for APIs
@@ -982,14 +999,6 @@
982999
showSection = true
9831000
hideLink = true
9841001

985-
# [[preview_yugabyte-cloud]]
986-
# name = "What's New"
987-
# weight = 4
988-
# identifier = "yugabytedb-managed-releases"
989-
# url = "/preview/yugabyte-cloud/release-notes/"
990-
# [preview_yugabyte-cloud.params]
991-
# showSection = true
992-
9931002
########## Menus (in preview) for YB Voyager section
9941003

9951004
[[preview_yugabyte-voyager]]
@@ -1079,33 +1088,10 @@
10791088
weight = 5
10801089
identifier = "explore"
10811090
url = "/stable/explore/"
1082-
[stable.params]
1083-
showSection = true
1084-
1085-
[[stable]]
1086-
name = "Develop"
1087-
weight = 6
1088-
identifier = "develop"
1089-
url = "/preview/develop/"
10901091
[stable.params]
10911092
classes = "separator"
10921093
showSection = true
10931094

1094-
#[[stable]]
1095-
# name = "Tutorials"
1096-
# weight = 7
1097-
# identifier = "tutorials"
1098-
# [stable.params]
1099-
# showSection = true
1100-
1101-
# [[stable]]
1102-
# name = "Migrate"
1103-
# weight = 6
1104-
# identifier = "migrate"
1105-
# url = "/stable/migrate/"
1106-
# [stable.params]
1107-
# showSection = true
1108-
11091095
[[stable]]
11101096
name = "Secure"
11111097
weight = 8
@@ -1274,14 +1260,6 @@
12741260
weight = 5
12751261
identifier = "explore"
12761262
url = "/v2024.2/explore/"
1277-
["v2024.2".params]
1278-
showSection = true
1279-
1280-
[["v2024.2"]]
1281-
name = "Develop"
1282-
weight = 6
1283-
identifier = "develop"
1284-
url = "/preview/develop/"
12851263
["v2024.2".params]
12861264
classes = "separator"
12871265
showSection = true
@@ -1436,14 +1414,6 @@
14361414
weight = 5
14371415
identifier = "explore"
14381416
url = "/v2024.1/explore/"
1439-
["v2024.1".params]
1440-
showSection = true
1441-
1442-
[["v2024.1"]]
1443-
name = "Develop"
1444-
weight = 6
1445-
identifier = "develop"
1446-
url = "/preview/develop/"
14471417
["v2024.1".params]
14481418
classes = "separator"
14491419
showSection = true
@@ -1599,14 +1569,6 @@
15991569
weight = 5
16001570
identifier = "explore"
16011571
url = "/v2025.1/explore/"
1602-
["v2025.1".params]
1603-
showSection = true
1604-
1605-
[["v2025.1"]]
1606-
name = "Develop"
1607-
weight = 6
1608-
identifier = "develop"
1609-
url = "/preview/develop/"
16101572
["v2025.1".params]
16111573
classes = "separator"
16121574
showSection = true
@@ -1761,14 +1723,6 @@
17611723
weight = 5
17621724
identifier = "explore"
17631725
url = "/v2.20/explore/"
1764-
["v2.20".params]
1765-
showSection = true
1766-
1767-
[["v2.20"]]
1768-
name = "Develop"
1769-
weight = 6
1770-
identifier = "develop"
1771-
url = "/preview/develop/"
17721726
["v2.20".params]
17731727
classes = "separator"
17741728
showSection = true

docs/content/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ YugabyteDB provides PostgreSQL without limits and is an excellent fit for new or
5757
linkText2="Hybrid and multi-cloud"
5858
linkUrl2="/preview/develop/multi-cloud/"
5959
linkText3="Drivers and ORMs"
60-
linkUrl3="/preview/drivers-orms/"
60+
linkUrl3="/preview/develop/drivers-orms/"
6161
linkText4="Explore more"
6262
linkClass4="more"
6363
linkUrl4="/preview/develop/"
@@ -142,7 +142,7 @@ Handle larger workloads by adding nodes to your cluster.
142142
143143
## Develop resilient applications
144144
145-
##### Documentation: [Hello world](preview/tutorials/build-apps/)
145+
##### Documentation: [Hello world](preview/develop/tutorials/build-apps/)
146146
147147
Use your favorite programming language to build a Hello world application.
148148
@@ -158,7 +158,7 @@ Learn how to design globally distributed applications using patterns.
158158
159159
Tips and tricks to build applications for high performance and availability.
160160
161-
##### Documentation: [Drivers and ORMs](preview/drivers-orms/)
161+
##### Documentation: [Drivers and ORMs](preview/develop/drivers-orms/)
162162
163163
Connect applications with your database.
164164

docs/content/preview/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ YugabyteDB is an open source PostgreSQL-compatible distributed database for clou
3434
title="Build a Hello World application"
3535
description="Use your favorite programming language to build an application that connects to a YugabyteDB cluster."
3636
buttonText="Build"
37-
buttonUrl="/preview/tutorials/build-apps/"
37+
buttonUrl="/preview/develop/tutorials/build-apps/"
3838
>}}
3939
4040
{{< sections/3-box-card
4141
title="Connect using drivers and ORMs"
4242
description="Connect applications to your database using familiar third-party divers and ORMs and YugabyteDB Smart Drivers."
4343
buttonText="Connect"
44-
buttonUrl="/preview/drivers-orms/"
44+
buttonUrl="/preview/develop/drivers-orms/"
4545
>}}
4646
4747
{{< sections/3-box-card

docs/content/preview/additional-features/change-data-capture/using-logical-replication/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ Consider the requirement where there are multiple applications, all of them requ
2727

2828
An application can connect to any of the YB-TServer nodes to consume from a replication slot. Furthermore, even in case of an interruption, a fresh connection can be made to a different node (different from the node from which consumption was previously happening) to continue consumption from the same replication slot.
2929

30-
When there are multiple consuming applications each consuming from a different replication slot, it is best that the applications connect to different YB-TServer nodes in the cluster. This ensures better load balancing. The [YugabyteDB smart driver](../../../../drivers-orms/smart-drivers/) does this automatically, so it is recommended that applications use this smart driver.
30+
When there are multiple consuming applications each consuming from a different replication slot, it is best that the applications connect to different YB-TServer nodes in the cluster. This ensures better load balancing. The [YugabyteDB smart driver](/preview/develop/drivers-orms/smart-drivers/) does this automatically, so it is recommended that applications use this smart driver.

0 commit comments

Comments
 (0)