anthonyscorrea / cmba-bylaws

The Constitution and Bylaws for the baseball league known as the Chicago Metropolitan Baseball Association (CMBA).

Home Page:https://anthonyscorrea.github.io/cmba-bylaws/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMBA Constitution and Bylaws

The Constitution and Bylaws for the baseball league known as the Chicago Metropolitan Baseball Association (CMBA).

The compiled, published text can be found in the following formats:

The source text for this document can be found in Markdown format in src/cmba-bylaws.md.

Building from source

Requirements

Building from source requires:

Steps

  1. Download the latest release or clone the repo:
git clone https://github.com/anthonyscorrea/cmba-bylaws.git
  1. Navigate to the root directory:
cd cmba-bylaws-master
  1. Publish into desired format:
make {format}

were {format} is one of the below:

  • All [default]: make all or make
  • PDF: make pdf
  • html: make html
  • epub: make epub
  1. Built files will be in the build/ directory

Markdown formatting

  • # or h1 is used for either "Constitution" or "Bylaws". They are not numbered, necessitating an {.unnumbered} class.
  • ## or h2 is used for sections
  • ### or h3 is used for subsections

Metadata

Metadata is stored in the metadata.yml file.

Project history

The constitution and bylaws were modernized in 2021, using Google Docs. This project brings that effort into Git and Github. Previous commits show a generated plain-text history of the changes prior to this project (thanks to gitdriver), with the first being the version from 2016.

Spell-checking

Spell-checking is performed on the pre-commit via .spell-check/git-spell-check (courtesy of mprpic/git-spell-check)

You can manually run spell-checking of all markdown files by running the script (requires aspell):

./.spell-check/spell-check

Should you want to bypass the pre-commit hook (though not recommended), you can commit with

git commit --no-verify".

GitHub Pages

The html output can be hosted on GitHub Pages. Currently the site is hosted at the branch gh-pages. To update this page, you should:

  1. First build from the main branch and build html
git clone https://github.com/anthonyscorrea/cmba-bylaws.git
make html
  1. Then clone the gh-pages branch and replace index.html with the updated page.
git clone https://github.com/anthonyscorrea/cmba-bylaws.git --branch gh-pages cmba-bylaws-gh-pages
cp ../cmba-bylaws/build/cmba-bylaws.html ./cmba-bylaws-gh-pages/index.html
git push origin

To-Do

  • Spell Checking
  • Remove dependence on make, verify Windows support

About the CMBA

This baseball league known as the Chicago Metropolitan Baseball Association (CMBA) has been formed for the purpose of providing the finest amateur baseball league in the State of Illinois and Midwest; a league where an up and coming young prospect for professional baseball may play and develop; where the talented veteran player can enjoy playing among the best competition; and bring friendship and sportsmanship to the Association.

About

The Constitution and Bylaws for the baseball league known as the Chicago Metropolitan Baseball Association (CMBA).

https://anthonyscorrea.github.io/cmba-bylaws/


Languages

Language:HTML 94.2%Language:Shell 4.3%Language:Makefile 1.0%Language:Lua 0.6%