fix: fixing errors in documentation (#2728)

Co-authored-by: Louis-Maxime Crédeville <louis-maxime.credeville@gleamer.ai>
This commit is contained in:
LumenolandLouis-Maxime Crédeville authored and GitHub committed 2022-03-03 11:28:07 -05:00
1 parent 6c9b5ca10c
commit fe9e7123d7
40 files changed
+77 -77

No files matched your search

@@ -129,7 +129,7 @@ downloading the dicom file by opening the url in your browser).
### Local Demo
You can run OHIF with a JSON data source againts you local datasets (given that
You can run OHIF with a JSON data source against you local datasets (given that
their JSON metadata is extracted).
First you need to put the JSON file and the folder containing the dicom files
+1 -1
View File
@@ -137,7 +137,7 @@ value of this environment variable a few different ways:
- ~[Add environment specific variables in `.env` file(s)](https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables#adding-development-environment-variables-in-env)~
- Previous `react-scripts` functionality that we need to duplicate with
`dotenv-webpack`
- Using the `cross-env` package in an npm script:
- Using the `cross-env` package in a npm script:
- `"build": "cross-env APP_CONFIG=config/my-config.js react-scripts build"`
After updating the configuration, `yarn run build` to generate updated build
@@ -1,7 +1,7 @@
# Theme Configuration
When adding new theme extendible configuration items, please document
them here. See [Theme Configuration with Config Point](#configPoint) on how to modify certain types of
configuration values using the config-point defintions.
configuration values using the config-point definitions.
## Hanging Protocols
It is possible to customize the available hanging protocols by defining them
@@ -258,7 +258,7 @@ list: {
}
```
and and example for reference could be:
and example for reference could be:
```js
// Base definition:
MGHangingProtocol: // ... full definition of MG HP here
@@ -283,5 +283,5 @@ StudyInstancesColumn: {
```
Note how in the last example, the transform itself contains a reference. This
is a function that generates a javascript function taking props, where the
props are available directly. Thus, this props would need `study` containing
props are available directly. Thus, these props would need `study` containing
the appropriate child objects.