Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.05 KB

Notes.md

File metadata and controls

51 lines (34 loc) · 1.05 KB

Developer notes

Distributions

There are 3 official ways to point to flatdoc releases. That is:

# Specific versions
http://rstacruz.github.io/flatdoc/v/0.8.1/*

# Latest from the 0.8 series.
# Updated every time there's a 0.8 release.
http://rstacruz.github.io/flatdoc/v/0.8/*

# Latest
http://rstacruz.github.io/flatdoc/*

...just replace * with flatdoc.js (or any of the other support files).

Notes on structure

  • Distributions are stored in /v/{version}/*.
  • CSS files are compiled from Stylus sources.
  • Some js files (like the theme files) are concatenated from other sources.
  • GNU make is used to do compile files.

Updating files

To build .styl from .css

make

Releasing a new version

npm install

# update prescribed versions
perl -p -i -e "s/0\.8\.0/0\.8\.1/g" templates/*.html Readme.md
git diff

# build files
make
make v/0.8
make v/0.8.1

# update version
bump package.json

# add release date
vim History.md
git release 0.8.1