Skip to content

A Python package providing the command line interface for building flexible and accessible content with Chirun.

License

Notifications You must be signed in to change notification settings

chirun-ncl/chirun

Repository files navigation

Chirun produces flexible and accessible course notes, in a variety of formats, from LaTeX or Markdown source. It is aimed primarily at notes in the mathematical sciences.

This repository, chirun, is the source code of the Chirun Python package, providing the command line interface for building content.

Documentation

The Chirun documentation, including information about the Chirun Public Content Builder and Chirun LTI Provider can be found at https://www.chirun.org.uk/docs.

How it works

A set of course notes are provided in either Markdown or LaTeX along with a configuration file config.yml. The chirun command then builds the requested outputs based on the contents of the configuration file.


Installation

Installation instructions for Linux and macOS can be found in the Chirun documentation.

Chirun can be used on Windows via WSL and following the Linux installation instructions.


Demo

Sample course, and its source code.

Compile the Sample Course

  • Install the chirun package using the instructions above
  • Clone the sample course: git clone https://github.com/chirun-ncl/sample_course.git
  • Change into the directory you just cloned to and run make to build and view a local version of the sample course.
  • The finished website output will be in ./sample_course/build

Unit tests

There is a suite of unit tests in the unittests folder. To run the tests, run make test, or python -m unittest unittests.

About

A Python package providing the command line interface for building flexible and accessible content with Chirun.

Resources

License

Stars

Watchers

Forks

Packages

No packages published