Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Contribute to Spuntik
You want to contribute to Sputnik? No Problem! Just open up a pull request to the `staging` branch!

## main app
The main app is based on SwiftUI. To install it you'll need the latest version of Xcode. Open up the Sputnik.xcodeproj file in XCode and hit `⌘R` to run the app. To stop that process just hit `⌘.`.

## landingpage
The landingpage can be found in the `docs/` directory. It's build with [jekyll](https://jekyllrb.com/) and [tailwindcss](https://tailwindcss.com/).
To ensure, all your styles you've added, run `npm run purge` in the docs folder to ensure all tailwind styles are included into the production css file (`tailwind.css`).


2 changes: 1 addition & 1 deletion Sputnik/GeminiDocument.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class GeminiDocument: ObservableObject {
newUrl = GeminiURL(url: target)
} else {
let oldUrl = navStack[navIndex]
newUrl = oldUrl.combiningRelative(url: target)
newUrl = oldUrl.combiningRelative(url: target.standardized.absoluteURL)
}

self.connect(target: newUrl, lineId: lineId)
Expand Down