Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ryma2fhir committed Oct 4, 2023
1 parent aa41474 commit 975753d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 67 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/errorChecker.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/linkchecker.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/websiteChecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
default: "https://simplifier.net/guide/uk-core-implementation-guidance-directory?version=current"
jobs:
job1:
name: html Error Checking
name: html error checker
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Execute HTML Error Check
run: INPUT_STORE=${{ github.event.inputs.websiteurl }} python ./IGPageContentValidator/errorChecker.py
job2:
name: url link checking
name: url link checker
runs-on: ubuntu-latest
steps:
- name: checkout repo content
Expand All @@ -44,7 +44,7 @@ jobs:
linkchecker -r 2 --check-extern --no-status -f
./IGPageContentValidator/linkcheckerrc ${{ github.event.inputs.websiteurl }} || test $? = 1;
job3:
name: spell checking
name: spell checker
runs-on: ubuntu-latest
steps:
- name: checkout repo content
Expand Down
14 changes: 7 additions & 7 deletions IGPageContentValidator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ The website validation is in three parts:

## Instructions

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.
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.
3. Within each Action click the `Build` button
4. Within the Build click the following for the results:
- HTML Error Check
- Link Check
- Spell Check
1. Go to [Actions..websiteChecker](https://github.com/NHSDigital/IOPS-FHIR-Test-Scripts/actions/workflows/websiteChecker.yml)
2. Click `Run workflow`.
3. Enter the website url into the `websiteurl` box and click `Run workflow`.
4. Click on the action and then click on the following for the results:
- html error checker
- link checker
- spell checker

## HTML Error Checking
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.
Expand Down

0 comments on commit 975753d

Please sign in to comment.