Skip to content
Merged
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
22 changes: 22 additions & 0 deletions .github/workflows/html-proofer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Checks

on:
pull_request:

jobs:
proof:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Runs bundle install and caches gems

- name: Build Jekyll site
run: bundle exec jekyll build

- name: Run HTMLProofer
run: bundle exec htmlproofer --allow-hash-href=true --ignore-status-codes=404 ./_site
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.4
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
source 'https://rubygems.org'

gem 'jekyll', '4.3.1'
gem 'html-proofer'
gem 'csv'
gem 'logger'
gem 'base64'
gem 'bigdecimal'

group :jekyll_plugins do
gem 'jekyll-archives'
Expand Down
37 changes: 34 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,29 @@ GEM
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.3.0)
bigdecimal (3.2.1)
colorator (1.1.0)
concurrent-ruby (1.1.10)
csv (3.3.5)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
google-protobuf (3.25.5)
google-protobuf (3.23.4)
html-proofer (4.4.3)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogiri (~> 1.13)
parallel (~> 1.10)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
zeitwerk (~> 2.5)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -52,36 +66,53 @@ GEM
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.7.0)
mercenary (0.4.0)
mini_portile2 (2.8.9)
nokogiri (1.13.10)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
parallel (1.24.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.3.9)
rouge (4.0.1)
rouge (3.30.0)
safe_yaml (1.0.5)
sass-embedded (1.57.1)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.3.0)
webrick (1.8.2)
yell (2.2.2)
zeitwerk (2.6.18)

PLATFORMS
ruby

DEPENDENCIES
base64
bigdecimal
csv
html-proofer
jekyll (= 4.3.1)
jekyll-archives
jekyll-feed
jekyll-paginate
jekyll-seo-tag
jekyll-sitemap
logger
webrick (~> 1.8)

BUNDLED WITH
2.4.1
2.6.9
6 changes: 3 additions & 3 deletions download.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
---
<h2 class="editable">You can download <strong>AnySoftKeyboard</strong> from Play Store or F-Droid.</h2>
<div class="center-text">
<a href="https://play.google.com/store/apps/details?id=com.menny.android.anysoftkeyboard" target="_blank" rel="noopener"><img class="not-full" src="/images/en-play-badge.png" width="250px" height="74px"/></a>
<a href="https://f-droid.org/repository/browse/?fdid=com.menny.android.anysoftkeyboard" target="_blank" rel="noopener"><img class="not-full" src="/images/f-droid.png" width="212px" height="74px"/></a>
<a href="https://play.google.com/store/apps/details?id=com.menny.android.anysoftkeyboard" target="_blank" rel="noopener"><img class="not-full" src="/images/en-play-badge.png" alt="Play Store" width="250px" height="74px"/></a>
<a href="https://f-droid.org/repository/browse/?fdid=com.menny.android.anysoftkeyboard" target="_blank" rel="noopener"><img class="not-full" src="/images/f-droid.png" alt="F-Droid" width="212px" height="74px"/></a>
</div>
<div class="center-text">
<p>Feeling adventurous? Sign up for the Beta channel <a href="https://play.google.com/apps/testing/com.menny.android.anysoftkeyboard" target="_blank" rel="noopener"><i class="fab fa-google-play"></i> here</a> (Served via Google Play Store).</p>
<p>Feeling <i>very</i> adventurous? opt-in to the Alpha channel by also joining the <a href="https://groups.google.com/forum/#!forum/anysoftkeyboard-alpha-testers" target="_blank" rel="noopener">Testers Google group</a>.</p>
<p>Feeling <i>very</i> adventurous? opt-in to the Alpha channel by also joining the <a href="https://groups.google.com/g/anysoftkeyboard-alpha-testers" target="_blank" rel="noopener">Testers Google group</a>.</p>
</div>

12 changes: 6 additions & 6 deletions languages.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@
<div>
<p class="languages-list"><span class="flag-container"><img src="{{ language.icon }}" alt="{{ language.name }} flag" class="language-flag" style="height: 32px; width: auto; vertical-align: middle;"></span> {{ language.name }}

{% if language.github == nil %}
{% if language.github == nil or language.github == "" %}
<img class="no-link-found not-full-icon" src="/images/github.png" width="32px" height="32px"/></a>
{% else %}
<a href="{{ language.github }}"><img class="not-full-icon" src="/images/github.png" width="32px" height="32px"/></a>
<a href="{{ language.github }}"><img class="not-full-icon" src="/images/github.png" alt="{{ language.name }} on github" width="32px" height="32px"/></a>
{% endif %}

{% if language.f-droid == nil %}
{% if language.f-droid == nil or language.f-droid == "" %}
<img class="no-link-found not-full-icon" src="/images/fdroid.png" width="32px" height="32px"/></a>
{% else %}
<a href="{{ language.f-droid }}"><img class="not-full-icon" src="/images/fdroid.png" width="32px" height="32px"/></a>
<a href="{{ language.f-droid }}"><img class="not-full-icon" src="/images/fdroid.png" alt="{{ language.name }} on f-droid" width="32px" height="32px"/></a>
{% endif %}

{% if language.play == nil %}
{% if language.play == ni or language.play == ""l %}
<img class="no-link-found not-full-icon" src="/images/play.png" width="32px" height="32px"/></a>
{% else %}
<a href="{{ language.play }}"><img class="not-full-icon" src="/images/play.png" width="32px" height="32px"/></a>
<a href="{{ language.play }}"><img class="not-full-icon" src="/images/play.png" alt="{{ language.name }} on Google Play Store" width="32px" height="32px"/></a>
{% endif %}
</p>
</div>
Expand Down