Skip to content

Commit

Permalink
Revert "Revert "Revert "Change layout"""
Browse files Browse the repository at this point in the history
  • Loading branch information
kkraune authored Oct 11, 2021
1 parent 1847690 commit 1d51d96
Show file tree
Hide file tree
Showing 243 changed files with 12,430 additions and 42,918 deletions.
25 changes: 0 additions & 25 deletions 404.html

This file was deleted.

33 changes: 3 additions & 30 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,41 +1,14 @@
# 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'

# 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"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# 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"

# 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)
# Work-around because of https://github.com/jekyll/jekyll/issues/8523
gem "webrick"

# Get the html-proofer to work
gem 'rake'
gem 'html-proofer'
11 changes: 3 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,10 @@ 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 @@ -291,13 +288,11 @@ 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: 37 additions & 59 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,42 @@
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# 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.
# 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

# Site settings
# 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
# Remove this before publishing on github.com
repository: vespa/documentation

# 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
title : Vespa
email : ""
description: ""
baseurl : ""
url : ""
defaults:
-
scope:
path : ""
values:
layout: "default"
index : true

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
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

defaults:
-
scope:
path : ""
values:
layout: "default"
index : true
# Build settings
markdown: kramdown
40 changes: 40 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!-- Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 footer">
<div class="row">
<div class="col-md-12 footer-border">
<div class="row">
<div class="col-md-2">
<ul class="nav footer-text">
<li>RESOURCES</li>
<li><a href="https://docs.vespa.ai/en/getting-started.html">Getting Started</a>
<li><a href="https://docs.vespa.ai">Documentation</a>
<li><a href="https://github.com/vespa-engine/vespa">Open source</a>
</ul>
</div>
<div class="col-md-2">
<ul class="nav footer-text">
<li>CONTACT</li>
<li><a href="https://twitter.com/vespaengine">Twitter</a>
<li><a href="mailto:[email protected]">[email protected]</a>
<li><a href="https://github.com/vespa-engine/vespa/issues">Issues</a>
</ul>
</div>
<div class="col-md-2">
<ul class="nav footer-text">
<li>COMMUNITY</li>
<li><a href="https://github.com/vespa-engine/vespa/blob/master/CONTRIBUTING.md">Contributing</a>
<li><a href="http://stackoverflow.com/questions/tagged/vespa">Stack Overflow</a>
<li><a href="http://slack.vespa.ai">Slack</a>
</ul>
</div>
<div class="col-md-6">
<ul class="nav footer-text text-right">
<li>
<p>Copyright Yahoo Holdings 2017 Licensed by <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache</a> License 2.0</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
35 changes: 35 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<meta name="description" content="Serve big data with ease - dynamic responses at any scale in milliseconds with any traffic volume.">
<meta name="author" content="Vespa team">

<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ "Vespa" }}{% endif %}</title>

<!-- Bootstrap -->
<link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet">

<!-- Font Awesome -->
<link rel="stylesheet" href="{{ site.baseurl }}/css/font-awesome.min.css">

<!-- Docs layout -->
<link rel="stylesheet" href="{{ site.baseurl }}/css/docs.css">

<!-- Favicons -->
<link rel="icon" href="{{ site.baseurl }}/icons/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="{{ site.baseurl }}/icons/favicon.ico" type="image/x-icon" />

<!-- Bootstrap and other JavaScript -->
<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script src="{{ site.baseurl }}/js/jquery-2.2.4.min.js"></script>
<script src="{{ site.baseurl }}/js/bootstrap.min.js"></script>

<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-107187180-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'UA-107187180-3');
</script>
30 changes: 0 additions & 30 deletions _includes/htmlhead.html

This file was deleted.

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="vespa-notification vespa-notification-important" role="alert">
<span class="d-icon is-small d-information-circle"></span> <strong>Important:</strong>
<div markdown="span" class="alert alert-warning" role="alert">
<i class="fa fa-warning"></i> <b>Important:</b>
{{ include.content }}
</div>
15 changes: 0 additions & 15 deletions _includes/js.html

This file was deleted.

39 changes: 39 additions & 0 deletions _includes/nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!-- Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://vespa.ai">
<img src="{{ site.baseurl }}/img/vespa-logo.png" width="100" height="28">
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="http://blog.vespa.ai/">Blog</a>
<li><a href="https://twitter.com/vespaengine" data-proofer-ignore>Twitter</a>
<li><a href="/">Docs</a>
<li><a href="https://github.com/vespa-engine" target="_blank" data-proofer-ignore>GitHub</a>
<li><a href="https://github.com/vespa-engine/vespa/issues" target="_blank" data-proofer-ignore>Issues</a>
</ul>
<div class="col-sm-offset-2 col-md-offset-2">
<div class="row">
<form class="search" action="{{ site.baseurl }}/search.html" method="get" id="search-form">
<div class="col-xs-4">
<input type="text" class="form-control" placeholder="Search Documentation" id="searchinput" name="q">
</div>
<button type="submit" id="submit" class="btn btn-search"><i class="fa fa-search" aria-hidden="true"></i></button>
</form>
</div>
</div>
</div>
</div>
</nav>

<script type="module" src="/js/search_suggestions.js"></script>


Loading

0 comments on commit 1d51d96

Please sign in to comment.