Skip to content

Commit 28ac2e1

Browse files
Kevin KroneKevin Krone
Kevin Krone
authored and
Kevin Krone
committed
init
0 parents  commit 28ac2e1

File tree

237 files changed

+7447
-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.

237 files changed

+7447
-0
lines changed

.DS_Store

8 KB
Binary file not shown.

.github/.DS_Store

6 KB
Binary file not shown.

.github/workflows/hugo.yaml

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2+
name: Deploy Hugo site to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches:
8+
- main
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
20+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
21+
concurrency:
22+
group: "pages"
23+
cancel-in-progress: false
24+
25+
# Default to bash
26+
defaults:
27+
run:
28+
shell: bash
29+
30+
jobs:
31+
# Build job
32+
build:
33+
runs-on: ubuntu-latest
34+
env:
35+
HUGO_VERSION: 0.111.3
36+
steps:
37+
- name: Install Hugo CLI
38+
run: |
39+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
40+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
41+
- name: Install Dart Sass Embedded
42+
run: sudo snap install dart-sass-embedded
43+
- name: Checkout
44+
uses: actions/checkout@v3
45+
with:
46+
submodules: recursive
47+
fetch-depth: 0
48+
- name: Setup Pages
49+
id: pages
50+
uses: actions/configure-pages@v3
51+
- name: Install Node.js dependencies
52+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
53+
- name: Build with Hugo
54+
env:
55+
# For maximum backward compatibility with Hugo modules
56+
HUGO_ENVIRONMENT: production
57+
HUGO_ENV: production
58+
run: |
59+
hugo \
60+
--gc \
61+
--minify \
62+
--baseURL "${{ steps.pages.outputs.base_url }}/"
63+
- name: Upload artifact
64+
uses: actions/upload-pages-artifact@v1
65+
with:
66+
path: ./public
67+
68+
# Deployment job
69+
deploy:
70+
environment:
71+
name: github-pages
72+
url: ${{ steps.deployment.outputs.page_url }}
73+
runs-on: ubuntu-latest
74+
needs: build
75+
steps:
76+
- name: Deploy to GitHub Pages
77+
id: deployment
78+
uses: actions/deploy-pages@v2

.hugo_build.lock

Whitespace-only changes.

archetypes/default.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

assets/.DS_Store

6 KB
Binary file not shown.

config.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
baseURL = 'https://example.com'
2+
languageCode = 'en-us'
3+
title = 'Parity Tech Rework'
4+
theme = 'hugo-book-master'
5+
enableGitInfo = true
6+
[params]
7+
BookLogo = 'parity-logo-square.png'
8+
[markup]
9+
[markup.tableOfContents]
10+
endLevel = 3
11+
startLevel = 1
12+
[markup.goldmark.renderer]
13+
unsafe = true

content/.DS_Store

6 KB
Binary file not shown.

content/docs/.DS_Store

6 KB
Binary file not shown.

content/docs/index.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: "Index"
3+
weight: 1
4+
# bookFlatSection: false
5+
bookToc: false
6+
# bookHidden: false
7+
# bookCollapseSection: false
8+
# bookComments: false
9+
# bookSearchExclude: false
10+
math: true
11+
---
12+
13+
# Specification
14+
15+
{{< tabs "Products" >}}
16+
{{< tab "Polkadot" >}}
17+
--Polkadot description--
18+
19+
For each project, the number of starts, daily average commits, lines of code, contributors and such should be shown.
20+
{{< hint info >}}
21+
{{< fontawesome "rust" >}}[docs.rs](https://docs.rs/scale-decode/latest/scale_decode/) | {{< fontawesome "github" >}}[Github](https://github.com/paritytech/scale-decode) | {{< fontawesome "box" >}}[Crates.io](https://crates.io/crates/scale-decode/)
22+
{{< /hint >}}
23+
24+
{{< /tab >}}
25+
{{< tab "Substrate" >}}
26+
--Substrate description--
27+
28+
For each project, the number of starts, daily average commits, lines of code, contributors and such should be shown.
29+
{{< hint info >}}
30+
{{< fontawesome "rust" >}}[docs.rs](https://docs.rs/scale-decode/latest/scale_decode/) | {{< fontawesome "github" >}}[Github](https://github.com/paritytech/scale-decode) | {{< fontawesome "box" >}}[Crates.io](https://crates.io/crates/scale-decode/)
31+
{{< /hint >}}
32+
{{< /tab >}}
33+
{{< tab "Cumulus" >}}
34+
--Cumulus description--
35+
36+
For each project, the number of starts, daily average commits, lines of code, contributors and such should be shown.
37+
{{< hint info >}}
38+
{{< fontawesome "rust" >}}[docs.rs](https://docs.rs/scale-decode/latest/scale_decode/) | {{< fontawesome "github" >}}[Github](https://github.com/paritytech/scale-decode) | {{< fontawesome "box" >}}[Crates.io](https://crates.io/crates/scale-decode/)
39+
{{< /hint >}}
40+
{{< /tab >}}
41+
{{< /tabs >}}
42+
43+
44+
```bash
45+
curl --silent 'https://api.github.com/repos/jasonrudolph/keyboard' -H 'Accept: application/vnd.github.preview' | jq '.watchers_count'
46+
```

fontawesome/box.svg

+1
Loading

fontawesome/github.svg

+1
Loading

fontawesome/rust.svg

+1
Loading

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/repo/path
2+
3+
go 1.20

0 commit comments

Comments
 (0)