From 724a9d3608e39e692b90c4392280393fbbc9e5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 7 Mar 2026 23:35:10 +0100 Subject: [PATCH] docs(website): Improve the documentation page titles (for SEO) --- docs/website/docs/features/aggregations.md | 2 +- docs/website/docs/features/arrays.md | 2 +- docs/website/docs/features/bulk-writes.md | 2 +- docs/website/docs/features/crud.md | 2 +- docs/website/docs/features/fields.md | 2 +- .../docs/features/filtered-collections.md | 2 +- docs/website/docs/features/maps.md | 2 +- .../website/docs/features/optional-filters.md | 2 +- docs/website/docs/tutorials/find.md | 2 +- .../docs/tutorials/from-kmongo/find.md | 2 +- .../docs/tutorials/from-kmongo/update.md | 2 +- docs/website/docs/tutorials/index.md | 2 +- docs/website/docs/tutorials/update.md | 2 +- docs/website/mkdocs.yml | 26 +++++++++---------- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/website/docs/features/aggregations.md b/docs/website/docs/features/aggregations.md index ab2c2c11..3d7be022 100644 --- a/docs/website/docs/features/aggregations.md +++ b/docs/website/docs/features/aggregations.md @@ -1,4 +1,4 @@ -# Introduction to aggregations +# Introduction to MongoDB aggregations in Kotlin MongoDB aggregations are a way to declare a pipeline of operations that MongoDB will execute on your data. Unlike in regular queries, aggregation allow complex operators to better control your data. For example, you can compare two fields of the same document, sort based on a computed value, or combine multiple documents. diff --git a/docs/website/docs/features/arrays.md b/docs/website/docs/features/arrays.md index be85ba44..b68c159e 100644 --- a/docs/website/docs/features/arrays.md +++ b/docs/website/docs/features/arrays.md @@ -1,4 +1,4 @@ -# Arrays +# Querying MongoDB arrays in Kotlin Documents can also be stored in arrays. In Kotlin, BSON arrays can be represented using any collection type, like `List` or `Set`. diff --git a/docs/website/docs/features/bulk-writes.md b/docs/website/docs/features/bulk-writes.md index 7e1990c0..b5ad5e75 100644 --- a/docs/website/docs/features/bulk-writes.md +++ b/docs/website/docs/features/bulk-writes.md @@ -1,4 +1,4 @@ -# Bulk writes +# Updating multiple MongoDB documents in a single request with Kotlin Changing one document at a time can be quite expensive because of the high network activity and high latencies. Instead, when we know we want to edit multiple documents, we prefer to do so in a single request. diff --git a/docs/website/docs/features/crud.md b/docs/website/docs/features/crud.md index 18e8bb6e..a1789fd8 100644 --- a/docs/website/docs/features/crud.md +++ b/docs/website/docs/features/crud.md @@ -1,4 +1,4 @@ -# CRUD operations +# Making CRUD operations in MongoDB with Kotlin CRUD operations (Create, Read, Update and Delete) are the most basic operations a database supports. diff --git a/docs/website/docs/features/fields.md b/docs/website/docs/features/fields.md index c4e2af93..4f6cca9c 100644 --- a/docs/website/docs/features/fields.md +++ b/docs/website/docs/features/fields.md @@ -1,4 +1,4 @@ -# Nested documents +# Querying nested MongoDB documents in Kotlin As we have seen in the [CRUD operations](crud.md) article, KtMongo operators apply to specific fields in a document. This article describes the different ways in which we can refer to these fields. diff --git a/docs/website/docs/features/filtered-collections.md b/docs/website/docs/features/filtered-collections.md index eb556dfc..38da965b 100644 --- a/docs/website/docs/features/filtered-collections.md +++ b/docs/website/docs/features/filtered-collections.md @@ -1,4 +1,4 @@ -# Filtered collections +# Filtered collections: client-side logical views for MongoDB in Kotlin Filtered collections are logical views that exist purely in the driver and are never sent to MongoDB. Unlike [native MongoDB views](https://www.mongodb.com/docs/manual/core/views/) that are proper MongoDB objects and have a number of limitations (for example, they do not support write operations), KtMongo filtered collections are purely syntax sugar and are thus free to create and use, with fewer limitations. diff --git a/docs/website/docs/features/maps.md b/docs/website/docs/features/maps.md index 0ab17f00..8f4f67cf 100644 --- a/docs/website/docs/features/maps.md +++ b/docs/website/docs/features/maps.md @@ -1,4 +1,4 @@ -# Maps +# Querying Kotlin maps in MongoDB Kotlin has the `Map` type, which doesn't exist in BSON. Most serialization libraries treat `Map` specially, and serialize it as an object (the keys become fields and the value their value). diff --git a/docs/website/docs/features/optional-filters.md b/docs/website/docs/features/optional-filters.md index 863208a6..6806734d 100644 --- a/docs/website/docs/features/optional-filters.md +++ b/docs/website/docs/features/optional-filters.md @@ -1,4 +1,4 @@ -# Optional criteria +# Ergonomically managing optional filters in MongoDB queries in Kotlin When developing user interfaces, we often expose ways to query data that the user can control. In some cases, we know exactly what the user is searching for and can thus write a dedicated query. In some other cases, we provide multiple filters to the user that they can enable or disable. diff --git a/docs/website/docs/tutorials/find.md b/docs/website/docs/tutorials/find.md index 786cc2d0..235d1fbf 100644 --- a/docs/website/docs/tutorials/find.md +++ b/docs/website/docs/tutorials/find.md @@ -1,4 +1,4 @@ -# Finding data +# Finding data in MongoDB with the KtMongo driver !!! note "" Before retrieving data, you must [connect to the database and obtain a collection](index.md). diff --git a/docs/website/docs/tutorials/from-kmongo/find.md b/docs/website/docs/tutorials/from-kmongo/find.md index 3eab3a90..e231da77 100644 --- a/docs/website/docs/tutorials/from-kmongo/find.md +++ b/docs/website/docs/tutorials/from-kmongo/find.md @@ -1,4 +1,4 @@ -# Finding data +# Converting your KMongo queries to KtMongo KMongo operators primarily work by accepting varargs which are combined into `Bson` documents. diff --git a/docs/website/docs/tutorials/from-kmongo/update.md b/docs/website/docs/tutorials/from-kmongo/update.md index 6614ac0b..87308e07 100644 --- a/docs/website/docs/tutorials/from-kmongo/update.md +++ b/docs/website/docs/tutorials/from-kmongo/update.md @@ -1,4 +1,4 @@ -# Updating data +# Converting your KMongo updates to KtMongo Much like [find variants](find.md), update operations use a DSL instead of passing raw BSON values. diff --git a/docs/website/docs/tutorials/index.md b/docs/website/docs/tutorials/index.md index c57d83db..efafdf9e 100644 --- a/docs/website/docs/tutorials/index.md +++ b/docs/website/docs/tutorials/index.md @@ -1,4 +1,4 @@ -# Getting started +# Get started with the KtMongo MongoDB driver for Kotlin KtMongo is a modern DSL for interacting with MongoDB in Kotlin. On the JVM, KtMongo is built on top of the official Kotlin driver. diff --git a/docs/website/docs/tutorials/update.md b/docs/website/docs/tutorials/update.md index 87194d0d..d8587957 100644 --- a/docs/website/docs/tutorials/update.md +++ b/docs/website/docs/tutorials/update.md @@ -1,4 +1,4 @@ -# Updating data +# Updating data in MongoDB with the KtMongo driver !!! note "" Before retrieving data, you must [connect to the database and obtain a collection](index.md). diff --git a/docs/website/mkdocs.yml b/docs/website/mkdocs.yml index 714debe9..f6966f13 100644 --- a/docs/website/mkdocs.yml +++ b/docs/website/mkdocs.yml @@ -116,31 +116,31 @@ nav: - Getting started: - tutorials/index.md - - tutorials/find.md - - tutorials/update.md + - Finding data: tutorials/find.md + - Updating data: tutorials/update.md - Migrating from KMongo: - tutorials/from-kmongo/index.md - - tutorials/from-kmongo/find.md - - tutorials/from-kmongo/nested-fields.md - - tutorials/from-kmongo/update.md + - Finding data: tutorials/from-kmongo/find.md + - Nested documents: tutorials/from-kmongo/nested-fields.md + - Updating data: tutorials/from-kmongo/update.md - Kotlin Multiplatform: - tutorials/multiplatform/index.md - Features: - - features/crud.md - - features/bulk-writes.md - - features/optional-filters.md - - features/filtered-collections.md + - CRUD operations: features/crud.md + - Bulk writes: features/bulk-writes.md + - Optional filters: features/optional-filters.md + - Filtered collections: features/filtered-collections.md - Data types: - - features/fields.md - - features/arrays.md - - features/maps.md + - Nested documents: features/fields.md + - Arrays: features/arrays.md + - Maps: features/maps.md - Aggregations: - - features/aggregations.md + - Introduction: features/aggregations.md # !!! EMBEDDED DOKKA START, DO NOT COMMIT !!! # # !!! EMBEDDED DOKKA END, DO NOT COMMIT !!! # -- 2.51.2