realm / jazzy

Soulful docs for Swift & Objective-C
https://realm.io
MIT License
7.35k stars 413 forks source link

Support projects hosted on GitLab and Bitbucket #1268

Closed johnfairh closed 3 years ago

johnfairh commented 3 years ago

Resurrecting #314. Add --source-host option to choose between GitHub, GitLab, Bitbucket for:

Backwards compatible, the options and mustache tags involving "github" are aliased onto the new repo-agnostic terms.

Fix bugs with the per-declaration links found along the way.

Bitbucket, apple theme: Screenshot 2021-07-21 at 19 22 54

GitHub, jony theme: Screenshot 2021-07-21 at 19 29 51

GitLab, fullwidth theme: Screenshot 2021-07-21 at 19 21 47

The GitLab icon. I've used their (official) mono version here because the jazzy color scheme in the header is basically b+w. Their more familiar colourful one pops 'looks great' in that it pops really strongly and looks like the most important thing on the page!

It's easy to replace the image using a custom theme, minded to go ahead with the mono version.