Skip to content

battlecatsinfo/battlecatsinfo.github.io

Repository files navigation

battlecatsinfo.github.io

Installation

We use Node.js to generate static files.

$ git clone "https://github.com/battlecatsinfo/battlecatsinfo.github.io.git"
$ npm install

Build

$ node build.js

Files will be generated under _out. See node build.js -h for more details.

Running the local server

$ node server.js            # or npm start
$ node server.js --verbose  # log requests

Note: Clone https://github.com/battlecatsinfo/img to img/ to display referenced images.

Coding style

  • Always indent using tabs (except for package.json, package-lock.json, and **.yml)
  • Always use LF line ending
  • Use require instead of import in JavaScript files

Layouts

  • common: use W3.CSS + Dracula Theme.
  • gh: Texts and tables are rendered left to right, based on github-markdown-css, good for displaying complex or large tables.
  • static: Document is centered, good for writing articles.
  • blank: Special pages without common navigation bar, styles, and script.

Resources

※All resources are reproduced with the permission of the author

Discord Server

About

The Battle Cats Information Website

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •