Skip to content

Commit 71b6723

Browse files
committed
docs: fix dead links
1 parent c81d342 commit 71b6723

File tree

7 files changed

+20
-17
lines changed

7 files changed

+20
-17
lines changed

docs/advanced/security.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ scanner is set up correctly. These test files utilize [EICAR test
208208
files](https://www.eicar.org/download-anti-malware-testfile/), which contain a
209209
totally harmless special character sequency detected by virus scanner.
210210

211-
- [`test/data/validator/h5p-with-virus.h5p`](/test/data/validator/h5p-with-virus.h5p):
211+
- [`test/data/validator/h5p-with-virus.h5p`](https://github.com/Lumieducation/H5P-Nodejs-library/blob/release/test/data/validator/h5p-with-virus.h5p):
212212
contains an [EICAR test
213213
file](https://www.eicar.org/download-anti-malware-testfile/) (as an image);
214214
upload this H5P package through the package upload functionality; you should see
215215
an error message explaining that the malware scanner has found something
216-
- [`packages/h5p-clamav-scanner/test/eicar.png`](/packages/h5p-clamav-scanner/test/eicar.png):
216+
- [`packages/h5p-clamav-scanner/test/eicar.png`](https://github.com/Lumieducation/H5P-Nodejs-library/blob/release/packages/h5p-clamav-scanner/test/eicar.png):
217217
is an [EICAR test
218218
file](https://www.eicar.org/download-anti-malware-testfile/); upload this
219219
image as a media file anywhere in the H5P editor; you should see an error

docs/development/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ DEBUG=h5p:* LOG_LEVEL=debug node script.js
8383

8484
## Other scripts
8585

86-
Check out the many other npm scripts in [package.json](/package.json) for other
87-
development functionality.
86+
Check out the many other npm scripts in `package.json` for other development
87+
functionality.

packages/h5p-mongos3/docs/mongo-library-storage.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ test` or other test calls. The reason is that the tests require a running
110110
MongoDB and S3 instance and thus need more extensive setup. To manually execute
111111
the tests call `npm run test:h5p-mongos3`.
112112

113-
To quickly get a functioning MongoDB instance, you can use the [Docker
114-
Compose file in the scripts directory](/scripts/mongo-s3-docker-compose.yml)
113+
To quickly get a functioning MongoDB instance, you can use the [Docker Compose
114+
file in the scripts
115+
directory](https://github.com/Lumieducation/H5P-Nodejs-library/blob/release/scripts/mongo-s3-docker-compose.yml)
115116
like this (you obviously must install
116117
[Docker](https://docs.docker.com/engine/install/) and [Docker
117118
Compose](https://docs.docker.com/compose/install/) first):

packages/h5p-mongos3/docs/mongo-s3-content-storage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ MongoDB and S3 instance and thus need more extensive setup. To manually execute
165165
the tests call `npm run test:h5p-mongos3`.
166166

167167
To quickly get a functioning MongoDB and S3 instance, you can use the [Docker
168-
Compose file in the scripts directory](/scripts/mongo-s3-docker-compose.yml)
168+
Compose file in the scripts
169+
directory](https://github.com/Lumieducation/H5P-Nodejs-library/blob/release/scripts/mongo-s3-docker-compose.yml)
169170
like this (you obviously must install
170171
[Docker](https://docs.docker.com/engine/install/) and [Docker
171172
Compose](https://docs.docker.com/compose/install/) first):

packages/h5p-mongos3/docs/mongo-s3-library-storage.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,9 @@ test` or other test calls. The reason is that the tests require a running
138138
MongoDB and S3 instance and thus need more extensive setup. To manually execute
139139
the tests call `npm run test:h5p-mongos3`.
140140

141-
To quickly get a functioning MongoDB instance, you can use the [Docker
142-
Compose file in the scripts directory](/scripts/mongo-s3-docker-compose.yml)
141+
To quickly get a functioning MongoDB instance, you can use the [Docker Compose
142+
file in the scripts
143+
directory](https://github.com/Lumieducation/H5P-Nodejs-library/blob/release/scripts/mongo-s3-docker-compose.yml)
143144
like this (you obviously must install
144145
[Docker](https://docs.docker.com/engine/install/) and [Docker
145146
Compose](https://docs.docker.com/compose/install/) first):

packages/h5p-server/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2471,8 +2471,8 @@ export enum MalwareScanResult {
24712471

24722472
/**
24732473
* An interface for malware scanners. See the
2474-
* [documentation](/docs/advanced/security.md) for details on how to use this
2475-
* class.
2474+
* {@link ../../docs/advanced/security.md | documentation } for details on how
2475+
* to use this class.
24762476
*/
24772477
export interface IFileMalwareScanner {
24782478
/** The name of the scanner, e.g. ClamAV */

packages/h5p-svg-sanitizer/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ package might not be right for you.
8282
## Testing whether SVGs are correctly sanitized
8383

8484
Get the [`SVG XSS injection demo
85-
file`](/packages/h5p-svg-sanitizer/test/xss-svg.h5p) from the repo, upload it to
86-
your system and save. You should see a simple H5P Blanks activity with the image
87-
of a gray circle. Copy the URL of the image, paste it into your browser's
88-
address bar and load it. You should now _NOT_ see a popup message which is
89-
caused by executing JavaScript code in the SVG. If you see the message,
90-
something is misconfigured.
85+
file`](https://github.com/Lumieducation/H5P-Nodejs-library/blob/release/packages/h5p-svg-sanitizer/test/xss-svg.h5p)
86+
from the repo, upload it to your system and save. You should see a simple H5P
87+
Blanks activity with the image of a gray circle. Copy the URL of the image,
88+
paste it into your browser's address bar and load it. You should now _NOT_ see a
89+
popup message which is caused by executing JavaScript code in the SVG. If you
90+
see the message, something is misconfigured.

0 commit comments

Comments
 (0)