An open API service indexing awesome lists of open source software.

https://status-im.github.io/nim-style-guide/

Status style guid for the Nim language
https://status-im.github.io/nim-style-guide/

Last synced: about 2 months ago
JSON representation

Status style guid for the Nim language

Awesome Lists containing this project

README

        

# Introduction

[Online version](https://status-im.github.io/nim-style-guide/)

An ever evolving collection of conventions, idioms and tricks that reflects the experience of developing a production-grade application in [Nim](https://nim-lang.org) with a small team of developers.

## Build and publish

The style guide is built using [mdBook](https://github.com/rust-lang/mdBook), and published to gh-pages using a github action.

```bash
# Install or update tooling (make sure you add "~/.cargo/bin" to PATH):
cargo install mdbook --version 0.4.36
cargo install mdbook-toc --version 0.14.1
cargo install mdbook-open-on-gh --version 2.4.1
cargo install mdbook-admonish --version 1.14.0

# Edit book and view through local browser
mdbook serve
```

## Contributing

We welcome contributions to the style guide as long as they match the strict security requirements Status places on Nim code. As with any style guide, some of it comes down to taste and we might reject them based on consistency or whim.