Skip to content

Commit 8662cfd

Browse files
authored
Initial commit
0 parents  commit 8662cfd

File tree

183 files changed

+39087
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+39087
-0
lines changed

.all-contributorsrc

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"files": [
3+
"README.md"
4+
],
5+
"imageSize": 100,
6+
"commit": false,
7+
"contributorsPerLine": 7,
8+
"projectName": "al-folio",
9+
"projectOwner": "alshedivat",
10+
"repoType": "github",
11+
"repoHost": "https://github.com",
12+
"badgeTemplate": "[core_contributors]: https://img.shields.io/badge/core_contributors-<%= contributors.length %>-orange.svg 'Number of core contributors'",
13+
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
14+
"skipCi": true,
15+
"contributors": [
16+
{
17+
"login": "alshedivat",
18+
"name": "Maruan",
19+
"avatar_url": "https://avatars.githubusercontent.com/u/2126561?v=4",
20+
"profile": "http://maruan.alshedivat.com",
21+
"contributions": [
22+
"design",
23+
"code"
24+
]
25+
},
26+
{
27+
"login": "rohandebsarkar",
28+
"name": "Rohan Deb Sarkar",
29+
"avatar_url": "https://avatars.githubusercontent.com/u/50144004?v=4",
30+
"profile": "http://rohandebsarkar.github.io",
31+
"contributions": [
32+
"code"
33+
]
34+
},
35+
{
36+
"login": "pourmand1376",
37+
"name": "Amir Pourmand",
38+
"avatar_url": "https://avatars.githubusercontent.com/u/32064808?v=4",
39+
"profile": "https://amirpourmand.ir",
40+
"contributions": [
41+
"code"
42+
]
43+
},
44+
{
45+
"login": "george-gca",
46+
"name": "George",
47+
"avatar_url": "https://avatars.githubusercontent.com/u/31376482?v=4",
48+
"profile": "https://george-gca.github.io/",
49+
"contributions": [
50+
"code"
51+
]
52+
}
53+
],
54+
"commitConvention": "angular"
55+
}

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
.git/
3+
assets/

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Acknowledge the following**
11+
- [ ] I carefully read and followed the [Getting Started](https://github.com/alshedivat/al-folio#getting-started) guide.
12+
- [ ] I read through [FAQ](https://github.com/alshedivat/al-folio#faq) and searched through the [past issues](https://github.com/alshedivat/al-folio/issues), none of which addressed my issue.
13+
- [ ] The issue I am raising is a potential bug in al-folio and not just a usage question. <br> [For usage questions, please post in the [Discussions](https://github.com/alshedivat/al-folio/discussions) instead of raising an issue.]
14+
15+
**Describe the bug**
16+
A clear and concise description of what the bug is.
17+
18+
**To Reproduce**
19+
Steps to reproduce the behavior:
20+
1. Go to '...'
21+
2. Click on '....'
22+
3. Scroll down to '....'
23+
4. See error
24+
25+
**Expected behavior**
26+
A clear and concise description of what you expected to happen.
27+
28+
**Screenshots**
29+
If applicable, add screenshots to help explain your problem.
30+
31+
**System (please complete the following information):**
32+
- OS: [e.g. iOS]
33+
- Browser (and its version) [e.g. chrome, safari]
34+
- Jekyll version [e.g. 3.8.7]
35+
- Ruby version [e.g. 2.6.5]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
- enhancement
10+
# Label to use when marking an issue as stale
11+
staleLabel: wontfix
12+
# Comment to post when marking an issue as stale. Set to `false` to disable
13+
markComment: >
14+
This issue has been automatically marked as stale because it has not had
15+
recent activity. It will be closed if no further activity occurs. Thank you
16+
for your contributions.
17+
# Comment to post when closing a stale issue. Set to `false` to disable
18+
closeComment: false
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Docker Image CI (Upload Tag)
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: Set up QEMU
19+
uses: docker/setup-qemu-action@v2
20+
21+
- name: Buildx
22+
uses: docker/setup-buildx-action@v2
23+
24+
-
25+
name: Docker meta
26+
id: meta
27+
uses: docker/metadata-action@v4
28+
with:
29+
images: amirpourmand/al-folio
30+
31+
- name: Login
32+
uses: docker/login-action@v2
33+
with:
34+
username: ${{ secrets.DOCKER_USERNAME }}
35+
password: ${{ secrets.DOCKER_PASSWORD }}
36+
37+
- name: Build and push
38+
uses: docker/build-push-action@v3
39+
with:
40+
context: .
41+
platforms: linux/amd64,linux/arm64/v8
42+
push: ${{ github.event_name != 'pull_request' }}
43+
tags: ${{ steps.meta.outputs.tags }}
44+
labels: ${{ steps.meta.outputs.labels }}
45+

.github/workflows/deploy-image.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
if: github.repository_owner == 'alshedivat'
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: Set up QEMU
19+
uses: docker/setup-qemu-action@v2
20+
21+
- name: Buildx
22+
uses: docker/setup-buildx-action@v2
23+
24+
- name: Login
25+
uses: docker/login-action@v2
26+
with:
27+
username: ${{ secrets.DOCKER_USERNAME }}
28+
password: ${{ secrets.DOCKER_PASSWORD }}
29+
30+
- name: Build and push
31+
uses: docker/build-push-action@v4
32+
with:
33+
context: .
34+
push: true
35+
platforms: linux/amd64,linux/arm64/v8
36+
tags: amirpourmand/al-folio

.github/workflows/deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
branches:
10+
- master
11+
- main
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: write
16+
17+
jobs:
18+
deploy:
19+
# available images: https://github.com/actions/runner-images#available-images
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout 🛎️
23+
uses: actions/checkout@v3
24+
- name: Setup Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: '3.2.2'
28+
bundler-cache: true
29+
- name: Install and Build 🔧
30+
run: |
31+
pip3 install --upgrade jupyter
32+
npm install -g mermaid.cli
33+
export JEKYLL_ENV=production
34+
bundle exec jekyll build
35+
- name: Deploy 🚀
36+
if: github.event_name != 'pull_request'
37+
uses: JamesIves/github-pages-deploy-action@v4
38+
with:
39+
folder: _site
40+

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
_site
2+
.bundle
3+
.sass-cache
4+
.jekyll-cache
5+
.jekyll-metadata
6+
.DS_store
7+
.ruby-version
8+
.tweet-cache
9+
Gemfile.lock
10+
vendor
11+

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.3.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files

0 commit comments

Comments
 (0)