Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.95 KB

README.md

File metadata and controls

51 lines (42 loc) · 1.95 KB

ModelSaber

Repository for Beat Saber Avatars, Sabers, Platforms, and Bloqs

Setting up the site

The site requires a bit of setup.

Documentation

When developing for this project it would make everybody's day easier if you followed the coding standards used below.

PHPDOC is used for php documentation, the syntax used will be shown below.

General

There are a few things that are common between all instances, these are shown here.

  • Always end the short and long descriptions with a period.
  • Always have an empty line between the short description and the long description.
  • Always have an empty line between the descriptions and the tags (@param, @return, etc.).

Methods and functions

Methods and functions should use this syntax for everything, simple getters and setters are optional however.

/**
 * <A short description of the function.>
 *
 * <An optional longer description if required.>
 *
 * @param <type> <$name> <an optional description.>
 * @return <type> <an optional description.>
 */

Classes

Classes use a slightly different approach than methods and functions, this is shown below.

/**
 * <A general description of the class.>
 *
 * @author <name or username> <an optional email>
 * @version V<version number as an integer>
 */

Credits

Original developer: Assistant V2 developer: laugexd