Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rsubtil committed Dec 1, 2023
0 parents commit 00afcbe
Show file tree
Hide file tree
Showing 53 changed files with 3,005 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

# YAML requires indentation with spaces instead of tabs.
[*.{yml,yaml}]
indent_style = space
indent_size = 2

# Ruby scripts and plugins for Jekyll
[*.rb]
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files
* text=auto eol=lf
30 changes: 30 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 🌌 Test Build

on: [pull_request]

# Make sure jobs cannot overlap (e.g. one from push and one from schedule).
concurrency:
group: pr-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-ci
cancel-in-progress: true

jobs:
build:
name: Build sources from the PR branch
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

# Configure the build environment.

- name: Install Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true

# Build the website.

- name: Build the static website
run: bundle exec jekyll build
48 changes: 48 additions & 0 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build and publish

on:
workflow_dispatch:
push:
branches: [ main ]

# Make sure jobs cannot overlap (e.g. one from push and one from schedule).
concurrency:
group: published-ci
cancel-in-progress: true

jobs:
build:
name: Build and deploy to the gh-pages branch
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
ref: 'main'

# Configure the build environment.

- name: Install Ruby 3.1
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true

# Build the website.

- name: Build the static website
run: bundle exec jekyll build

# Publish the build results

- name: Deploy to the gh-pages branch 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: _site
# Configure the commit author.
git-config-name: 'ci-deploy'
git-config-email: '<>'
# Remove outdated files from the target directory.
clean: true
41 changes: 41 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Build artifacts and cache
.bundle/
.jekyll-cache
.jekyll-metadata
_site
vendor/

# Code editors
.vscode/

# Website sections not tracked in this repo
.htaccess
asset-library/
mirrorlist/
qa/

# OS-specific files

# Linux
*~
.directory

# macOS
.DS_Store
__MACOSX

# Windows
# https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
[Tt]humbs.db
[Tt]humbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'jekyll', '4.2.2'
gem 'jekyll-watch'

gem "webrick", "~> 1.7"
70 changes: 70 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.2.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.30.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)
webrick (1.7.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
jekyll (= 4.2.2)
jekyll-watch
webrick (~> 1.7)

BUNDLED WITH
2.4.22
19 changes: 19 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2023-present Ricardo Subtil.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
19 changes: 19 additions & 0 deletions LICENSE_GODOT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2017-present Godot Engine contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# RetroHub Website

Source code for RetroHub's website.

This website is based on the [Godot Engine website](https://github.com/godotengine/godot-website/tree/master), a static website using [Jekyll](https://jekyllrb.com/).

## License

Available under the [MIT license](LICENSE.txt). Original Godot website license is available [here](LICENSE_GODOT.txt).

## Credits

### Icons

- https://www.svgrepo.com/svg/533063/desktop-computer
- https://www.flaticon.com/free-icon/television_2593966
- https://www.svgrepo.com/svg/175931/handheld-game-console
- https://www.svgrepo.com/svg/533083/keyboard
- https://www.svgrepo.com/svg/389208/gamepad-2
- https://www.svgrepo.com/svg/486883/touch
- https://www.svgrepo.com/svg/20943/linux
- https://www.svgrepo.com/svg/140592/windows-side-view-logo-variant
- https://www.svgrepo.com/svg/506545/reddit
- https://www.svgrepo.com/svg/506463/discord
- https://www.svgrepo.com/svg/512317/github-142
7 changes: 7 additions & 0 deletions _config.development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Overrides from the main config
url: "http://localhost:4000"

# Enables incremental builds to speed up iteration times.
incremental: true
# Switch to polling instead of I/O watching, solves Docker issues.
force_polling: true
28 changes: 28 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Settings
exclude:
[
".github",
"Gemfile",
"Gemfile.lock",
"build.sh",
"build-and-serve.sh",
"build-and-watch.sh",
"README.md",
]
permalink: pretty

url: "https://retrohub.github.io"

# Build collection items with a future date.
future: true

# Plugins
# plugins:
# - jekyll-paginate-v2
# - jekyll-redirect-from
# - jekyll-multiple-languages-plugin

# Internationalization
languages: ["en"]
exclude_from_localizations: ["assets"]
default_lang: "en"
21 changes: 21 additions & 0 deletions _data/versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- name: "0.2.3-beta"
flavor: "stable"
release_date: "21 October 2023"
latest: true
url: https://github.com/retrohub-org/retrohub/releases/tag/v0.2.3-beta
changelog: |
#### New features
- Added an option to specify if RetroHub should store it's downloaded game media separately from configuration (changeable from the first-time wizard).
- Added UI sounds for the main interface and themes.
#### Bugfixes
- Fix focus issues when sliding tabs to the left through a controller.
- Fix metadata and media using an internal filename for PS3 games, making it impossible to have multiple games present.
- Fix text edits being canceled on specific text fields with keys assigned to actions, such as slide left/right (Q/E).
- Fix virtual keyboard not showing up on configuration windows.
releases:
win32: https://github.com/retrohub-org/retrohub/releases/download/v0.2.3-beta/RetroHub-v0.2.3-beta-Windows-32.zip
win64: https://github.com/retrohub-org/retrohub/releases/download/v0.2.3-beta/RetroHub-v0.2.3-beta-Windows-64.zip
macos: https://github.com/retrohub-org/retrohub/releases/download/v0.2.3-beta/RetroHub-v0.2.3-beta-macOS.zip
linux32: https://github.com/retrohub-org/retrohub/releases/download/v0.2.3-beta/RetroHub-v0.2.3-beta-Linux-32.zip
linux64: https://github.com/retrohub-org/retrohub/releases/download/v0.2.3-beta/RetroHub-v0.2.3-beta-Linux-64.zip
Loading

0 comments on commit 00afcbe

Please sign in to comment.