Skip to content

Commit 5aeb383

Browse files
committed
WIP: URLs: DataStax -> ScyllaDB docs
1 parent 7b77e66 commit 5aeb383

File tree

16 files changed

+55
-54
lines changed

16 files changed

+55
-54
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int main() {
137137
___
138138

139139
The driver inherits almost all the features of C/C++ and Rust drivers, such as:
140-
* [Asynchronous API](http://datastax.github.io/cpp-driver/topics/#futures)
140+
* [Asynchronous API](https://cpp-rust-driver.docs.scylladb.com/stable/topics/#futures)
141141
* Shard-aware routing
142142
* Simple, Prepared and Batch statements
143143
* Query paging
@@ -146,9 +146,9 @@ The driver inherits almost all the features of C/C++ and Rust drivers, such as:
146146
* Retry policies
147147
* SSL
148148
* Authentication
149-
* [Tuples](http://datastax.github.io/cpp-driver/topics/basics/data-types/tuples/) and [UDTs](http://datastax.github.io/cpp-driver/topics/basics/data-types/user-defined-types/)
150-
* [Nested collections](http://datastax.github.io/cpp-driver/topics/basics/binding-parameters/#nested-collections)
151-
* [Data types](http://datastax.github.io/cpp-driver/topics/basics/data-types/)
149+
* [Tuples](https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/data-types/tuples/) and [UDTs](http://https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/data-types/user-defined-types/)
150+
* [Nested collections](https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/binding-parameters/#nested-collections)
151+
* [Data types](https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/data-types/)
152152
* Schema metadata (keyspace metadata, materialized views, etc.)
153153

154154
# Limitations

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ def setup(sphinx):
187187
)
188188

189189
# Workaround to replace DataStax links
190+
# FIXME(David Garcia) - Make this workaround work correctly.
190191
replacements = [
191-
{"http://datastax.github.io/cpp-driver/api/cassandra.h/": "https://cpp-rust-driver.docs.scylladb.com/" + smv_latest_version + "/api"},
192+
{"https://cpp-rust-driver.docs.scylladb.com/stable/api/cassandra.h/": "https://cpp-rust-driver.docs.scylladb.com/" + smv_latest_version + "/api"},
192193
{"http://datastax.github.io/cpp-driver": "https://cpp-rust-driver.docs.scylladb.com/" + smv_latest_version},
193194
{"http://docs.datastax.com/en/developer/cpp-driver/latest": "https://cpp-rust-driver.docs.scylladb.com/" + smv_latest_version},
194195
]

docs/source/topics/configuration/performance-tips.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ to wait for one or more nodes to respond back to the coordinator node before a
3939
request can complete. In multi-datacenter configurations, consistency levels such as
4040
`EACH_QUORUM` can cause a request to wait for replication across a slower cross
4141
datacenter network link. More information about setting the consistency level
42-
can be found [here](http://datastax.github.io/cpp-driver/topics/basics/consistency/).
42+
can be found [here](https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/consistency/).
4343

4444
## Driver Tuning
4545

@@ -87,6 +87,6 @@ recommended that your application decrease this value if computationally
8787
expensive or long-running future callbacks are used (via
8888
`cass_future_set_callback()`), otherwise this can be left unchanged.
8989

90-
[token-aware]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/configuration/load_balancing#latency-aware-routing
91-
[latency-aware]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/configuration/load_balancing#token-aware-routing
92-
[paging]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/handling_results#paging
90+
[token-aware]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/configuration/load-balancing#latency-aware-routing
91+
[latency-aware]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/configuration/load-balancing#token-aware-routing
92+
[paging]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/basics/handling-results#paging

docs/source/topics/configuration/retry-policies.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ cass_retry_policy_free(logging_policy);
141141

142142
cass_cluster_free(cluster);
143143
```
144-
[`cass_cluster_set_retry_policy()`]: http://datastax.github.io/cpp-driver/api/struct.CassCluster#cass-cluster-set-retry-policy
145-
[`cass_statement_set_retry_policy()`]: http://datastax.github.io/cpp-driver/api/struct.CassStatement#cass-statement-set-retry-policy
146-
[`cass_statement_set_is_idempotent()`]: http://datastax.github.io/cpp-driver/api/struct.CassStatement#cass-statement-set-is-idempotent
147-
[`cass_batch_set_retry_policy()`]: http://datastax.github.io/cpp-driver/api/struct.CassBatch#cass-batch-set-retry-policy
148-
[`cass_batch_set_is_idempotent()`]: http://datastax.github.io/cpp-driver/api/struct.CassBatch#cass-batch-set-is-idempotent
149-
[`CASS_LOG_INFO`]: http://datastax.github.io/cpp-driver/api/cassandra.h#cass-log-level
144+
[`cass_cluster_set_retry_policy()`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassCluster#cass-cluster-set-retry-policy
145+
[`cass_statement_set_retry_policy()`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassStatement#cass-statement-set-retry-policy
146+
[`cass_statement_set_is_idempotent()`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassStatement#cass-statement-set-is-idempotent
147+
[`cass_batch_set_retry_policy()`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassBatch#cass-batch-set-retry-policy
148+
[`cass_batch_set_is_idempotent()`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassBatch#cass-batch-set-is-idempotent
149+
[`CASS_LOG_INFO`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/cassandra.h#cass-log-level

docs/source/topics/observability/metrics.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ a request fails to get a timely response.
3838
Connection timeouts occur when the process of establishing new connections is
3939
unresponsive.
4040
41-
[`cass_session_get_metrics()`]: http://datastax.github.io/cpp-driver/api/struct.CassSession#1ab3773670c98c00290bad48a6df0f9eae
42-
[`CassMetrics`]: http://datastax.github.io/cpp-driver/api/struct.CassMetrics
43-
[`requests`]: http://datastax.github.io/cpp-driver/api/struct.CassMetrics#attribute-requests
44-
[`stats`]: http://datastax.github.io/cpp-driver/api/struct.CassMetrics#attribute-stats
45-
[`errors`]: http://datastax.github.io/cpp-driver/api/struct.CassMetrics#attribute-errors
41+
[`cass_session_get_metrics()`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassSession#1ab3773670c98c00290bad48a6df0f9eae
42+
[`CassMetrics`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassMetrics
43+
[`requests`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassMetrics#attribute-requests
44+
[`stats`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassMetrics#attribute-stats
45+
[`errors`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassMetrics#attribute-errors

docs/source/topics/security/tls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The following [guide](http://www.datastax.com/documentation/cassandra/2.1/cassan
5959

6060
## Setting up the C/C++ Driver to Use TLS
6161

62-
A [`CassSsl`](http://datastax.github.io/cpp-driver/api/struct.CassSsl) object is required and must be configured:
62+
A [`CassSsl`](https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassSsl) object is required and must be configured:
6363

6464
```c
6565
#include <cassandra.h>

docs/source/topics/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ Here are some of the items being scheduled for future enhancements.
116116
- Updates to CCM Bridge
117117
- Allow files to be copied over SSH established connection
118118

119-
[build procedures]: http://datastax.github.io/cpp-driver/topics/building#test-dependencies-and-building-tests-not-required
119+
[build procedures]: https://cpp-rust-driver.docs.scylladb.com/stable/topics/building#test-dependencies-and-building-tests-not-required

docs/source/topics/using/binding-parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Calling `cass_statement_reset_parameters()` will unbind (or resize) a statement'
3636

3737
## Constructing Collections
3838

39-
Collections are supported using [`CassCollection`](http://datastax.github.io/cpp-driver/api/struct.CassCollection) objects; supporting `list`, `map` and `set` ScyllaDB/Cassandra types. The code below shows how to construct a `list` collection; however, a set can be constructed in a very similar way. The only difference is the type `CASS_COLLECTION_TYPE_SET` is used to create the collection instead of `CASS_COLLECTION_TYPE_LIST`.
39+
Collections are supported using [`CassCollection`](https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassCollection) objects; supporting `list`, `map` and `set` ScyllaDB/Cassandra types types. The code below shows how to construct a `list` collection; however, a set can be constructed in a very similar way. The only difference is the type `CASS_COLLECTION_TYPE_SET` is used to create the collection instead of `CASS_COLLECTION_TYPE_LIST`.
4040

4141
**Important**: Values appended to the collection can be freed immediately afterward because the values are copied.
4242

@@ -85,4 +85,4 @@ cass_collection_free(map);
8585
A collection can be added to another collection using [`cass_collection_append_collection()`].
8686

8787
[`cass_collection_append_collection()`]:
88-
http://datastax.github.io/cpp-driver/api/struct.CassCollection#cass-collection-append-collection
88+
https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassCollection#cass-collection-append-collection

docs/source/topics/using/client-side-timestamps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ cass_batch_set_timestamp(batch, 123456789);
6161
/* Add statements to batch */
6262
```
6363
64-
[`CassStatement`]: http://datastax.github.io/cpp-driver/api/struct.CassStatement/
65-
[`CassBatch`]: http://datastax.github.io/cpp-driver/api/struct.CassBatch/
64+
[`CassStatement`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassStatement/
65+
[`CassBatch`]: https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassBatch/

docs/source/topics/using/consistency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ application. Descriptions for each read/write consistency level can be found
8282

8383
## Setting Consistency Level
8484

85-
A ['CassStatement'](http://datastax.github.io/cpp-driver/api/struct.CassFuture/) object
85+
A ['CassStatement'](https://cpp-rust-driver.docs.scylladb.com/stable/api/struct.CassFuture/) object
8686
can have its consistency level altered at anytime before the statement is
8787
executed by the session.
8888

0 commit comments

Comments
 (0)