Skip to content

Commit dd326a8

Browse files
committed
fix: fix images not showing in Github pages site
1 parent ccdcdcc commit dd326a8

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

_config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ title: CRS4 Digital Pathology Platform
22
description: Documentation for the CRS4 Digital Pathology Platform (CDPP)
33
theme: just-the-docs
44

5-
url: ""
6-
# baseurl: "/cdpp-docs"
5+
url: "https://crs4.github.io"
6+
baseurl: "/DigitalPathologyPlatform"
77

88
search_enabled: true
99

@@ -15,4 +15,3 @@ nav_sort: case_insensitive
1515

1616
includes:
1717
head: head_custom.html
18-

docs/installation/04-am_config.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,31 +53,31 @@ Use the superuser credentials to log in. To create a reviewer account:
5353

5454
Click **Add user** in the Django Admin dashboard:
5555

56-
<a href="/assets/images/04-am_config/site_admin.png" data-lightbox="04-am_config-1">
57-
<img src="/assets/images/04-am_config/site_admin.png" alt="Django Admin - Add user" width="100%" />
56+
<a href="{{ site.baseurl }}/assets/images/04-am_config/site_admin.png" data-lightbox="04-am_config-1">
57+
<img src="{{ site.baseurl }}/assets/images/04-am_config/site_admin.png" alt="Django Admin - Add user" width="100%" />
5858
</a>
5959

6060
Enter the desired username and password, then click **Save and continue editing**:
6161

62-
<a href="/assets/images/04-am_config/new_user-1.png" data-lightbox="04-am_config-2">
63-
<img src="/assets/images/04-am_config/new_user-1.png" alt="Create new user form" width="100%" />
62+
<a href="{{ site.baseurl }}/assets/images/04-am_config/new_user-1.png" data-lightbox="04-am_config-2">
63+
<img src="{{ site.baseurl }}/assets/images/04-am_config/new_user-1.png" alt="Create new user form" width="100%" />
6464
</a>
6565

6666
Fill in the user's personal information and assign the user to the following groups:
6767

6868
- `ROIS_MANAGERS`
6969
- `CLINICAL_MANAGERS`
7070

71-
<a href="/assets/images/04-am_config/new_user-2.png" data-lightbox="04-am_config-3">
72-
<img src="/assets/images/04-am_config/new_user-2.png" alt="Assign groups to user" width="100%" />
71+
<a href="{{ site.baseurl }}/assets/images/04-am_config/new_user-2.png" data-lightbox="04-am_config-3">
72+
<img src="{{ site.baseurl }}/assets/images/04-am_config/new_user-2.png" alt="Assign groups to user" width="100%" />
7373
</a>
7474

7575
When finished, click **Save**.
7676

7777
You should now see the new user in the list:
7878

79-
<a href="/assets/images/04-am_config/users_recap.png" data-lightbox="04-am_config-4">
80-
<img src="/assets/images/04-am_config/users_recap.png" alt="Users overview list" width="100%" />
79+
<a href="{{ site.baseurl }}/assets/images/04-am_config/users_recap.png" data-lightbox="04-am_config-4">
80+
<img src="{{ site.baseurl }}/assets/images/04-am_config/users_recap.png" alt="Users overview list" width="100%" />
8181
</a>
8282

8383
Repeat this process to create additional reviewer accounts.

0 commit comments

Comments
 (0)