Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 921 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 921 Bytes

Introduction to Artificial Intelligence: CS 188 Course Textbook

This is the source for the CS 188 course textbook. It is built through Github Pages.

Updates to the textbook are recorded in the commit history of this repository.

Source Code Formatting

This repository has auto-formatting enabled. The preferred way to format source is through Prettier on your local machine. Install Node on your computer, run npm install -g yarn, and then run yarn. To format code, use the yarn prettier command, which will automatically format all .md and .html files.

There is also a GitHub Action to format code which can be dispatched manually. Go to the Actions tab, find the Auto-Format Source action, and manually trigger a workflow dispatch against the target branch.

A CI check is enabled which runs Prettier and fails if Prettier detects any formatting errors.