Add alternate source repository links
This commit is contained in:
16
README.md
16
README.md
@@ -15,4 +15,20 @@ To add a live project link, add `siteUrl` to any project in `projects.js`:
|
||||
siteUrl: "https://seanstarkey.dev/Hallowdeep/"
|
||||
```
|
||||
|
||||
To link a project to a self-hosted git repository, add `gitUrl`:
|
||||
|
||||
```js
|
||||
gitUrl: "https://git.seanstarkey.dev/Hallowdeep"
|
||||
```
|
||||
|
||||
Projects can keep their existing `url` GitHub link, use only `gitUrl`, or include both.
|
||||
|
||||
To link a project to SourceForge, add `sourceforgeUrl`:
|
||||
|
||||
```js
|
||||
sourceforgeUrl: "https://sourceforge.net/projects/project-name/"
|
||||
```
|
||||
|
||||
SourceForge projects can also omit `url` if there is no GitHub mirror.
|
||||
|
||||
Open `index.html` directly in a browser or deploy the whole directory to any static host.
|
||||
|
||||
Reference in New Issue
Block a user