From 29060f4e4e7dbde9e9764e54866e82c0132a7238 Mon Sep 17 00:00:00 2001
From: Kay Robbins <1189050+VisLab@users.noreply.github.com>
Date: Thu, 4 Jan 2024 08:01:13 -0600
Subject: [PATCH] Fixed site broken links
---
docs/source/BidsAnnotationQuickstart.md | 6 +++---
docs/source/DocumentationSummary.md | 2 +-
docs/source/HedGovernance.md | 2 +-
docs/source/HedMatlabTools.md | 2 +-
docs/source/HedOnlineTools.md | 14 +++++++-------
docs/source/HedPythonTools.md | 7 -------
docs/source/HedSchemaDevelopersGuide.md | 8 ++++----
docs/source/HedTestDatasets.md | 2 +-
docs/source/HedValidationGuide.md | 2 +-
docs/source/HowCanYouUseHed.md | 13 +++++--------
docs/source/WhatsNew.md | 4 ++--
docs/source/index.rst | 2 +-
hedcode/jupyter_notebooks/bids/temp.txt | 19 -------------------
13 files changed, 27 insertions(+), 56 deletions(-)
delete mode 100644 hedcode/jupyter_notebooks/bids/temp.txt
diff --git a/docs/source/BidsAnnotationQuickstart.md b/docs/source/BidsAnnotationQuickstart.md
index 091a68b7..3aad70a3 100644
--- a/docs/source/BidsAnnotationQuickstart.md
+++ b/docs/source/BidsAnnotationQuickstart.md
@@ -17,7 +17,7 @@ You will put the finished annotation file at the top level of your dataset.
The approach that we will use is to create a template file from an `events.tsv` file
in your BIDS dataset using the online tools available at
-[**hedtools.ucsd.edu/hed**](https://hedtools.ucsd.edu/hed).
+[**hedtools.org/hed**](https://hedtools.org/hed).
You can then edit this JSON file directly using a text editor
to insert data descriptions and HED annotations.
@@ -31,7 +31,7 @@ Although the HED web tools base the template on the information extracted from a
`events.tsv` file, this will be sufficient to produce a good template for most datasets.
For datasets with widely-varying event files, you should use the
-[bids_validate_hed.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids_processing/bids_generate_sidecar.ipynb)
+[validate_bids_dataset.ipynb](https://github.com/hed-standard/hed-examples/blob/develop/hedcode/jupyter_notebooks/bids/validate_bids_dataset.ipynb)
Jupyter notebook version rather than the online tools.
The Jupyter notebook consolidates information from all of the `events.tsv` files in the dataset
to produce a comprehensive JSON sidecar template.
@@ -426,7 +426,7 @@ editing and then convert back to a JSON file afterwards.
This tutorial assumes that you already have a JSON events sidecar
or have [**extracted a JSON sidecar template**](create-a-json-template-anchor).
-Using the [**HED sidecar online tools**](https://hedtools.ucsd.edu/hed/sidecar),
+Using the [**HED sidecar online tools**](https://hedtools.org/hed/sidecars),
the steps to create a template are:
* [**Step 1: Select extract HED spreadsheet.**](step-1-select-extract-hed-spreadsheet-anchor)
diff --git a/docs/source/DocumentationSummary.md b/docs/source/DocumentationSummary.md
index 17c8a76c..cb575758 100644
--- a/docs/source/DocumentationSummary.md
+++ b/docs/source/DocumentationSummary.md
@@ -90,7 +90,7 @@ The following is a summary of the HED-related websites:
* - HED Python tools
- [https://github.com/hed-standard/hed-python](https://github.com/hed-standard/hed-python)
* - HED Javascript code
- - [https://github.com/hed-standard/hed-javascript](https://github.com/hed-standard/hed-javacript)
+ - [https://github.com/hed-standard/hed-javascript](https://github.com/hed-standard/hed-javascript)
* - HED Matlab code and EEGLAB support
- [https://github.com/hed-standard/hed-matlab](https://github.com/hed-standard/hed-matlab)
* - HED web deployment
diff --git a/docs/source/HedGovernance.md b/docs/source/HedGovernance.md
index 85f32ab8..c3f50c8d 100644
--- a/docs/source/HedGovernance.md
+++ b/docs/source/HedGovernance.md
@@ -210,7 +210,7 @@ organization site as indicated in the following table.
| Docs/examples | [hed-examples](https://github.com/hed-standard/hed-examples/issues) | Documentation corrections.
Questions on examples.
Help on annotation. |
| Specification | [hed-specification](https://github.com/hed-standard/hed-specification/issues) | Clarification/suggestions on the
specification document and JSON tests. |
| Python codebase | [hed-python](https://github.com/hed-standard/hed-python/issues) | Bug reports and feature requests. |
-| JavaScript codebase | [hed-validator](https://github.com/hed-standard/hed-validator/issues) | Bug reports and feature requests. |
+| JavaScript codebase | [hed-javascript](https://github.com/hed-standard/hed-javascript/issues) | Bug reports and feature requests. |
HED also has a HED discussion group. (Subscribe by emailing:
[**hed-discussion+subscribe@googlegroups.com**](mailto:hed-discussion+subscribe@googlegroups.com).
diff --git a/docs/source/HedMatlabTools.md b/docs/source/HedMatlabTools.md
index da717a26..497c01b7 100644
--- a/docs/source/HedMatlabTools.md
+++ b/docs/source/HedMatlabTools.md
@@ -479,7 +479,7 @@ reimplementing these operations in MATLAB.
**Note:** For your reference, the source for `hedtools` is the
[**hed-python**](https://github.com/hed-standard/hed-python) GitHub repository.
The code is fully open-source with an MIT license.
-The actual API documentation is available [**here**](https://hed-python.readthedocs.io/en/latest/api.html),
+The actual API documentation is available [**here**](https://hed-python.readthedocs.io/en/latest/api2.html),
but the tutorials and tool documentation for `hedtools` on
[**HED Resources**](https://www.hed-resources.org/en/latest/index.html) provides more
examples of use.
diff --git a/docs/source/HedOnlineTools.md b/docs/source/HedOnlineTools.md
index b226c2fd..6bba3827 100644
--- a/docs/source/HedOnlineTools.md
+++ b/docs/source/HedOnlineTools.md
@@ -85,7 +85,7 @@ However, the tool only validates a single events file with an accompanying sidec
The tool does not validate multiple events files at the same time,
nor does the tool handle inherited sidecars.
-The [bids_validate_hed.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/bids_validate_dataset.ipynb)
+The [validate_bids_dataset.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/validate_bids_dataset.ipynb)
Python Jupyter notebook is available for validating all the events files
in a BIDS dataset along with multiple sidecars.
The Jupyter notebook handles validation with library schema.
@@ -141,7 +141,7 @@ The online generation tool is very useful for constructing a sidecar template fi
but the template is based only on the particular events file used in the generation.
For many BIDS datasets, this is sufficient for generating a complete template.
However, for datasets that have many types of events files, you will want to use the
-[bids_generate_sidecar.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/bids_generate_sidecar.ipynb)
+[extract_json_template.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/extract_json_template.ipynb)
to generate a JSON sidecar based on all the events files in a BIDS dataset.
#### Execute remodel script
@@ -273,7 +273,7 @@ for a tutorial on how to use the resulting spreadsheet for annotation.
If there are any errors, the tool returns a downloadable `.txt` file of error messages,
otherwise the tool returns a downloadable `.tsv` spreadsheet.
``````
-The [bids_sidecar_to_spreadsheet.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/bids_sidecar_to_spreadsheet.ipynb) Python Jupyter notebook does the same operation.
+The [sidecar_to_spreadsheet.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/sidecar_to_spreadsheet.ipynb) Python Jupyter notebook does the same operation.
#### Merge a spreadsheet with a sidecar
@@ -302,7 +302,7 @@ for a tutorial on how this works in practice.
If there are any errors, the tool returns a downloadable `.txt` file of error messages,
otherwise the tool returns a downloadable merged `.json` file.
``````
-The [bids_merge_sidecar.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/bids_merge_sidecar.ipynb) Python Jupyter notebook does the same operation.
+The [bids_merge_spreadsheet_into_sidecar.ipynb](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/merge_spreadsheet_into_sidecar.ipynb) Python Jupyter notebook does the same operation.
(spreadsheets-online-tools-anchor)=
@@ -581,11 +581,11 @@ web-based tools and services.
* - Service
- URL
* - Online HED tools
- - [https://hedtools.ucsd.edu/hed](https://hedtools.ucsd.edu/hed)
+ - [https://hedtools.org/hed](https://hedtools.org/hed)
* - CSRF token access
- - [https://hedtools.ucsd.edu/hed/services](https://hedtools.ucsd.edu/hed/services)
+ - [https://hedtools.org/hed/services](https://hedtools.org/hed/services)
* - Service request
- - [https://hedtools.ucsd.edu/hed/services_submit](https://hedtools.ucsd.edu/hed/services_submit)
+ - [https://hedtools.org/hed/services_submit](https://hedtools.org/hed/services_submit)
`````
### Request format
diff --git a/docs/source/HedPythonTools.md b/docs/source/HedPythonTools.md
index 2bec1203..26e8f8cf 100644
--- a/docs/source/HedPythonTools.md
+++ b/docs/source/HedPythonTools.md
@@ -251,9 +251,6 @@ The example data curation scripts discussed in this section assume that two vers
of each BIDS event file are present: `events.tsv` and a corresponding `events_temp.tsv` file.
The example datasets that are using for these tutorials assume that the recordings
are in EEG.set format.
-We used the [runEeglabEventsToFiles](https://raw.githubusercontent.com/hed-standard/hed-curation/main/src/curation/matlab_utility_scripts/hed_utilities/runEeglabEventsToFiles.m)
-MATLAB script to dump the events stored in the data.
-
(calling-hed-tools-anchor)=
## Calling HED tools
@@ -381,10 +378,6 @@ If you choose the `name_indices` incorrectly, the keys for the event files
will not be unique, and the notebook will throw a `HedFileError`.
If this happens, modify your `name_indices` key choice to include more entity pairs.
-The Jupyter notebook
-[go_nogo_01_initial_summary.ipynb](https://raw.githubusercontent.com/hed-standard/hed-examples/main/hedcode/jupyter_notebooks/dataset_specific_processing/go_nogo/go_nogo_01_initial_summary.ipynb)
-illustrates using this dictionary in a larger context.
-
For example, to compare the events stored in a recording file and the events
in the `events.tsv` file associated with that recording,
we might dump the recording events in files with the same name, but ending in `events_temp.tsv`.
diff --git a/docs/source/HedSchemaDevelopersGuide.md b/docs/source/HedSchemaDevelopersGuide.md
index 04c54487..6105dad1 100644
--- a/docs/source/HedSchemaDevelopersGuide.md
+++ b/docs/source/HedSchemaDevelopersGuide.md
@@ -15,7 +15,7 @@ The HED Working Group would be happy to give you technical guidance in getting s
and working through the process to final release.
More detailed information is available in
-the [**Library schemas**](https://https://hed-specification.readthedocs.io/en/latest/07_Library_schemas.html) chapter of
+the [**Library schemas**](https://https://https://hed-specification.readthedocs.io/en/latest/07_Library_schemas.html) chapter of
the [**HED specification**](https://hed-specification.readthedocs.io/en/latest/index.html).
Details about syntax are available in the
@@ -343,7 +343,7 @@ Use the [**HED online tools**](https://hedtools.org) to convert as shown in the
All HED schemas, including library schemas, adhere to [**semantic versioning**](https://semver.org/).
The rules for what constitutes major, minor and patch changes are given
-in the hed-schemas [**README**](https://github.com/hed-standard/hed-schemas/#hed-semantic-versioning).
+in the hed-schemas [**README.md**](https://github.com/hed-standard/hed-schemas/README.md#hed-semantic-versioning).
### Schema file names
@@ -450,8 +450,8 @@ Here is a brief summary of the development process.
- Request a branch be created on [**hed-schemas**](https://github.com/hed-standard/hed-schemas) for your development.
- Develop your schema:
- Modify your prerelease `.mediawiki`.
- - Validate the prerelease `.mediawiki` file using the [**HED online tools**](https://hedtools.org/hed/schema).
- - Convert to the prerelease `.mediawiki` file to `.xml` using the [**HED online tools**](https://hedtools.org/hed/schema) and replace the existing prerelease `.xml`.
+ - Validate the prerelease `.mediawiki` file using the [**HED online tools**](https://hedtools.org/hed/schemas).
+ - Convert to the prerelease `.mediawiki` file to `.xml` using the [**HED online tools**](https://hedtools.org/hed/schemas) and replace the existing prerelease `.xml`.
- Check the schema using [**HED Schema Viewer**](https://www.hedtags.org/display_hed.html).
- Update your prerelease `CHANGES.md` and `PROPOSED.md` files.
- Update your schema's `README.md`.
diff --git a/docs/source/HedTestDatasets.md b/docs/source/HedTestDatasets.md
index 045c6186..22f9e26d 100644
--- a/docs/source/HedTestDatasets.md
+++ b/docs/source/HedTestDatasets.md
@@ -132,7 +132,7 @@ The dataset is used as a case study for the book chapter
## BIDS validation
For general information on the `bids-validator`, including installation, configuration, and usage,
-see the [bids-validator README file](https://github.com/bids-standard/bids-validator#quickstart).
+see the [bids-validator README file](https://github.com/bids-standard/bids-validator/blob/master/README.md).
**Example:** The following command validates the `eeg_ds003645s_hed` dataset:
diff --git a/docs/source/HedValidationGuide.md b/docs/source/HedValidationGuide.md
index f1c9d254..16fc96d7 100644
--- a/docs/source/HedValidationGuide.md
+++ b/docs/source/HedValidationGuide.md
@@ -217,7 +217,7 @@ directly using PIP.
Several [**Jupyter notebooks**](https://github.com/hed-standard/hed-examples/tree/main/hedcode/jupyter_notebooks) are available
as wrappers for calling various Python HED tools.
-For example, the [**bids_validate_datasets.ipynb**](https://github.com/hed-standard/hed-examples/blob/main/hedcode/jupyter_notebooks/bids/bids_validate_datasets.ipynb) notebook shown in the following example validates an entire BIDS dataset
+For example, the [**validate_bids_datasets.ipynb**](https://github.com/hed-standard/hed-examples/blob/develop/hedcode/jupyter_notebooks/bids/validate_bids_datasets.ipynb) notebook shown in the following example validates an entire BIDS dataset
just give the path to the root directory of the dataset.
`````{admonition} Python code to validate HED in a BIDS dataset.
diff --git a/docs/source/HowCanYouUseHed.md b/docs/source/HowCanYouUseHed.md
index b4721c4f..2f550b3e 100644
--- a/docs/source/HowCanYouUseHed.md
+++ b/docs/source/HowCanYouUseHed.md
@@ -242,7 +242,7 @@ in [**Software currently supporting BIDS**](https://bids.neuroimaging.io/benefit
(learning-about-hed-anchor)=
#### Learning about HED
-- The [**HED introduction**](https://www.hed-resources.org/en/latest/HedIntroduction.html)
+- The [**Introduction to HED**](https://www.hed-resources.org/en/latest/IntroductionToHed.html)
gives a basic overview of HED's history and goals.