From f2f259576e09e79cdac845682d318bed234c5fe5 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Sat, 9 Nov 2024 13:55:25 +0100 Subject: [PATCH] [DOC] add badges and link to doc (#99) * add badges and link to doc * Update README.md * add badge doc --- README.md | 10 ++++++++++ docs/conf.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc35465d..8b53ea80 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![Deno build](https://github.com/bids-standard/bids-validator/actions/workflows/deno_tests.yml/badge.svg)](https://github.com/bids-standard/bids-validator/actions/workflows/deno_tests.yml) +[![Web validator](https://github.com/bids-standard/bids-validator/actions/workflows/web_build.yml/badge.svg)](https://github.com/bids-standard/bids-validator/actions/workflows/web_build.yml) +[![Documentation Status](https://readthedocs.org/projects/bids-validator/badge/?version=latest)](https://bids-validator.readthedocs.io/en/latest/?badge=latest) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3688707.svg)](https://doi.org/10.5281/zenodo.3688707) + # The BIDS Validator The BIDS Validator is a web application, command-line utility, @@ -76,3 +81,8 @@ To modify the schema a clone of bids-standard/bids-specification will need to be After changes to the schema have been made to a local copy the dereferenced single json file used by the validator will need to be built. The `bidsschematools` python package does this. It can be installed from pypi via pip or a local installation can be made. It lives in the specification repository here https://github.com/bids-standard/bids-specification/tree/master/tools/schemacode The command to compile a dereferenced schema is `bst -v export --output src/schema.json` (this assumes you are in the root of the bids-specification repo). Once compiled it can be passed to the validator via the `-s` flag, `./bids-validator-deno -s ` + + +## Documentation + +The BIDS validator documentation is available on [Read the Docs](https://bids-validator.readthedocs.io/en/latest/). \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 9010a4a4..b038287d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,7 +7,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = 'BIDS Validator' -copyright = '2024, BIDS Contributors' +copyright = 'BIDS Contributors' author = 'BIDS Contributors' # -- General configuration ---------------------------------------------------