Skip to content

Commit

Permalink
Change layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Aune committed Oct 8, 2021
1 parent c67ea7c commit e7679ff
Show file tree
Hide file tree
Showing 243 changed files with 42,906 additions and 12,429 deletions.
25 changes: 25 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# Copyright Verizon Media. All rights reserved.
title: Page not found
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
35 changes: 30 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,39 @@
# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

source "https://rubygems.org"
ruby '>=2.5'

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem "jekyll", "~> 3.9.0"

# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages"

# Work-around because of https://github.com/jekyll/jekyll/issues/8523
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform?

# kramdown v2 ships without the gfm parser by default. If you're using
# kramdown v1, comment out this line.
gem "kramdown-parser-gfm"

# Work-around for webrick no longer included in Ruby 3.0 (https://github.com/jekyll/jekyll/issues/8523)
gem "webrick"

# Get the html-proofer to work
gem 'rake'
gem 'html-proofer'
11 changes: 8 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,13 @@ GEM
ethon (>= 0.9.0)
tzinfo (1.2.9)
thread_safe (~> 0.1)
tzinfo-data (1.2021.2)
tzinfo (>= 1.0.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
unicode-display_width (1.8.0)
wdm (0.1.1)
webrick (1.7.0)
yell (2.2.2)
zeitwerk (2.4.2)
Expand All @@ -288,11 +291,13 @@ PLATFORMS
DEPENDENCIES
github-pages
html-proofer
kramdown-parser-gfm
minima (~> 2.0)
rake
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.0)
webrick

RUBY VERSION
ruby 2.6.3p62

BUNDLED WITH
2.2.16
96 changes: 60 additions & 36 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,66 @@
# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# Global settings
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- test
- open_index.json
- .idea
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.

# Site settings
title : Vespa
email : ""
description: ""
baseurl : ""
url : ""
defaults:
-
scope:
path : ""
values:
layout: "default"
index : true
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Vespa. Big data. Real time. Open source.
description: >- # this means to ignore newlines until "baseurl:"
Vespa - the open big data serving platform
# baseurl: "" # the subpath of your site, e.g. /blog
url: "https://vespa.ai" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: vespaengine
github_username: vespa-engine

search:
namespace: "open"
do_feed : true
do_index_removal_before_feed: false
feed_endpoints:
- url: https://vespacloud-docsearch.vespa-team.aws-us-east-1c.z.vespa-app.cloud/
indexes:
- open_index.json
- url: https://vespacloud-docsearch.vespa-team.aws-ap-northeast-1a.z.vespa-app.cloud/
indexes:
- open_index.json
# Remove this before publishing on github.com
repository: vespa/frontpage

# Build settings
sass:
sass_dir: _sass
markdown: kramdown
plugins:
- jekyll-feed

# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- .idea
- open_index.json

search:
namespace: "vespaai"
do_feed : true
do_index_removal_before_feed: false
feed_endpoints:
- url: https://vespacloud-docsearch.vespa-team.aws-us-east-1c.z.vespa-app.cloud/
indexes:
- vespaai_index.json
- url: https://vespacloud-docsearch.vespa-team.aws-ap-northeast-1a.z.vespa-app.cloud/
indexes:
- vespaai_index.json

defaults:
-
scope:
path : ""
values:
layout: "default"
index : true
2 changes: 0 additions & 2 deletions _data/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ docs:
url: /en/linguistics.html
- page: Query Rewriting
url: /en/query-rewriting.html
- page: Embedding text
url: /en/embedding.html

- title: DEVELOPING APPLICATIONS AND PLUGINS
documents:
Expand Down
40 changes: 0 additions & 40 deletions _includes/footer.html

This file was deleted.

35 changes: 0 additions & 35 deletions _includes/header.html

This file was deleted.

30 changes: 30 additions & 0 deletions _includes/htmlhead.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!-- Copyright Yahoo. All rights reserved. -->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>{{ page.title }}</title>
<!-- Site icons - generated using http://realfavicongenerator.net/ -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/icons/apple-touch-icon.png" | prepend: site.baseurl }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/icons/favicon-32x32.png" | prepend: site.baseurl }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/icons/favicon-16x16.png" | prepend: site.baseurl }}">
<link rel="manifest" href="{{ "/icons/manifest.json" | prepend: site.baseurl }}">
<link rel="mask-icon" href="{{ "/icons/safari-pinned-tab.svg" | prepend: site.baseurl }}" color="#3f9dd8">
<link rel="shortcut icon" href="{{ "/icons/favicon.ico" | prepend: site.baseurl }}" type="image/x-icon">
<meta name="msapplication-config" content="{{ "/icons/browserconfig.xml" | prepend: site.baseurl }}">
<meta name="theme-color" content="#ffffff">
<!-- Denali CSS and Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/denali-css/css/denali.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/denali-icon-font/dist/denali-icon-font.css">
<!-- Vespa Theme -->
{% if include.theme == "light" %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/denali-theme-vespa-light.css">
{% else %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/denali-theme-vespa.css">
{% endif %}
<!-- Style for this page -->
<link rel="stylesheet" href="{{ site.baseurl }}/css/style.css">
{% if include.theme == "light" %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/style-light.css">
{% endif %}
</head>
4 changes: 2 additions & 2 deletions _includes/important.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div markdown="span" class="alert alert-warning" role="alert">
<i class="fa fa-warning"></i> <b>Important:</b>
<div markdown="span" class="vespa-notification vespa-notification-important" role="alert">
<span class="d-icon is-small d-information-circle"></span> <strong>Important:</strong>
{{ include.content }}
</div>
15 changes: 15 additions & 0 deletions _includes/js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Copyright Verizon Media. All rights reserved. -->
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-107187180-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'UA-107187180-1');
</script>

<script>
function toggleMenu() {
document.getElementById("navMenu").classList.toggle('is-active');
}
</script>
39 changes: 0 additions & 39 deletions _includes/nav.html

This file was deleted.

Loading

0 comments on commit e7679ff

Please sign in to comment.