This repository contains the code necessary to build a bootstrap based website for Joe's Own Editor. It generates html from templates, and uses markdown found in the JOE Git repository to generate information for releases, copies of the manual, and more. The important dependencies are:
- 11ty/Build Awesome - Static-site generator
- Bootstrap version 5.3.8 - Frontend framework
- bootswatch - Bootstrap themes (
flatly) - markdown-it - Markdown parser
- ejs - Templating engine
- tocbot - For responsive tables of contents on manual, hacking, and install instructions pages.
- isomorphic-git - Javascript Git implementation for reading files directly from the Git object store.
- sass - CSS compiler
% nvm install v25.6.0 # Install remote npm packages
% npm install
# Generate the site once
% npm run build
# Run a dev-server that watches files and builds automatically
% npm run dev
# Run a dev-server like above but listening on 0.0.0.0
% npm run dev:publicThe full output is written to _site/ when built. The JOE git repo is
cloned to a bare repo at joe-git/ if it doesn't exist and periodically
pulled. Markdowns are pulled from release tags in that repository.
The versions.yml file specifies releases, download links, and release tags
When a new release is added, start by adding it there, and then rerunning
npm run build as above.
./publish.sh automates building the site and rsync'ing it to SourceForge.