Skip to content

Commit 6cba250

Browse files
committed
squashed mkdocs
1 parent 62eade2 commit 6cba250

File tree

11 files changed

+242
-63
lines changed

11 files changed

+242
-63
lines changed

build-doc.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
set -e
2+
# Set up python environment
3+
#pyenv local 3.10.1
4+
#pip install mkdocs mkdocs-material pip install mkdocs-awesome-pages-plugin
5+
6+
# In some bash/zsh environments, the locale is not set correctly, which causes mkdocs to fail.
7+
export LC_ALL=en_US.UTF-8
8+
export LANG=en_US.UTF-8
9+
10+
# Build Javadoc
11+
mvn clean install -DskipTests # or guava-shaded can not be found
12+
# mvn javadoc:javadoc -pl core,query-builder,mapper-runtime
13+
mvn javadoc:aggregate
14+
15+
# Build manual with API references
16+
mkdocs build # or `mkdocs serve` to preview

core/src/main/java/com/datastax/oss/driver/api/core/config/DefaultDriverOption.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,8 +1022,8 @@ public enum DefaultDriverOption implements DriverOption {
10221022
* }
10231023
* </pre>
10241024
*
1025-
* Note: subnets must be represented as prefix blocks, see {@link
1026-
* inet.ipaddr.Address#isPrefixBlock()}.
1025+
* Note: subnets must be represented as prefix blocks, see <a
1026+
* href="https://javadoc.io/doc/com.github.seancfoley/ipaddress/latest/inet/ipaddr/Address.html#isPrefixBlock--">inet.ipaddr.Address.isPrefixBlock()</a>
10271027
*
10281028
* <p>Value type: {@link java.util.Map Map}&#60;{@link String},{@link String}&#62;
10291029
*/

core/src/main/java/com/datastax/oss/driver/api/core/data/CqlVector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static <V> CqlVector<V> newInstance(List<V> list) {
8080
* Create a new CqlVector instance from the specified string representation.
8181
*
8282
* @param str a String representation of a CqlVector
83-
* @param subtypeCodec
83+
* @param subtypeCodec the codec to use to parse the individual elements
8484
* @return a new CqlVector built from the String representation
8585
*/
8686
public static <V> CqlVector<V> from(@NonNull String str, @NonNull TypeCodec<V> subtypeCodec) {

docs.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

manual/HOME-README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

manual/api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../target/site/apidocs

manual/changelog-README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../changelog/README.md

manual/faq-README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../faq/README.md

manual/upgrade-README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../upgrade_guide/README.md

mkdocs.yml

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
site_name: Java Driver for Apache Cassandra
2+
site_description: Java Driver for Apache Cassandra® Documentation
3+
site_url: https://apache.github.io/cassandra-java-driver
4+
repo_url: https://github.com/apache/cassandra-java-driver
5+
repo_name: apache/cassandra-java-driver
6+
7+
docs_dir: manual
8+
site_dir: docs
9+
10+
theme:
11+
name: material
12+
palette:
13+
- scheme: default
14+
primary: blue
15+
accent: blue
16+
features:
17+
- navigation.tabs
18+
- navigation.sections
19+
- navigation.top
20+
- search.highlight
21+
- search.share
22+
23+
markdown_extensions:
24+
- admonition
25+
- codehilite
26+
- pymdownx.superfences
27+
- pymdownx.tabbed
28+
- toc:
29+
permalink: true
30+
31+
nav:
32+
- Home: HOME-README.md
33+
- Manual:
34+
- Overview: README.md
35+
- API Conventions: api_conventions/README.md
36+
- Case Sensitivity: case_sensitivity/README.md
37+
- Cloud: cloud/README.md
38+
- Core:
39+
- Overview: core/README.md
40+
- Integration: core/integration/README.md
41+
- Configuration: core/configuration/README.md
42+
- Authentication: core/authentication/README.md
43+
- SSL: core/ssl/README.md
44+
- Load Balancing: core/load_balancing/README.md
45+
- Pooling: core/pooling/README.md
46+
- Reconnection: core/reconnection/README.md
47+
- Retries: core/retries/README.md
48+
- Speculative Execution: core/speculative_execution/README.md
49+
- Metrics: core/metrics/README.md
50+
- Logging: core/logging/README.md
51+
- Statements:
52+
- Overview: core/statements/README.md
53+
- Batch: core/statements/batch/README.md
54+
- Per Query Keyspace: core/statements/per_query_keyspace/README.md
55+
- Prepared: core/statements/prepared/README.md
56+
- Simple: core/statements/simple/README.md
57+
- Paging: core/paging/README.md
58+
- Async Programming: core/async/README.md
59+
- Reactive Streams: core/reactive/README.md
60+
- Custom Codecs: core/custom_codecs/README.md
61+
- Temporal Types: core/temporal_types/README.md
62+
- Tuples: core/tuples/README.md
63+
- UDTs: core/udts/README.md
64+
- Compression: core/compression/README.md
65+
- Address Resolution: core/address_resolution/README.md
66+
- Request Tracker: core/request_tracker/README.md
67+
- Throttling: core/throttling/README.md
68+
- Tracing: core/tracing/README.md
69+
- Performance: core/performance/README.md
70+
- Metadata:
71+
- Overview: core/metadata/README.md
72+
- Node: core/metadata/node/README.md
73+
- Schema: core/metadata/schema/README.md
74+
- Token: core/metadata/token/README.md
75+
- Control Connection: core/control_connection/README.md
76+
- Native Protocol: core/native_protocol/README.md
77+
- Non-blocking: core/non_blocking/README.md
78+
- Query Timestamps: core/query_timestamps/README.md
79+
- Idempotence: core/idempotence/README.md
80+
- Detachable Types: core/detachable_types/README.md
81+
- DSE:
82+
- Overview: core/dse/README.md
83+
- Geotypes: core/dse/geotypes/README.md
84+
- Graph:
85+
- Overview: core/dse/graph/README.md
86+
- Fluent:
87+
- Overview: core/dse/graph/fluent/README.md
88+
- Explicit: core/dse/graph/fluent/explicit/README.md
89+
- Implicit: core/dse/graph/fluent/implicit/README.md
90+
- Options: core/dse/graph/options/README.md
91+
- Results: core/dse/graph/results/README.md
92+
- Script: core/dse/graph/script/README.md
93+
- GraalVM: core/graalvm/README.md
94+
- Shaded JAR: core/shaded_jar/README.md
95+
- BOM: core/bom/README.md
96+
- Query Builder:
97+
- Overview: query_builder/README.md
98+
- Select: query_builder/select/README.md
99+
- Insert: query_builder/insert/README.md
100+
- Update: query_builder/update/README.md
101+
- Delete: query_builder/delete/README.md
102+
- Schema:
103+
- Overview: query_builder/schema/README.md
104+
- Aggregate: query_builder/schema/aggregate/README.md
105+
- Function: query_builder/schema/function/README.md
106+
- Index: query_builder/schema/index/README.md
107+
- Keyspace: query_builder/schema/keyspace/README.md
108+
- Materialized View: query_builder/schema/materialized_view/README.md
109+
- Table: query_builder/schema/table/README.md
110+
- Type: query_builder/schema/type/README.md
111+
- Truncate: query_builder/truncate/README.md
112+
- Condition: query_builder/condition/README.md
113+
- Relation: query_builder/relation/README.md
114+
- Term: query_builder/term/README.md
115+
- Idempotence: query_builder/idempotence/README.md
116+
- Mapper:
117+
- Overview: mapper/README.md
118+
- Entities: mapper/entities/README.md
119+
- DAOs:
120+
- Overview: mapper/daos/README.md
121+
- Custom Types: mapper/daos/custom_types/README.md
122+
- Delete: mapper/daos/delete/README.md
123+
- Get Entity: mapper/daos/getentity/README.md
124+
- Increment: mapper/daos/increment/README.md
125+
- Insert: mapper/daos/insert/README.md
126+
- Null Saving: mapper/daos/null_saving/README.md
127+
- Query: mapper/daos/query/README.md
128+
- Query Provider: mapper/daos/queryprovider/README.md
129+
- Select: mapper/daos/select/README.md
130+
- Set Entity: mapper/daos/setentity/README.md
131+
- Statement Attributes: mapper/daos/statement_attributes/README.md
132+
- Update: mapper/daos/update/README.md
133+
- Mapper: mapper/mapper/README.md
134+
- Configuration:
135+
- Overview: mapper/config/README.md
136+
- Kotlin: mapper/config/kotlin/README.md
137+
- Lombok: mapper/config/lombok/README.md
138+
- Record: mapper/config/record/README.md
139+
- Scala: mapper/config/scala/README.md
140+
- Developer:
141+
- Overview: developer/README.md
142+
- Common:
143+
- Overview: developer/common/README.md
144+
- Concurrency: developer/common/concurrency/README.md
145+
- Context: developer/common/context/README.md
146+
- Event Bus: developer/common/event_bus/README.md
147+
- Native Protocol: developer/native_protocol/README.md
148+
- Netty Pipeline: developer/netty_pipeline/README.md
149+
- Request Execution: developer/request_execution/README.md
150+
- Admin: developer/admin/README.md
151+
- OSGi: osgi/README.md
152+
- API References: api/index.html
153+
- FAQ: faq-README.md
154+
- Changelog: changelog-README.md
155+
- Upgrade Guide: upgrade-README.md
156+
157+
plugins:
158+
- search
159+
- awesome-pages

0 commit comments

Comments
 (0)