Skip to content

Commit 17bcda5

Browse files
committed
Initial docs
1 parent 55e5de6 commit 17bcda5

File tree

8 files changed

+250
-19
lines changed

8 files changed

+250
-19
lines changed

docs/_static/BIDS_black.svg

Lines changed: 92 additions & 0 deletions
Loading

docs/_static/BIDS_white.svg

Lines changed: 92 additions & 0 deletions
Loading
45.7 KB
Loading
49.2 KB
Loading

docs/conf.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
# -- General configuration ---------------------------------------------------
1414
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1515

16-
extensions = []
16+
extensions = [
17+
# 'sphinx_js',
18+
'myst_parser',
19+
'sphinx_copybutton',
20+
]
1721

1822
templates_path = ['_templates']
1923
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
@@ -23,5 +27,22 @@
2327
# -- Options for HTML output -------------------------------------------------
2428
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
2529

26-
html_theme = 'alabaster'
30+
html_theme = 'pydata_sphinx_theme'
2731
html_static_path = ['_static']
32+
33+
html_theme_options = {
34+
"logo": {
35+
"text": "BIDS Validator",
36+
"image_light": "_static/BIDS_black.svg",
37+
"image_dark": "_static/BIDS_white.svg",
38+
}
39+
}
40+
41+
# -- Customization
42+
# js_language = 'typescript'
43+
# js_source_path = '../src/**/*.ts'
44+
# primary_domain = 'js'
45+
46+
myst_enable_extensions = [
47+
"attrs_inline",
48+
]

docs/index.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# The BIDS Validator
2+
3+
The BIDS Validator is a web application, command-line utility,
4+
and Javascript/Typescript library for assessing compliance with the
5+
[Brain Imaging Data Structure][BIDS] standard.
6+
7+
## Getting Started
8+
9+
In most cases,
10+
the simplest way to use the validator is to browse to the [BIDS Validator][] web page:
11+
12+
![The web interface to the BIDS Validator with the "Select Dataset Files" button highlighted.
13+
(Dark theme)](_static/web_entrypoint_dark.png){.only-dark width="50%" align=center}
14+
![The web interface to the BIDS Validator with the "Select Dataset Files" button highlighted.
15+
(Light theme)](_static/web_entrypoint_light.png){.only-light width="50%" align=center}
16+
17+
The web validator runs in-browser, and does not transfer data to any remote server.
18+
19+
In some contexts, such as when working on a remote server,
20+
it may be easier to use the command-line.
21+
The BIDS Validator can be run with the [Deno] runtime
22+
(see [Deno - Installation][] for detailed installation instructions):
23+
24+
```shell
25+
deno run -A jsr:@bids/validator
26+
```
27+
28+
```{toctree}
29+
:maxdepth: 2
30+
:caption: Contents:
31+
32+
API Reference <https://jsr.io/@bids/validator/doc>
33+
```
34+
35+
36+
[BIDS]: https://bids.neuroimaging.io
37+
[BIDS Validator]: https://bids-standard.github.io/bids-validator/
38+
[Deno]: https://deno.com/
39+
[Deno - Installation]: https://docs.deno.com/runtime/getting_started/installation/

docs/index.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sphinx
2+
myst_parser
3+
pydata-sphinx-theme
4+
sphinx-copybutton

0 commit comments

Comments
 (0)