Git Product home page Git Product logo

modules's Introduction

BlueBuild Modules   build-ublue

This repository contains the default official module repository for BlueBuild. See ./modules/ for the module source code. See the website for module documentation. See How to make a custom module and Contributing for help with making custom modules and contributing.

Style guidelines for official modules

These are general guidelines for writing official modules and their documentation to follow to keep a consistent style. Not all of these are to be mindlessly followed, especially the ones about grammar and writing style, but it's good to keep these in mind if you intend to contribute back upstream, so that your module doesn't feel out of place.

Bash

  • Echo what you're doing on each step and on errors to help debugging.
  • Don't echo blocks using "===", that is reserved for the code launching the modules.
  • Use snake_case for functions and variables changed by the code.
  • Use SCREAMING_SNAKE_CASE for variables that are set once and stay unchanged.

Documentation

Every public module should have a module.yml (reference) file for metadata and a README.md file for an in-depth description.

For the documentation of the module in README.md, the following guidelines apply:

  • At the start of each paragraph, refer to the module using its name or with "the module", not "it" or "the script".
  • Use passive grammar when talking about the user, i.e. "should be used", "can be configured", preferring references to what the module does, i.e. "This module downloads the answer to the ultimate question of life, the universe and everything..." instead of what the user does, i.e. "A user can configure this module to download 42".
  • When talking about directories, postfix the file path with a slash, i.e. /path/to/system/folder/ or config/folder-in-user-repo/. When not talking about directories, do not postfix the file path with a slash, i.e. /path/to/system/file.

For the short module description (shortdesc:), the following guidelines apply:

  • The description should start with a phrase like "The glorb module reticulates splines" or "The tree module can be used to plant trees".

modules's People

Contributors

xynydev avatar tulilirockz avatar fiftydinar avatar zelikos avatar gerblesh avatar lucasvsr avatar dependabot[bot] avatar gmpinder avatar kylegospo avatar eyecantcu avatar lorduskordus avatar castrojo avatar hikariknight avatar b- avatar bayou-brogrammer avatar miabbott avatar nadavspi avatar nhubaotruong avatar nesv avatar sunshowers avatar bobslept avatar jonerrr avatar plata avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.