Skip to content

litch/docs.geteventstore.com

 
 

Repository files navigation

Event Store Documentation

This documentation is available at http://docs.geteventstore.com. The website is hosted using GitHub Pages from the gh-pages branch of this repository. Pages are automatically built with Jekyll using the Redcarpet complier.

What follows is documentation for how to use the Event Store documentation. It’s really meta. If you’re planning to make updates or contributions then read on; otherwise head on over to the website.

Versioning

The Event Store documentation is available for multiple versions of Event Store and its APIs. By default the website shows documentation for the latest stable release of each component. Current sections and versions are:

Section Versions
Introduction Always shows latest
Server 3.1.0 (pre-release), 3.0.2 (latest), 3.0.1, 3.0.0
.NET API 3.1.0 (pre-release), 3.0.2 (latest), 3.0.1, 3.0.0
HTTP API 3.1.0 (pre-release), 3.0.2 (latest), 3.0.1, 3.0.0

The Event Store server uses semantic versioning. APIs are versioned based on the major server version they support.

How to Contribute

Running Jekyll Locally

This documentation is rendered by GitHub Pages using Jekyll. If you want to generate the site locally and test your changes, you will need to follow the instructions here to get Ruby and Bundler installed.

Once installed, navigate to the root of the repository and run

bundle install followed by bundle exec jekyll serve

The site will be generated into a folder named _site and can be accessed from a web browser at http://localhost:4000.

Small Edits

  1. Make changes (fix typos or grammar, improve wording etc).
  2. Check to see if older versions need updating too.
  3. Send a pull request!

New Pages and Sections

  1. Create new pages and/or sections. Follow the Conventions below.
  2. If you create a new section, add an entry for it to the top_level_sections list on _config.yml in an appropriate place (this list determines the order the sections are listed in the navigation sidebar).
  3. Add any new sections to the table at the top of this README.
  4. Send a pull request!

Creating a New Version

  1. Duplicate the section’s latest version directory and rename it to reflect the latest version number. For example, copy /server/3.0.0/ to /server/3.0.1/.

    Pre-release documentation should be denoted with -pre after the version number, like /server/3.0.1-pre/. This way the documentation will show up on the website, but won’t be the default version. In pages’ front matter use version: "3.0.1 (pre-release)".

  2. In the new version’s directory update all .md files to include the new version number in the front matter (see Front Matter below).

  3. Make edits to files in the new version as appropriate. Pages can be created or deleted when necessary.

  4. Update the version table at the top of this README.

  5. Send a pull request!

Conventions

File Names

  • File and directory names are all lowercase.
  • Spaces are replaced with dashes.
  • Markdown files take the .md extension.

For example:

/dotnet-api/3.0.0/writing-to-a-stream.md

For example:

http://docs.geteventstore.com/dotnet-api/3.0.0/writing-to-a-stream/index.html

Front Matter

Every page written for Jekyll in markdown has front matter, which specifies information about the page. We specify a title for the page, the section it belongs to, and the version for that section. Title and section should be title case, and the version number should be in the format X.X.X.

For example:

---
title: "Writing to a Stream"
section: ".NET API"
version: "3.0.0"
---

Lorem ipsum dolor sit amet…

For index.md pages you should also include pinned: true.

Formatting and Typesetting

The content of our documentation is written by many developers. These formatting guidelines should help us maintain a consistent use of language throughout the docs.

  • Acronyms and abbreviations should always be set in uppercase (e.g. API, HTTP, JVM)
  • Brand names should be capitalised correctly (e.g. cURL, Event Store, JavaScript, .NET)
  • Example code should not have a line length of more than 80 characters

Releases

No releases published

Packages

No packages published

Languages

  • HTML 94.3%
  • CSS 4.2%
  • Other 1.5%