Giter Site home page Giter Site logo

payload's Introduction

convoyinteractive/payload

This repository acts as the "database" for our website. As compared to a classic relational database, we store our data "flat file". So we benefit from a highly flexible data structure and have the whole power of modern development environments on our fingertips, including: version control, code and content discussions, revisions, release cycles, issue tracking, etc.

Documentation

All content is stored in YAML files within a "locale" directory. We call them components.

Note: We only support the short .yml extension.

Basic components

A basic component contains at least a type and a body attribute. Nevertheless you are completely free to add as many attributes to a component as you need to.

Supported component types: markdown, text, quote

type: quote
body: Purpose of a convoy is to keep movin’.

Collection components

As its name implies, a collection component collects other components. So you may group your content to provide a much better structure. A collection component must include a type and a items attribute but its by far not limited to this attributes.

Supported component types: definition, gallery, list

type: definition
items:
  - term: Vue.js
    type: text
    body: Vue is a progressive framework for building user interfaces. 

Asset components

Asset components reference an additional file within the assets directory or a binary file on our file storage. An asset component should provide a path attribute.

Supported component types: image, lottie, svg, video

type: svg
path: assets/logo.svg

Note: The image component accepts in addition to the path attribute also a sizes attribute to provide different images for the different size ranges.

Relations

In most cases you'll define your components as inline components but from time to time you'll reuse your components. Therefore you may store the component in a seperate file and use it as an anonymous component.

type: component
resource: path/to/your/component

Contribution Guide

Doing one thing at a time – keep your PRs small, so they are easier to review and we can keep our release cycles short.

Remember, all bug fixes like typos, broken links etc. should be sent to the production branch. Bug fixes should never be sent to the master branch unless they fix contents that exist only in the upcoming release.

New content or updates should be sent to the master branch which contains the upcoming release.

External Contributors

The project is maintained by the convoyinteractive organization. In general, we do accept contributions from members only. Nevertheless, if you think you can improve our content or if you have found a typo somewhere, feel free to send in a PR.

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.