-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
187 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,4 +133,6 @@ dmypy.json | |
.DS_Store | ||
|
||
# temp files | ||
tmp/ | ||
tmp/ | ||
Gemfile.lock | ||
_site/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
source "https://rubygems.org" | ||
# 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-theme-minimal" | ||
|
||
|
||
# Following instructions from here: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll | ||
# gem "jekyll", "~> 4.2.1" | ||
group :jekyll_plugins do | ||
gem "jekyll-remote-theme" | ||
gem "github-pages", "~> 219" | ||
end | ||
|
||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem | ||
# and associated library. | ||
platforms :mingw, :x64_mingw, :mswin, :jruby do | ||
gem "tzinfo", "~> 1.2" | ||
gem "tzinfo-data" | ||
end | ||
|
||
# Performance-booster for watching directories on Windows | ||
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] | ||
|
||
gem "webrick", "~> 1.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
theme: jekyll-theme-minimal | ||
|
||
title: Springs | ||
description: A set of utilities to turn Dataclasses into useful configuration managers. | ||
logo: /static/logo.png | ||
description: A set of utilities to create and manage typed configuration files effectively, built on top of OmegaConf. | ||
logo: /assets/img/logo.png | ||
google_analytics: G-LXRX72YD7R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NZ0CWS6R60"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { dataLayer.push(arguments); } | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'G-LXRX72YD7R'); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
--- | ||
|
||
@import "{{ site.theme }}"; | ||
|
||
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | ||
|
||
|
||
header { | ||
font-family: 'Atkinson Hyperlegible', sans-serif; | ||
font-size: 90%; | ||
line-height: 1.3; | ||
p { | ||
text-align: left; | ||
} | ||
|
||
h1 { | ||
font-size: 2.5em; | ||
} | ||
|
||
@media(max-width: 960px) { | ||
text-align: center; | ||
padding: 0; | ||
p {text-align: center} | ||
h1 {text-align: center} | ||
|
||
// float: center; | ||
// margin-top: -8px; | ||
// margin-left: auto; | ||
// margin-right: auto; | ||
} | ||
} | ||
|
||
body { | ||
text-align: justify; | ||
|
||
font-family: 'Atkinson Hyperlegible', sans-serif; | ||
font-size: 100%; | ||
line-height: 1.3; | ||
|
||
// hide title when not on github | ||
h1#springs { | ||
visibility: hidden; | ||
height: 0px; | ||
margin-top: 0; | ||
margin-bottom: -1.5em; | ||
} | ||
img#hero{ | ||
visibility: hidden; | ||
height: 0px; | ||
} | ||
|
||
} | ||
|
||
|
||
|
||
h1, h2, h3, h4, h5, h6 { | ||
text-align: left; | ||
} | ||
|
||
li { | ||
text-align: left; | ||
} | ||
|
||
|
||
/* mouse over link */ | ||
a:hover { | ||
color: #CA3B7D; | ||
font-style: normal; | ||
font-weight: normal; | ||
text-decoration: none; | ||
} | ||
|
||
code { | ||
font-size: .8em; | ||
} | ||
|
||
|
||
h1 { | ||
a:hover { | ||
font-weight: bold; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
p.view { | ||
margin-top: 5em; | ||
@media(max-width: 960px) { | ||
margin-top: 1em; | ||
} | ||
} | ||
|
||
footer { | ||
visibility: hidden; | ||
} |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
name = "springs" | ||
version = "1.4" | ||
description = "A set of utilities to create and manage configuration files effectively, built on top of OmegaConf." | ||
version = "1.4.1" | ||
description = "A set of utilities to create and manage typed configuration files effectively, built on top of OmegaConf." | ||
authors = [ | ||
{name = "Luca Soldaini", email = "[email protected]" } | ||
] | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
# get script directory | ||
SOURCE="${BASH_SOURCE[0]}" | ||
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink | ||
SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" | ||
SOURCE="$(readlink "$SOURCE")" | ||
# if $SOURCE was a relative symlink, we need to resolve it | ||
# relative to the path where the symlink file was located | ||
[[ $SOURCE != /* ]] && SOURCE="$SCRIPT_DIR/$SOURCE" | ||
done | ||
SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" | ||
|
||
bundle install && bundle exec jekyll serve |