Skip to content

scidsg/hushline-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤫 Hush Line Docs

This repository contains documentation for installing and running Hush Line, a free and open-source, self-hosted anonymous tip line that makes it easy for organizations or individuals to install and use.

Currently, you can read the documentation here.

This documentation is built using mdBook (v0.4.34).

Making changes: quick start

Install mdbook

To build or serve locally, you'll need to install mdbook.

Making changes to source files

  1. Write/edit markdown and add images to the src/ directory
  2. Theming (tweaks to CSS) should done by adding a theme directory next to the src directory. In this theme directory, you can overwrite a number of the mdBook default style files, including CSS styling and HTML templates. Here's a full list of such files.
  3. To preview your changes locally, run mdbook serve and open http://localhost:3000 in your browser.
  4. When you're ready to publish, you'll want to "build" the mdBook using mdbook build command. This commands overwrites the book directory with all the HTML files that are your book. Ideally we'd have GitHub Pages host this directory as a public-facing website. (Here some documentation on that.)

Adding new chapters (pages)

To add a new page, it's best to add it to src/SUMMARY.md, which serves as a kind of table of contents for the book, and then run mdbook build. MdBook will then create a new markdown file for your new chapter.

Use sub-directories in src/ to create sub-pages.

Contributors