docs/README.md
The OSV-Scanner docs are hosted on a GitHub page.
You can run the docs locally consistently through docker:
docker build -t osv-scanner-docs -f docs.Dockerfile .
docker run -p 4000:4000 osv-scanner-docs
To run the docs locally, use :
ruby (>= 3.1.0). This should come with bundler.
rubyruby-bundlerbundle 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 installbundle exec jekyll serveHere's the full documentation on github for running the docs locally.
We use Prettier to standardize the format of markdown and config files.
This requires node/npm to be installed.
Run the following in the project directory:
./scripts/run_formatters.sh
We are using the Just the Docs theme.