Skip to content

Commit

Permalink
Initial minimal Advents of Code commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin TOUZOT committed Jul 3, 2024
1 parent 4db1463 commit b1293f1
Show file tree
Hide file tree
Showing 46 changed files with 93 additions and 48 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Deploy Jekyll site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -44,12 +44,17 @@ jobs:
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
run: |
cd docs
bundle install
bundle exec jekyll build "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/_site

# Deployment job
deploy:
Expand Down
3 changes: 1 addition & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
The MIT License (MIT)
MIT License

Copyright (c) 2020 Ryan McDermott
Copyright (c) 2024 Martin TOUZOT

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
51 changes: 14 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,19 @@
# jekyll-latex
# Advent of Code

<p align="center">
<img src="./assets/jekyll_latex_cover_art.png">
</p>
[Advent of Code](https://adventofcode.com/) is a web challenge based upon a advent calendar but for developers.

[![LICENSE](https://img.shields.io/github/license/mtouzot/jekyll-latex)](LICENSE.md)
Every day a challenge to solve.

Pick up your computer and your favourite coding language and go on!

## Features
- LaTeX typography
- Abstract, theorems, proofs, and definitions
- MathJax
- Google Analytics
- Profile photo
- Compatible with Jekyll 3.x and Github Pages
- Responsive layout
- Supports Jekyll's SCSS preprocessor
You can find the daily challenge here:

## Installation
```
git clone https://github.com/mtouzot/jekyll-latex.git
bundle install
# Change all relevant settings for your site in _config.yml
bundle exec jekyll serve --watch
```

## Credits

Based on the amazing work below:
- https://github.com/ryanmcdermott/jekyll-latex
- https://github.com/heiswayi/the-plain
- https://github.com/vincentdoerig/latex-css

## Licenses

1. This project: MIT
1. The Plain (of which this is based): MIT
1. Latex CSS: MIT
- [2015](https://adventofcode.com/2015)
- [2016](https://adventofcode.com/2016)
- [2017](https://adventofcode.com/2017)
- [2018](https://adventofcode.com/2018)
- [2019](https://adventofcode.com/2019)
- [2020](https://adventofcode.com/2020)
- [2021](https://adventofcode.com/2021)
- [2022](https://adventofcode.com/2022)
- [2023](https://adventofcode.com/2023)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions docs/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2020 Ryan McDermott
Copyright (c) 2024 Martin TOUZOT

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
42 changes: 42 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# jekyll-latex

<p align="center">
<img src="./assets/jekyll_latex_cover_art.png">
</p>

[![LICENSE](https://img.shields.io/github/license/mtouzot/jekyll-latex)](LICENSE.md)


## Features
- LaTeX typography
- Abstract, theorems, proofs, and definitions
- MathJax
- Google Analytics
- Profile photo
- Compatible with Jekyll 3.x and Github Pages
- Responsive layout
- Supports Jekyll's SCSS preprocessor

## Installation
```
git clone https://github.com/mtouzot/jekyll-latex.git
bundle install
# Change all relevant settings for your site in _config.yml
bundle exec jekyll serve --watch
```

## Credits

Based on the amazing work below:
- https://github.com/ryanmcdermott/jekyll-latex
- https://github.com/heiswayi/the-plain
- https://github.com/vincentdoerig/latex-css

## Licenses

1. This project: MIT
1. The Plain (of which this is based): MIT
1. Latex CSS: MIT
File renamed without changes.
14 changes: 7 additions & 7 deletions _config.yml → docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Site Info
title: "Jekyll Latex"
description: "A pretty good Jekyll theme"
start_year: "2023"
title: "Advents of code"
description: "Yet another Advent of Code repo"
start_year: "2024"
google_verify: abc123 # Put your Google Verification here
google_analytics: UA-123

# Author Info
author_name: "John Doe" # Your name here
author_email: john@doe.com # Your email here
author_gravatar: e98e5de03e97f8498caab87e85a43f9a # Your Gravatar md5 hash here for logo
author_name: "Martin TOUZOT" # Your name here
author_email: martin.touzot@gmail.com # Your email here
author_gravatar: b1fb30e34362f9801f2317acde0f3838 # Your Gravatar md5 hash here for logo

# Site Settings
url: https://mtouzot.github.io # Change to your site
baseurl: /jekyll-latex
baseurl: /advents-of-code
permalink: /posts/:title # Post permalink
timezone: America/Los_Angeles # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
mathjax: true # enables support for mathjax - set to false to disable
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit b1293f1

Please sign in to comment.