cassandra/doc
Ariel Weisberg f7431b4328 Transient Replication and Cheap Quorums
Patch by Blake Eggleston, Benedict Elliott Smith, Marcus Eriksson, Alex Petrov, Ariel Weisberg; Reviewed by Blake Eggleston, Marcus Eriksson, Benedict Elliott Smith, Alex Petrov, Ariel Weisberg for CASSANDRA-14404

Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2018-08-31 21:34:22 -04:00
..
cql3 Merge branch 'cassandra-3.11' into trunk 2018-08-16 15:47:09 +01:00
source Transient Replication and Cheap Quorums 2018-08-31 21:34:22 -04:00
Dockerfile Clean up build artifacts in docs container 2018-05-10 04:27:58 -07:00
Makefile Merge branch 'cassandra-3.X' into trunk 2016-10-17 16:20:15 -05:00
README.md Update PyPi URL in doc/README.md and fix link 2018-05-30 16:02:47 -05:00
SASI.md Merge branch 'cassandra-3.11' into trunk 2018-03-15 17:45:10 +11:00
convert_yaml_to_rst.py Thrift removal 2016-12-13 10:27:12 +01:00
docker-compose.yml Created docker configuration to build sphinx docs. 2017-12-04 13:49:10 -08:00
gen-nodetool-docs.py Add repair streaming preview 2017-04-24 09:21:33 -07:00
make.bat Add initial in-tree documentation (very incomplete so far) 2016-06-14 18:16:42 +02:00
native_protocol_v3.spec Merge branch 'cassandra-3.0' into cassandra-3.11 2018-03-14 09:59:42 -07:00
native_protocol_v4.spec Merge branch 'cassandra-3.0' into cassandra-3.11 2018-03-14 09:59:42 -07:00
native_protocol_v5.spec Allow specifying now-in-seconds in native protocol 2018-08-30 16:54:32 +01:00

README.md

Apache Cassandra documentation directory

This directory contains the documentation maintained in-tree for Apache Cassandra. This directory contains the following documents:

  • The source of the official Cassandra documentation, in the source/ subdirectory. See below for more details on how to edit/build that documentation.
  • The specification(s) for the supported versions of native transport protocol.
  • Additional documentation on the SASI implementation (SASI.md). TODO: we should probably move the first half of that documentation to the general documentation, and the implementation explanation parts into the wiki.

Official documentation

The source for the official documentation for Apache Cassandra can be found in the source subdirectory. The documentation uses sphinx and is thus written in reStructuredText.

To build the HTML documentation, you will need to first install sphinx and the sphinx ReadTheDocs theme. When using Python 3.6 on Windows, use py -m pip install sphinx sphinx_rtd_theme, on unix use:

pip install sphinx sphinx_rtd_theme

The documentation can then be built from this directory by calling make html (or make.bat html on windows). Alternatively, the top-level ant gen-doc target can be used. When using Python 3.6 on Windows, use sphinx_build -b html source build.

To build the documentation with Docker Compose, run:

cd ./doc

# build the Docker image
docker-compose build build-docs

# build the documentation
docker-compose run build-docs

To regenerate the documentation from scratch, run:

# return to the root directory of the Cassandra project
cd ..

# remove all generated documentation files based on the source code
ant realclean