Skip to content

DOC-373:Fix URLs with underscores #1226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/doc-sdk-golang/methods/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This page lists out the methods that are available in the SurrealDB class.
<td scope="row" data-label="Description">Initiate a live query from a [SurrealQL statement](/docs/surrealql/)</td>
</tr>
<tr>
<td scope="row" data-label="Method"><a href="/docs/sdk/golang/methods/live_notification"> <code>db.LiveNotifications&#91;T&#93;(queryUuid)</code></a></td>
<td scope="row" data-label="Method"><a href="/docs/sdk/golang/methods/live-notification"> <code>db.LiveNotifications&#91;T&#93;(queryUuid)</code></a></td>
<td scope="row" data-label="Description"> Get notifications from a live query </td>
</tr>
<tr>
Expand Down Expand Up @@ -98,7 +98,7 @@ This page lists out the methods that are available in the SurrealDB class.
<td scope="row" data-label="Description">Inserts one or multiple records in the database</td>
</tr>
<tr>
<td scope="row" data-label="Method"><a href="/docs/sdk/golang/methods/insert_relation"> <code>db.InsertRelation&#91;T&#93;(table, data)</code></a></td>
<td scope="row" data-label="Method"><a href="/docs/sdk/golang/methods/insert-relation"> <code>db.InsertRelation&#91;T&#93;(table, data)</code></a></td>
<td scope="row" data-label="Description">Inserts one or multiple records in the database</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/content/doc-sdk-python/methods/insert.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ This function will run the following query in the database.
INSERT INTO $thing $data;
```

You can insert relations using the [`insert_relation()` method](/docs/sdk/python/methods/insert_relation).
You can insert relations using the [`insert_relation()` method](/docs/sdk/python/methods/insert-relation).
2 changes: 1 addition & 1 deletion src/content/doc-sdk-rust/methods/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Most methods in the SurrealDB SDK involve either working with or creating an ins
<td scope="row" data-label="Description">Selects all records in a table, or a specific record</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/select_live"> <code>db.select().live()</code></a></td>
<td scope="row" data-label="Function"><a href="/docs/sdk/rust/methods/select-live"> <code>db.select().live()</code></a></td>
<td scope="row" data-label="Description">Performs a LIVE SELECT query on the database</td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions src/content/doc-surrealdb/integration/cbor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SurrealDB extends the [CBOR](https://www.rfc-editor.org/rfc/rfc8949.html) protoc
[Tag 6](#tag-6)
</td>
<td scope="row" data-label="Value">
[`NONE`](/docs/surrealql/datamodel/none_and_null#none-values)
[`NONE`](/docs/surrealql/datamodel/none-and-null#none-values)
</td>
</tr>
<tr>
Expand Down Expand Up @@ -204,7 +204,7 @@ Adopted from the [Iana Specification](https://www.iana.org/assignments/cbor-tags

### Tag 6

Represents a [`NONE`](/docs/surrealql/datamodel/none_and_null#none-values) value. The value passed to the tagged value is `null`, as it cannot be empty.
Represents a [`NONE`](/docs/surrealql/datamodel/none-and-null#none-values) value. The value passed to the tagged value is `null`, as it cannot be empty.

### Tag 7

Expand Down
2 changes: 1 addition & 1 deletion src/content/doc-surrealdb/models/graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,6 @@ For more SurrealQL examples, see the [`DELETE`](/docs/surrealql/statements/delet

## Resources

- [Graph reference guide](/docs/surrealdb/reference-guide/graph_relations)
- [Graph reference guide](/docs/surrealdb/reference-guide/graph-relations)
- [`RELATE` statement documentation](/docs/surrealql/statements/relate)
- [SurrealDB University](/learn)
2 changes: 1 addition & 1 deletion src/content/doc-surrealdb/reference-guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ These guides will help you dig deeper into some of the core concepts and feature
To get started, select a guide from the sidebar or use the search functionality to find a specific topic of interest.

- [Full-Text Search](/docs/surrealdb/reference-guide/full-text-search)
- [Graph Relations](/docs/surrealdb/reference-guide/graph_relations)
- [Graph Relations](/docs/surrealdb/reference-guide/graph-relations)
- [Observability](/docs/surrealdb/reference-guide/observability)
- [Security Best Practices](/docs/surrealdb/reference-guide/security-best-practices)
- [Vector Search](/docs/surrealdb/reference-guide/vector-search)
Expand Down
4 changes: 2 additions & 2 deletions src/content/doc-surrealql/clauses/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ In SurrealQL, clauses can be used to alter the way a query is executed. They are
- [`EXPLAIN`](/docs/surrealql/clauses/explain): Explain the query plan.
- [`FETCH`](/docs/surrealql/clauses/fetch): Fetch all the fields of related records.
- [`FROM`](/docs/surrealql/clauses/from): Specify the table(s) or other target(s) to query from.
- [`GROUP BY`](/docs/surrealql/clauses/group_by): Group the results by a set of fields.
- [`GROUP BY`](/docs/surrealql/clauses/group-by): Group the results by a set of fields.
- [`LIMIT`](/docs/surrealql/clauses/limit): Limit the number of results.
- [`OMIT`](/docs/surrealql/clauses/omit): Omit related records.
- [`ORDER BY`](/docs/surrealql/clauses/order_by): Specify the sort order of the results.
- [`ORDER BY`](/docs/surrealql/clauses/order-by): Specify the sort order of the results.
- [`SPLIT`](/docs/surrealql/clauses/split): Split the results into a set of subqueries.
- [`WHERE`](/docs/surrealql/clauses/where): Specify a condition that acts as a filter.
- [`WITH`](/docs/surrealql/clauses/with): Replace the default table iterator with an index iterator.
Expand Down
12 changes: 6 additions & 6 deletions src/content/doc-surrealql/functions/database/geo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ RETURN geo::area({
```surql title="Response"
253317731850.3478f
```
If the argument is not a geometry type, then an [`EMPTY`](/docs/surrealql/datamodel/none_and_null) value will be returned:
If the argument is not a geometry type, then an [`EMPTY`](/docs/surrealql/datamodel/none-and-null) value will be returned:

```surql
RETURN geo::area(12345);
Expand Down Expand Up @@ -146,7 +146,7 @@ RETURN geo::bearing($paris, $le_puy_en_velay);
}}
/>

If either argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none_and_null) value will be returned:
If either argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none-and-null) value will be returned:

```surql
RETURN geo::bearing(12345, true);
Expand Down Expand Up @@ -191,7 +191,7 @@ The return value is a mountainous region somewhere in Austria:
}}
/>

If either argument is not a geometry type, then an [`EMPTY`](/docs/surrealql/datamodel/none_and_null) value will be returned:
If either argument is not a geometry type, then an [`EMPTY`](/docs/surrealql/datamodel/none-and-null) value will be returned:

```surql
RETURN geo::centroid(12345);
Expand Down Expand Up @@ -228,7 +228,7 @@ RETURN geo::distance($london, $harare);
}}
/>

If either argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none_and_null) value will be returned:
If either argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none-and-null) value will be returned:

```surql
RETURN geo::distance(12345, true);
Expand All @@ -254,7 +254,7 @@ RETURN geo::hash::decode("mpuxk4s24f51");
```surql title="Response"
(51.50986494496465, -0.11809204705059528)
```
If the argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none_and_null) value will be returned:
If the argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none-and-null) value will be returned:

```surql
RETURN geo::hash::decode(12345);
Expand Down Expand Up @@ -291,7 +291,7 @@ RETURN geo::hash::encode( (51.509865, -0.118092), 5 );

"mpuxk"
```
If the first argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none_and_null) value will be returned:
If the first argument is not a geolocation point, then an [`EMPTY`](/docs/surrealql/datamodel/none-and-null) value will be returned:

```surql
RETURN geo::hash::encode(12345);
Expand Down