Skip to content

Commit 975753d

Browse files
committed
fixed readme
1 parent aa41474 commit 975753d

4 files changed

Lines changed: 10 additions & 67 deletions

File tree

.github/workflows/errorChecker.yml

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

.github/workflows/linkchecker.yml

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

.github/workflows/websiteChecker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
default: "https://simplifier.net/guide/uk-core-implementation-guidance-directory?version=current"
99
jobs:
1010
job1:
11-
name: html Error Checking
11+
name: html error checker
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repo content
@@ -24,7 +24,7 @@ jobs:
2424
- name: Execute HTML Error Check
2525
run: INPUT_STORE=${{ github.event.inputs.websiteurl }} python ./IGPageContentValidator/errorChecker.py
2626
job2:
27-
name: url link checking
27+
name: url link checker
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: checkout repo content
@@ -44,7 +44,7 @@ jobs:
4444
linkchecker -r 2 --check-extern --no-status -f
4545
./IGPageContentValidator/linkcheckerrc ${{ github.event.inputs.websiteurl }} || test $? = 1;
4646
job3:
47-
name: spell checking
47+
name: spell checker
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: checkout repo content

IGPageContentValidator/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ The website validation is in three parts:
99

1010
## Instructions
1111

12-
1. Edit the file `website.txt` ensuring the website you want scraped is entered on the first line. Note: Only Simplifier.net guides will work with this checker.
13-
2. Click the `Actions` button. the top 3 actions will be the individual checkers needed. Wait until there is a green tick next to each.
14-
3. Within each Action click the `Build` button
15-
4. Within the Build click the following for the results:
16-
- HTML Error Check
17-
- Link Check
18-
- Spell Check
12+
1. Go to [Actions..websiteChecker](https://github.com/NHSDigital/IOPS-FHIR-Test-Scripts/actions/workflows/websiteChecker.yml)
13+
2. Click `Run workflow`.
14+
3. Enter the website url into the `websiteurl` box and click `Run workflow`.
15+
4. Click on the action and then click on the following for the results:
16+
- html error checker
17+
- link checker
18+
- spell checker
1919

2020
## HTML Error Checking
2121
Uses the errorChecker.py script. Checks for any html errors on a website using BeautifulSoup's `find_all('div',{'class':"error"})`. This returns the errors for each individual page.

0 commit comments

Comments
 (0)