Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.23 KB

README

The OSV-Scanner docs are hosted on a GitHub page.

Running docs locally

To run the docs locally:

  • Install ruby (>= 3.1.0). This should come with bundler.
    • On Debian, you need to install them separately:
      • ruby
      • ruby-bundler
  • In this directory:
    • bundle config set --local path 'vendor/bundle' (you can skip this step if serving from this directory, as the config is already saved in .bundle/config)
    • bundle install
    • bundle exec jekyll serve

Here's the full documentation on github for running the docs locally.

Formatting docs

We use Prettier to standardize the format of markdown and config files.

This requires node/npm to be installed.

Running the formatter

Run the following in the project directory:

./scripts/run_formatters.sh

Documentation theme

We are using the Just the Docs theme.