Skip to content

Commit dfb5b7c

Browse files
committed
some docs update for documentor
1 parent 3998a9a commit dfb5b7c

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

README-dev.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Releasing
77
* For beta releases, use a version like ``(2, 1, '0b1')``
88
* For release candidates, use a version like ``(2, 1, '0rc1')``
99
* When in doubt, follow PEP 440 versioning
10+
* Update the version in ``docs.yaml``
1011

1112
* Commit the changelog and version changes
1213
* Tag the release. For example: ``git tag -a 1.0.0 -m 'version 1.0.0'``
@@ -25,7 +26,7 @@ Releasing
2526

2627
* Commit and push
2728
* Update 'cassandra-test' branch to reflect new release
28-
29+
2930
* this is typically a matter of merging or rebasing onto master
3031
* test and push updated branch to origin
3132

cassandra/cqlengine/columns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ class BaseCollectionColumn(Column):
699699
"""
700700
Base Container type for collection-like columns.
701701
702-
https://cassandra.apache.org/doc/cql3/CQL.html#collections
702+
http://cassandra.apache.org/doc/cql3/CQL-3.0.html#collections
703703
"""
704704
def __init__(self, types, **kwargs):
705705
"""

cassandra/cqlengine/functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class MinTimeUUID(TimeUUIDQueryFunction):
8686
"""
8787
return a fake timeuuid corresponding to the smallest possible timeuuid for the given timestamp
8888
89-
http://cassandra.apache.org/doc/cql3/CQL.html#timeuuidFun
89+
http://cassandra.apache.org/doc/cql3/CQL-3.0.html#timeuuidFun
9090
"""
9191
format_string = 'MinTimeUUID(%({0})s)'
9292

@@ -95,7 +95,7 @@ class MaxTimeUUID(TimeUUIDQueryFunction):
9595
"""
9696
return a fake timeuuid corresponding to the largest possible timeuuid for the given timestamp
9797
98-
http://cassandra.apache.org/doc/cql3/CQL.html#timeuuidFun
98+
http://cassandra.apache.org/doc/cql3/CQL-3.0.html#timeuuidFun
9999
"""
100100
format_string = 'MaxTimeUUID(%({0})s)'
101101

@@ -104,7 +104,7 @@ class Token(BaseQueryFunction):
104104
"""
105105
compute the token for a given partition key
106106
107-
http://cassandra.apache.org/doc/cql3/CQL.html#tokenFun
107+
http://cassandra.apache.org/doc/cql3/CQL-3.0.html#tokenFun
108108
"""
109109
def __init__(self, *values):
110110
if len(values) == 1 and isinstance(values[0], (list, tuple)):

cassandra/cqlengine/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class BatchQuery(object):
135135
"""
136136
Handles the batching of queries
137137
138-
http://www.datastax.com/docs/1.2/cql_cli/cql/BATCH
138+
http://docs.datastax.com/en/cql/3.0/cql/cql_reference/batch_r.html
139139
140140
See :doc:`/cqlengine/batches` for more details.
141141
"""

docs/cqlengine/queryset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Token Function
224224
Token functon may be used only on special, virtual column pk__token, representing token of partition key (it also works for composite partition keys).
225225
Cassandra orders returned items by value of partition key token, so using cqlengine.Token we can easy paginate through all table rows.
226226

227-
See http://cassandra.apache.org/doc/cql3/CQL.html#tokenFun
227+
See http://cassandra.apache.org/doc/cql3/CQL-3.0.html#tokenFun
228228

229229
*Example*
230230

docs/upgrading.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ See :ref:`query-paging` for full details.
250250
Protocol-Level Batch Statements
251251
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
252252
With version 1 of the native protocol, batching of statements required
253-
using a `BATCH cql query <http://cassandra.apache.org/doc/cql3/CQL.html#batchStmt>`_.
253+
using a `BATCH cql query <http://cassandra.apache.org/doc/cql3/CQL-3.0.html#batchStmt>`_.
254254
With version 2 of the native protocol, you can now batch statements at
255255
the protocol level. This allows you to use many different prepared
256256
statements within a single batch.

0 commit comments

Comments
 (0)