Skip to content

Commit 9fcd597

Browse files
committed
feat(docsy): Update to Docsy v0.6.0 w/Hugo module support
1 parent e695a41 commit 9fcd597

File tree

15 files changed

+159
-226
lines changed

15 files changed

+159
-226
lines changed

.github/workflows/event-dispatcher.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- name: Setup Hugo
2020
uses: peaceiris/actions-hugo@v2
2121
with:
22-
hugo-version: '0.86.1'
22+
hugo-version: '0.108.0'
2323
extended: true
2424

2525
- name: Setup Node
2626
uses: actions/setup-node@v1
2727
with:
28-
node-version: '12.x'
28+
node-version: '16.x'
2929

3030
- run: npm install
3131

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
- name: Setup Hugo
1919
uses: peaceiris/actions-hugo@v2
2020
with:
21-
hugo-version: '0.86.1'
21+
hugo-version: '0.108.0'
2222
extended: true
2323

2424
- name: Setup Node
2525
uses: actions/setup-node@v1
2626
with:
27-
node-version: '12.x'
27+
node-version: '16.x'
2828

2929
- run: npm install
3030

.gitignore

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

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM klakegg/hugo:ext-alpine
2+
3+
RUN apk add git && \
4+
git config --global --add safe.directory /src

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Drupal WxT
22

3-
This Docsy derived project is hosted at [https://drupalwxt.github.io](https://drupalwxt.github.io).
3+
This Docsy derived project is hosted at **[https://drupalwxt.github.io](https://drupalwxt.github.io)**.
44

5-
> [Docsy](https://github.com/google/docsy) is a Hugo theme for technical documentation sites, providing easy site navigation, structure, and more.
5+
> **[Docsy](https://github.com/google/docsy)** is a Hugo theme for technical documentation sites, providing easy site navigation, structure, and more.

assets/scss/_variables.scss

Lines changed: 0 additions & 137 deletions
This file was deleted.

assets/scss/_variables_project.scss

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/
2+
3+
$enable-gradients: true !default;
4+
$enable-rounded: false !default;
5+
$enable-shadows: true !default;
6+
7+
// Drupal WxT colors
8+
9+
$wxt-darker: rgb(38,55,74);
10+
$wxt-lighter: rgb(77, 82, 85);
11+
12+
// Theme colors
13+
14+
$primary: #284162 !default;
15+
$primary-light: lighten($primary, 75%) !default;
16+
$secondary: $wxt-lighter; // #FFA630 !default;
17+
$success: #3772FF !default;
18+
$info: #6c757d !default;
19+
$warning: #ED6A5A !default;
20+
$danger: #ED6A5A !default;
21+
$white: #fff !default;
22+
$light: #f8f9fa !default;
23+
24+
$dark: #070707 !default;
25+
$blue: #72A1E5 !default;
26+
$orange: #BA5A31 !default;
27+
$gray-100: #f8f9fa !default;
28+
$gray-200: #eee !default;
29+
$gray-300: #dee2e6 !default;
30+
$gray-400: #ccc !default;
31+
$gray-500: #adb5bd !default;
32+
$gray-600: #888 !default;
33+
$gray-700: #495057 !default;
34+
$gray-800: #333 !default;
35+
$gray-900: #222 !default;
36+
$black: #000 !default;
37+
38+
$navbar-dark-color: rgba($black, 0.75) !default;
39+
$navbar-dark-hover-color: rgba($black, 0.5) !default;
40+
$navbar-dark-active-color: $black !default;
41+
$navbar-dark-disabled-color: rgba($black, 0.25) !default;
142

243
// Sidebar
344

0 commit comments

Comments
 (0)