Skip to content

Commit

Permalink
docs fixtypo C++
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jul 15, 2023
1 parent 8548509 commit 8ca7813
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions docs/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ sidebar_position: 0
sidebar_label: 🔥 Prologue
slug: /
hide_table_of_contents: true
description: TinyORM is a modern c++ ORM library that makes interacting with a database extremely simple. It depends on the QtCore and QtSql libraries. The code is written in the modern c++20 way and is heavily tested with unit and functional tests.
description: TinyORM is a modern C++ ORM library that makes interacting with a database extremely simple. It depends on the QtCore and QtSql libraries. The code is written in the modern C++20 way and is heavily tested with unit and functional tests.
keywords: [c++ orm, prologue, tinyorm]
---

# Prologue

TinyORM is a modern c++ ORM library that makes interacting with a database extremely simple. It depends on the `QtCore` and `QtSql` libraries.
TinyORM is a modern C++ ORM library that makes interacting with a database extremely simple. It depends on the `QtCore` and `QtSql` libraries.

The code is written in the modern c++20 way and is __heavily__ tested with unit and functional tests. Almost all the query builder methods are unit tested. The TinyORM's query builder code and the code which is responsible for obtaining relationships, is tested by functional tests against all supported databases. The code coverage is good enough to guarantee API and behavior compatibility.
The code is written in the modern C++20 way and is __heavily__ tested with unit and functional tests. Almost all the query builder methods are unit tested. The TinyORM's query builder code and the code which is responsible for obtaining relationships, is tested by functional tests against all supported databases. The code coverage is good enough to guarantee API and behavior compatibility.

:::tip
For a quick look at what's inside, check out the [Features Summary](features-summary.mdx).
Expand Down
4 changes: 2 additions & 2 deletions docs/building/migrations.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 3
sidebar_label: Migrations
description: How to compile the TinyORM migrations (tom) c++ console application on Windows and Linux.
description: How to compile the TinyORM migrations (tom) C++ console application on Windows and Linux.
keywords: [c++ orm, building, migrations, tinyorm]
---

Expand Down Expand Up @@ -155,7 +155,7 @@ And paste the following code.
/*! Build the database manager instance and add a database connection. */
std::shared_ptr<DatabaseManager> setupManager();

/*! c++ main function. */
/*! C++ main function. */
int main(int argc, char *argv[])
{
try {
Expand Down
6 changes: 3 additions & 3 deletions docs/building/tinyorm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar_position: 0
sidebar_label: TinyORM
hide_table_of_contents: true
description: How to compile the TinyORM c++ library on Windows and Linux.
description: How to compile the TinyORM C++ library on Windows and Linux.
keywords: [c++ orm, building, tinyorm]
---

Expand Down Expand Up @@ -438,8 +438,8 @@ Important `CMake` options.
| Option Name | Default | Description |
| ---------------------------------- | ------- | ----------- |
| `CMAKE_DISABLE_PRECOMPILE_HEADERS` | `OFF` | Disable precompiled headers. |
| `CMAKE_CXX_COMPILER` | `auto` | The full path to the `c++` compiler. |
| `CMAKE_CXX_COMPILER_LAUNCHER` | `-` | Default compiler launcher to use for the `c++` compiler.<br/>Can be used to enable `ccache`, eg. `ccache.exe` on `MinGW` or `/usr/bin/ccache` on `Linux`. |
| `CMAKE_CXX_COMPILER` | `auto` | The full path to the `C++` compiler. |
| `CMAKE_CXX_COMPILER_LAUNCHER` | `-` | Default compiler launcher to use for the `C++` compiler.<br/>Can be used to enable `ccache`, eg. `ccache.exe` on `MinGW` or `/usr/bin/ccache` on `Linux`. |
| `CMAKE_EXPORT_PACKAGE_REGISTRY` | `ON` | Enable the `export(TinyOrm)` command.<br/>`TinyORM` sets this variable to `ON` by default. |
| `CMAKE_VERBOSE_MAKEFILE` | `OFF` | Enable verbose output from Makefile builds. |

Expand Down
2 changes: 1 addition & 1 deletion docs/database/migrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ The schema builder blueprint offers a variety of methods that correspond to the
</div>

:::info
Names of `Char`, `Double`, `Enum`, and `Float` column methods are in the CamelCase format to avoid collisions with c++ keywords.
Names of `Char`, `Double`, `Enum`, and `Float` column methods are in the CamelCase format to avoid collisions with C++ keywords.
:::

<div class="tom-column-types">
Expand Down
4 changes: 2 additions & 2 deletions docs/dependencies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ keywords: [c++ orm, dependencies, tinyorm]

# Dependencies

The code was developed on MSVC 16.9-16.11, MSVC 17.2-17.5, GCC 10.2-12.2, and Clang 11-16, so may be assumed it will work on future releases of these compilers. Minimum required ISO C++ standard is c++20.
The code was developed on MSVC 16.9-16.11, MSVC 17.2-17.5, GCC 10.2-12.2, and Clang 11-16, so may be assumed it will work on future releases of these compilers. Minimum required ISO C++ standard is C++20.
The Qt framework version used during development was 5.15.2 and >=6.2.

##### Required

- minimum ISO C++ standard is c++20
- minimum ISO C++ standard is C++20
- &gt;= [Qt Framework 5.15.2](https://www.qt.io/download-qt-installer) - [`QtCore`](https://doc.qt.io/qt-5/qtcore-module.html) and [`QtSql`](https://doc.qt.io/qt-5/qtsql-index.html) modules <small className='darker'>(MSVC 2019 binaries)</small>
- &gt;= [Qt Framework 6.2](https://www.qt.io/download-qt-installer) - [`QtCore`](https://doc.qt.io/qt-6/qtcore-module.html) and [`QtSql`](https://doc.qt.io/qt-6/qtsql-index.html) modules <small className='darker'>(MSVC 2019 binaries)</small>
- &gt;= [range-v3 0.11.0](https://github.com/ericniebler/range-v3)
Expand Down
2 changes: 1 addition & 1 deletion docs/supported-compilers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar_position: 2
sidebar_label: 🚀 Supported Compilers
hide_table_of_contents: true
description: Platform requirements, supported compilers and build systems for TinyORM c++ library.
description: Platform requirements, supported compilers and build systems for TinyORM C++ library.
keywords: [c++ orm, supported compilers, supported build systems, tinyorm]
---

Expand Down
4 changes: 2 additions & 2 deletions docs/tinyorm/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ Of course, when using TinyORM, we don't only need to retrieve models from the da

In this example, we assign the `name` attribute of the `Flight` model instance. When we call the `save` method, a record will be inserted into the database. The model's `created_at` and `updated_at` timestamps will automatically be set when the `save` method is called, so there is no need to set them manually.

Alternatively, you may use the `create` method to "save" a new model using a single c++ statement. The inserted model instance will be returned to you by the `create` method:
Alternatively, you may use the `create` method to "save" a new model using a single C++ statement. The inserted model instance will be returned to you by the `create` method:

#include "models/flight.hpp"

Expand Down Expand Up @@ -660,7 +660,7 @@ The `wasChanged` method determines if any attributes were changed after the mode

### Mass Assignment

You may use the `create` method to "save" a new model using a single c++ statement. The inserted model instance will be returned to you by the method:
You may use the `create` method to "save" a new model using a single C++ statement. The inserted model instance will be returned to you by the method:

#include "models/flight.hpp"

Expand Down

0 comments on commit 8ca7813

Please sign in to comment.