Skip to content

Commit 7f80104

Browse files
committed
Import all files from atomvm_www
Import main at dcbbdf5a2ed662cdd6fc7876996d8ec2c0ec14e0
1 parent d130d51 commit 7f80104

38 files changed

+1124
-3
lines changed

.bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
BUNDLE_PATH: "vendor/bundle"

.gitignore

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

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: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
9+
# Jekyll dependency
10+
gem "json"
11+
12+
# This will help ensure the proper Jekyll version is running.
13+
# Happy Jekylling!
14+
gem "jekyll", "~> 4.2.1"
15+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
16+
# gem "minima", "~> 2.5"
17+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
19+
# gem "github-pages", group: :jekyll_plugins
20+
# If you have any plugins, put them here!
21+
group :jekyll_plugins do
22+
gem "jekyll-feed", "~> 0.12"
23+
end
24+
25+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
26+
# and associated library.
27+
platforms :mingw, :x64_mingw, :mswin, :jruby do
28+
gem "tzinfo", "~> 1.2"
29+
gem "tzinfo-data"
30+
end
31+
32+
# Performance-booster for watching directories on Windows
33+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
34+
35+
# For theme
36+
gem "moonwalk"
37+

Gemfile.lock

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.6)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.3)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.16.3)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.8.0)
15+
i18n (1.14.1)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (4.2.2)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 2.3)
25+
kramdown-parser-gfm (~> 1.0)
26+
liquid (~> 4.0)
27+
mercenary (~> 0.4.0)
28+
pathutil (~> 0.9)
29+
rouge (~> 3.0)
30+
safe_yaml (~> 1.0)
31+
terminal-table (~> 2.0)
32+
jekyll-feed (0.15.1)
33+
jekyll (>= 3.7, < 5.0)
34+
jekyll-sass-converter (2.2.0)
35+
sassc (> 2.0.1, < 3.0)
36+
jekyll-soopr-seo-tag (2.7.3)
37+
jekyll (>= 3.8, < 5.0)
38+
jekyll-watch (2.2.1)
39+
listen (~> 3.0)
40+
json (2.7.2)
41+
kramdown (2.4.0)
42+
rexml
43+
kramdown-parser-gfm (1.1.0)
44+
kramdown (~> 2.0)
45+
liquid (4.0.4)
46+
listen (3.9.0)
47+
rb-fsevent (~> 0.10, >= 0.10.3)
48+
rb-inotify (~> 0.9, >= 0.9.10)
49+
mercenary (0.4.0)
50+
moonwalk (0.1.3)
51+
jekyll (~> 4.2.0)
52+
jekyll-feed (~> 0.15.0)
53+
jekyll-soopr-seo-tag (~> 2.7.3)
54+
rouge (~> 3.23.0)
55+
webrick (~> 1.7)
56+
pathutil (0.16.2)
57+
forwardable-extended (~> 2.6)
58+
public_suffix (5.0.4)
59+
rb-fsevent (0.11.2)
60+
rb-inotify (0.10.1)
61+
ffi (~> 1.0)
62+
rexml (3.3.9)
63+
rouge (3.23.0)
64+
safe_yaml (1.0.5)
65+
sassc (2.4.0)
66+
ffi (~> 1.9)
67+
terminal-table (2.0.0)
68+
unicode-display_width (~> 1.1, >= 1.1.1)
69+
unicode-display_width (1.8.0)
70+
webrick (1.8.2)
71+
72+
PLATFORMS
73+
ruby
74+
x86_64-linux
75+
76+
DEPENDENCIES
77+
jekyll (~> 4.2.1)
78+
jekyll-feed (~> 0.12)
79+
json
80+
moonwalk
81+
tzinfo (~> 1.2)
82+
tzinfo-data
83+
wdm (~> 0.1.1)
84+
85+
BUNDLED WITH
86+
2.5.4

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Prerequisites
2+
3+
To build this website, you will need:
4+
5+
* [Ruby 2.7](https://www.ruby-lang.org/en/)
6+
* [Bundler](https://bundler.io)
7+
8+
# Instructions
9+
10+
Change your working directory to the directory containing this README:
11+
12+
cd <path-to-this-directory>
13+
14+
[Optional] We recommend installing all the needed Ruby gems locally (by convention, under `vendor/bundle`):
15+
16+
bundle config set --local path 'vendor/bundle'
17+
18+
Install all the needed gems. This may take some time to complete. Be patient.
19+
20+
bundle install
21+
22+
Serve up your site!
23+
24+
bundle exec jekyll serve [--host <host>] [--port <port>]
25+
26+
or build the website:
27+
28+
bundle exec jekyll build [-d <path-to-output>] [--watch]
29+
30+
# Add a News Post
31+
32+
To post a new article add a file to the _posts directory in the format:
33+
34+
`YYYY-MM-DD-{title}.md`
35+
36+
with a title section like:
37+
38+
```
39+
---
40+
layout: post
41+
title: {Your Headline}
42+
excerpt_separator: <!--more-->
43+
---
44+
```
45+
46+
followed by the news post in markdown format.
47+
If you are posting a long article you can tell where to cut off the introduction that is displayed in the news section, leaving the full article available by following the article link, by placing a line containing:
48+
49+
`<!--more-->`
50+
51+
All content following the above line will only be included in the full article, content before will be displayed as a description on the `atomvm.net/news` page.

_config.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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: AtomVM
22+
23+
author: atomvm.net
24+
description: >- # this means to ignore newlines until "baseurl:"
25+
Welcome to AtomVM, the Erlang virtual machine for IoT devices!
26+
# Write an awesome description for your new site here. You can edit this
27+
# line in _config.yml. It will appear in your document head meta (for
28+
# Google search results) and in your feed.xml site description.
29+
#baseurl: "/" # the subpath of your site, e.g. /blog
30+
url: "https://www.atomvm.net" # the base hostname & protocol for your site, e.g. http://example.com
31+
github_username: atomvm
32+
33+
host: "www.atomvm.net"
34+
35+
# collections:
36+
# portfolio:
37+
38+
markdown: kramdown
39+
40+
custom_favicon: "assets/images/favicon/favicon.ico"
41+
42+
# Build settings
43+
theme: moonwalk
44+
plugins:
45+
- jekyll-feed
46+
47+
keep_files: [CNAME, .git, .nojekyll, doc]
48+
49+
# Exclude from processing.
50+
# The following items will not be processed, by default.
51+
# Any item listed under the `exclude:` key here will be automatically added to
52+
# the internal "default list".
53+
#
54+
# Excluded items can be processed by explicitly listing the directories or
55+
# their entries' file path in the `include:` list.
56+
#
57+
# exclude:
58+
# - .sass-cache/
59+
# - .jekyll-cache/
60+
# - gemfiles/
61+
# - Gemfile
62+
# - Gemfile.lock
63+
# - node_modules/
64+
# - vendor/bundle/
65+
# - vendor/cache/
66+
# - vendor/gems/
67+
# - vendor/ruby/
68+
69+
70+
### Aux links for the upper right navigation
71+
##aux_links:
72+
## "AtomVM on GitHub":
73+
## - "//github.com/bettio/AtomVM"
74+
##aux_links_new_tab: true
75+
##color_scheme: light
76+
##logo: "/assets/images/AtomVM-logo.png"
77+
78+
## moonwalk theme configuration
79+
soopr: false
80+
theme_config:
81+
appearance: dark
82+
home:
83+
title_projects: Getting Started
84+
show_blog: false
85+
show_old_projects: false
86+
show_footer: false

_data/home.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
navbar_entries:
2+
- title: download
3+
url: https://github.com/atomvm/AtomVM/releases
4+
5+
- title: news
6+
url: news
7+
8+
- title: doc
9+
url: doc/main
10+
11+
- title: github
12+
url: https://github.com/atomvm
13+
14+
- title: extensions
15+
url: extensions
16+
17+
- title: forum
18+
url: https://erlangforums.com/c/erlang-platforms/atomvm-forum/76
19+
20+
- title: contact
21+
url: contact
22+
23+
project_entries:
24+
- title: Documentation
25+
url: doc/master
26+
desc: AtomVM documentation, from soup to nuts. Everything you want to know about AtomVM!
27+
28+
- title: Sample Code
29+
url: sample-code
30+
desc: See some sample programs in action
31+
highlight: WIP
32+
33+
- title: Tutorials
34+
url: tutorials
35+
desc: Step-by-step guides to getting started with AtomVM
36+
highlight: WIP
37+
38+
39+
footer_entries:
40+
- title: AtomVM on Github
41+
url: https://github.com/atomvm/AtomVM
42+
- title: AtomVMLib
43+
url: https://github.com/atomvm/atomvm_lib

_includes/custom_head.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- <link rel="shortcut icon" type="image/x-icon" href="/{{ site.custom_favicon }}" /> -->
2+
3+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon/apple-touch-icon.png">
4+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon/favicon-32x32.png">
5+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon/favicon-16x16.png">
6+
<link rel="manifest" href="/assets/images/favicon/site.webmanifest">
7+
<link rel="shortcut icon" href="/assets/images/favicon/favicon.ico">

0 commit comments

Comments
 (0)