Alluxio
ProductsLanguageHome
  • Introduction
  • Overview
    • Architecture
    • Job Service
    • Quick Start Guide
    • FAQ
    • Use Cases
  • Core Services
    • Caching
    • Unified Namespace
  • Install Alluxio
    • Local Machine
    • Cluster
    • Cluster with HA
    • Docker
    • Software Requirements
  • Kubernetes
    • Deploy
    • Spark on Kubernetes
    • Metrics
  • Cloud Native
    • Alibaba Cloud ACK
    • AWS EMR
    • Tencent EMR
    • Google Dataproc
  • Compute Integration
    • Apache Spark
    • Apache Hadoop MapReduce
    • Apache Flink
    • Apache Hive
    • Presto on Iceberg (Experimental)
    • Presto
    • Trino
    • Tensorflow
  • Storage Integrations
    • Amazon AWS S3
    • HDFS
    • Azure Blob Store
    • Azure Data Lake Storage Gen2
    • Azure Data Lake Storage
    • Google Cloud Storage
    • Qiniu Kodo
    • COSN
    • CephObjectStorage
    • MinIO
    • NFS
    • Aliyun Object Storage Service
    • Ozone
    • Swift
    • WEB
    • CephFS
  • Security
  • Operations
    • Configuration Settings
    • User CLI
    • Admin CLI
    • Web UI
    • Journal Management
    • Metastore Management
    • Metrics
  • Administration
    • Troubleshooting
    • Basic Logging
    • Remote Logging
    • Performance Tuning
    • Scalability Tuning
    • StressBench (Experimental)
    • Upgrading
  • Solutions
  • Client APIs
    • Java API
    • S3 API
    • REST API
    • POSIX API
  • Contributor Resources
    • Building Alluxio From Source
    • Contribution Guide
    • Code Conventions
    • Documentation Conventions
    • Contributor Tools
  • Reference
    • List Of Configuration Properties
    • List of Metrics
  • REST API
    • Master REST API
    • Worker REST API
    • Proxy REST API
    • Job REST API
  • Javadoc
Powered by GitBook
On this page
  • The C's
  • Correctness = Don’t be wrong
  • Conciseness = Don’t use more words than necessary
  • Consistency = Don’t use different forms of the same word or concept
  • Formality = Don’t sound like a casual conversation
  • Terminology table
  • Line breaks
  • Resources
  1. Contributor Resources

Documentation Conventions

This documentation provides a writing style guide that portrays professionalism and efficiency in delivering technical content in Alluxio documentation.

The C's

The C's, in order of importance:

  1. Be correct

  2. Be concise

  3. Be consistent

  4. Be ceremonial or formal (because ceremonial was the best synonym to formal that started with a C)

Correctness = Don’t be wrong

No documentation is better than incorrect documentation.

  • Information conveyed is accurate

  • Use a spell checker to fix typos

  • Capitalize acronyms

    • Ex. AWS, TTL, UFS, API, URL, SSH, I/O

  • Capitalize proper nouns

    • Ex. Alluxio, Hadoop, Java

Conciseness = Don’t use more words than necessary

No one wants to read more words than necessary.

    • "Run the command to start the process"

    • Not "Next, you can run the command to start the process"

    • "Include a SocketAppender in the configuration..."

    • Not "A SocketAppender can be included in the configuration..."

    • "The process fails when misconfigured"

    • Not "The process will fail when misconfigured"

    • Not "It is known that starting the process will fail when misconfigured"

  • Don’t use unnecessary punctuation

    • Avoid using parentheses to de-emphasize a section

      • Incorrect example: "Alluxio serves as a new data access layer in the ecosystem, residing between any persistent storage systems (such as Amazon S3, Microsoft Azure Object Store, Apache HDFS, or OpenStack Swift) and computation frameworks (such as Apache Spark, Presto, or Hadoop MapReduce)."

  • Reduce the use of dependent clauses that add no content

    • Remove usages of the following:

      • For example, ...

      • However, ...

      • First, ...

Consistency = Don’t use different forms of the same word or concept

There are many technical terms used throughout; it can potentially cause confusion when the same idea is expressed in multiple ways.

  • See terminology table below

    • When in doubt, search to see how similar documentation expresses the same term

  • Code-like text should be annotated with backticks

    • File paths

    • Property keys and values

    • Bash commands or flags

  • Code blocks should be annotated with the associated file or usage type, e.g.:

    • ```java for Java source code

    • ```properties for a Java property file

    • ```console for an interactive session in shell

    • ```bash for a shell script

  • Alluxio prefixed terms, such as namespace, cache, or storage, should be preceded by "the" to differentiate from the commonly used term, but remain in lowercase if not a proper noun

    • Ex. The data will be copied into the Alluxio storage.

    • Ex. When a new file is added to the Alluxio namespace, ...

    • Ex. The Alluxio master never reads or writes data directly ...

Formality = Don’t sound like a casual conversation

Documentation is not a conversation. Don’t follow the same style as you would use when chatting with someone.

    • Example: "Alluxio integrates with storage systems such as Amazon S3, Apache HDFS, and Microsoft Azure Object Store." Note the last comma after "HDFS".

  • Avoid using contractions; remove the apostrophe and expand

    • Don’t -> Do not

  • Avoid using abbreviations

    • Doc -> Documentation

Terminology table

Correct, preferred term
Incorrect or less preferred term(s)

File system

Filesystem

Leading master

Leader, lead master, primary master

Standby master

Backup master, following master, follower master

Containerized

Dockerized

Superuser

Super-user, super user

I/O

i/o, IO

High availability mode

Fault tolerance mode (Use of "fault tolerance" is fine, but not when interchangeable with "high availability")

Hostname

Host name

Line breaks

Each sentence starts in a new line for ease of reviewing diffs. We do not have an official maximum characters per line for documentation files, but feel free to split sentences into separate lines to avoid needing to scroll horizontally to read.

Resources

Last updated 6 months ago

Use the , the same tone used when issuing a command

Use the

Use the , also known as the Oxford comma, when listing items

One space separates the ending period of a sentence and starting character of the next sentence; this has been the norm .

imperative mood
active voice
serial comma
as of the 1950s
General guidelines for technical writing style
Examples of moods
Active vs passive voice examples