Skip to content

Commit 8084311

Browse files
committed
Setup
0 parents  commit 8084311

13 files changed

+417
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

Gemfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
gem "jekyll", "~> 4.0.0"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
gem "elea"
13+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15+
# gem "github-pages", group: :jekyll_plugins
16+
# If you have any plugins, put them here!
17+
group :jekyll_plugins do
18+
gem "jekyll-feed", "~> 0.12"
19+
end
20+
21+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22+
# and associated library.
23+
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
24+
gem "tzinfo", "~> 1.2"
25+
gem "tzinfo-data"
26+
end
27+
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
30+

Gemfile.lock

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
PATH
2+
remote: ../elea
3+
specs:
4+
elea (0.1.0)
5+
jekyll (~> 4.0)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
addressable (2.7.0)
11+
public_suffix (>= 2.0.2, < 5.0)
12+
colorator (1.1.0)
13+
concurrent-ruby (1.1.5)
14+
em-websocket (0.5.1)
15+
eventmachine (>= 0.12.9)
16+
http_parser.rb (~> 0.6.0)
17+
eventmachine (1.2.7)
18+
ffi (1.11.1)
19+
forwardable-extended (2.6.0)
20+
http_parser.rb (0.6.0)
21+
i18n (1.6.0)
22+
concurrent-ruby (~> 1.0)
23+
jekyll (4.0.0)
24+
addressable (~> 2.4)
25+
colorator (~> 1.0)
26+
em-websocket (~> 0.5)
27+
i18n (>= 0.9.5, < 2)
28+
jekyll-sass-converter (~> 2.0)
29+
jekyll-watch (~> 2.0)
30+
kramdown (~> 2.1)
31+
kramdown-parser-gfm (~> 1.0)
32+
liquid (~> 4.0)
33+
mercenary (~> 0.3.3)
34+
pathutil (~> 0.9)
35+
rouge (~> 3.0)
36+
safe_yaml (~> 1.0)
37+
terminal-table (~> 1.8)
38+
jekyll-feed (0.12.1)
39+
jekyll (>= 3.7, < 5.0)
40+
jekyll-sass-converter (2.0.0)
41+
sassc (> 2.0.1, < 3.0)
42+
jekyll-watch (2.2.1)
43+
listen (~> 3.0)
44+
kramdown (2.1.0)
45+
kramdown-parser-gfm (1.1.0)
46+
kramdown (~> 2.0)
47+
liquid (4.0.3)
48+
listen (3.1.5)
49+
rb-fsevent (~> 0.9, >= 0.9.4)
50+
rb-inotify (~> 0.9, >= 0.9.7)
51+
ruby_dep (~> 1.2)
52+
mercenary (0.3.6)
53+
pathutil (0.16.2)
54+
forwardable-extended (~> 2.6)
55+
public_suffix (4.0.1)
56+
rb-fsevent (0.10.3)
57+
rb-inotify (0.10.0)
58+
ffi (~> 1.0)
59+
rouge (3.11.0)
60+
ruby_dep (1.5.0)
61+
safe_yaml (1.0.5)
62+
sassc (2.2.1)
63+
ffi (~> 1.9)
64+
terminal-table (1.8.0)
65+
unicode-display_width (~> 1.1, >= 1.1.1)
66+
thread_safe (0.3.6)
67+
tzinfo (1.2.5)
68+
thread_safe (~> 0.1)
69+
tzinfo-data (1.2019.3)
70+
tzinfo (>= 1.0.0)
71+
unicode-display_width (1.6.0)
72+
wdm (0.1.1)
73+
74+
PLATFORMS
75+
ruby
76+
77+
DEPENDENCIES
78+
elea!
79+
jekyll (~> 4.0.0)
80+
jekyll-feed (~> 0.12)
81+
tzinfo (~> 1.2)
82+
tzinfo-data
83+
wdm (~> 0.1.1)
84+
85+
BUNDLED WITH
86+
2.0.1

_config.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: Hover Documentation
22+
23+
# Build settings
24+
theme: elea
25+
plugins:
26+
- jekyll-feed
27+
28+
# Exclude from processing.
29+
# The following items will not be processed, by default.
30+
# Any item listed under the `exclude:` key here will be automatically added to
31+
# the internal "default list".
32+
#
33+
# Excluded items can be processed by explicitly listing the directories or
34+
# their entries' file path in the `include:` list.
35+
#
36+
# exclude:
37+
# - .sass-cache/
38+
# - .jekyll-cache/
39+
# - gemfiles/
40+
# - Gemfile
41+
# - Gemfile.lock
42+
# - node_modules/
43+
# - vendor/bundle/
44+
# - vendor/cache/
45+
# - vendor/gems/
46+
# - vendor/ruby/

_data/sidebar.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
menu:
2+
- title: Introduction
3+
links:
4+
- page: Quick Start
5+
url: /
6+
relative_url: true
7+
- page: Live demo
8+
url: https://github.com/usehover

_includes/footer.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<footer class="footer is-dark">
2+
<div class="container is-fluid has-text-centered is-centered">
3+
<img src="/assets/images/logo_2line_dark.svg">
4+
5+
<div class="buttons are-large has-text-weight-semibold is-centered">
6+
<a href="https://usehover.com/u/sign_up" class="button is-primary">Get started free</a>
7+
<a href="{{ '/' | relative_url }}" class="button is-dark">Explore the docs</a>
8+
</div>
9+
</div>
10+
</footer>

_includes/header.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<nav class="navbar is-dark is-family-secondary has-text-weight-semibold" role="navigation" aria-label="navigation">
2+
<div class="container is-fluid">
3+
<div class="navbar-brand">
4+
<a href="/">
5+
<img src="/assets/images/hover-logo-white.png">
6+
</a>
7+
<a role="button" id="nav-btn" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="#hoverTabs">
8+
<span aria-hidden="true"></span>
9+
<span aria-hidden="true"></span>
10+
<span aria-hidden="true"></span>
11+
</a>
12+
</div>
13+
14+
<div id="hoverTabs" class="navbar-menu">
15+
<div class="navbar-start">
16+
<a id="docs-tab" href="{{ '/' | relative_url }}" class="navbar-item">Docs</a>
17+
<a id="pricing-tab" href="https://usehover.com/pricing" class="navbar-item">Pricing</a>
18+
</div>
19+
20+
<div class="navbar-end">
21+
<div class="navbar-item is-hidden-mobile">
22+
<div class="buttons are-large">
23+
<a href="https://www.usehover.com/u/sign_up" class="button is-primary" target="_blank">Get started free</a>
24+
<a href="https://www.usehover.com/u/sign_in" class="button is-dark" target="_blank">Sign in</a>
25+
</div>
26+
</div>
27+
<div class="is-hidden-tablet">
28+
<a href="https://www.usehover.com/u/sign_in" class="navbar-item" target="_blank">Sign in</a>
29+
<a href="https://www.usehover.com/u/sign_up" class="navbar-item is-primary" target="_blank">Get started free</a>
30+
<hr class="navbar-divider">
31+
<a target="_blank" class="navbar-item pop" href="https://medium.com/use-hover">Blog</a>
32+
<a target="_blank" class="navbar-item pop" href="https://www.usehover.com/javadoc">Javadocs</a>
33+
</div>
34+
</div>
35+
</div>
36+
</div>
37+
</nav>
38+
<script type="text/javascript">
39+
document.addEventListener('DOMContentLoaded', () => {
40+
document.getElementById('nav-btn').onclick = function() {
41+
document.getElementById('nav-btn').classList.toggle('is-active');
42+
document.getElementById('hoverTabs').classList.toggle('is-active');
43+
}
44+
});
45+
</script>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2019-09-20 10:59:50 +0300
5+
categories: jekyll update
6+
---
7+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
8+
9+
Jekyll requires blog post files to be named according to the following format:
10+
11+
`YEAR-MONTH-DAY-title.MARKUP`
12+
13+
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
14+
15+
Jekyll also offers powerful support for code snippets:
16+
17+
{% highlight ruby %}
18+
def print_hi(name)
19+
puts "Hi, #{name}"
20+
end
21+
print_hi('Tom')
22+
#=> prints 'Hi, Tom' to STDOUT.
23+
{% endhighlight %}
24+
25+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
26+
27+
[jekyll-docs]: https://jekyllrb.com/docs/home
28+
[jekyll-gh]: https://github.com/jekyll/jekyll
29+
[jekyll-talk]: https://talk.jekyllrb.com/

assets/images/action-form-example.png

95.9 KB
Loading

0 commit comments

Comments
 (0)