Skip to content

Commit 88aaa78

Browse files
committed
feat(initial): initial baseline
1 parent cd04c81 commit 88aaa78

33 files changed

+1513
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: repository dispatch
2+
3+
on:
4+
repository_dispatch:
5+
types: [wxt-tagged]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
submodules: recursive # Fetch Hugo themes (true OR recursive)
14+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
15+
16+
- name: Display the payload
17+
run: echo ${{ github.event.client_payload.sha }}
18+
19+
- name: Setup Hugo
20+
uses: peaceiris/actions-hugo@v2
21+
with:
22+
hugo-version: '0.86.1'
23+
extended: true
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v1
27+
with:
28+
node-version: '12.x'
29+
30+
- run: npm install
31+
32+
- name: Build
33+
run: hugo --theme=docsy --environment production --minify
34+
35+
- name: Deploy
36+
uses: peaceiris/actions-gh-pages@v3
37+
if: github.ref == 'refs/heads/main'
38+
with:
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
publish_dir: ./public

.github/workflows/gh-pages.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: github pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Set a branch to deploy
7+
pull_request:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
submodules: recursive # Fetch Hugo themes (true OR recursive)
16+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
17+
18+
- name: Setup Hugo
19+
uses: peaceiris/actions-hugo@v2
20+
with:
21+
hugo-version: '0.86.1'
22+
extended: true
23+
24+
- name: Setup Node
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: '12.x'
28+
29+
- run: npm install
30+
31+
- name: Build
32+
run: hugo --theme=docsy --environment production --minify
33+
34+
- name: Deploy
35+
uses: peaceiris/actions-gh-pages@v3
36+
if: github.ref == 'refs/heads/main'
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
publish_dir: ./public

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
public/
3+
resources/
4+
5+
.DS_Store
6+
.hugo_build.lock

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/docsy"]
2+
path = themes/docsy
3+
url = https://github.com/google/docsy.git

.markdownlint.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"MD001": false,
3+
"MD003": false,
4+
"MD013": false,
5+
"MD024": false,
6+
"MD025": false,
7+
"MD029": false,
8+
"MD033": false,
9+
"MD036": false
10+
}

.nojekyll

Whitespace-only changes.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

LICENSE.md

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Drupal WxT
2+
3+
This Docsy derived project is hosted at [https://drupalwxt.github.io](https://drupalwxt.github.io).
4+
5+
> [Docsy](https://github.com/google/docsy) is a Hugo theme for technical documentation sites, providing easy site navigation, structure, and more.

0 commit comments

Comments
 (0)