Skip to content

Commit

Permalink
feat(docsy): Update to Docsy v0.6.0 w/Hugo module support
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Feb 14, 2023
1 parent e695a41 commit 9fcd597
Show file tree
Hide file tree
Showing 15 changed files with 159 additions and 226 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/event-dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.86.1'
hugo-version: '0.108.0'
extended: true

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'

- run: npm install

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.86.1'
hugo-version: '0.108.0'
extended: true

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '16.x'

- run: npm install

Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/public
resources/
node_modules/
public/
/resources/

.DS_Store
package-lock.json
.hugo_build.lock
_vendor
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM klakegg/hugo:ext-alpine

RUN apk add git && \
git config --global --add safe.directory /src
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Drupal WxT

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

> [Docsy](https://github.com/google/docsy) is a Hugo theme for technical documentation sites, providing easy site navigation, structure, and more.
> **[Docsy](https://github.com/google/docsy)** is a Hugo theme for technical documentation sites, providing easy site navigation, structure, and more.
137 changes: 0 additions & 137 deletions assets/scss/_variables.scss

This file was deleted.

41 changes: 41 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/

$enable-gradients: true !default;
$enable-rounded: false !default;
$enable-shadows: true !default;

// Drupal WxT colors

$wxt-darker: rgb(38,55,74);
$wxt-lighter: rgb(77, 82, 85);

// Theme colors

$primary: #284162 !default;
$primary-light: lighten($primary, 75%) !default;
$secondary: $wxt-lighter; // #FFA630 !default;
$success: #3772FF !default;
$info: #6c757d !default;
$warning: #ED6A5A !default;
$danger: #ED6A5A !default;
$white: #fff !default;
$light: #f8f9fa !default;

$dark: #070707 !default;
$blue: #72A1E5 !default;
$orange: #BA5A31 !default;
$gray-100: #f8f9fa !default;
$gray-200: #eee !default;
$gray-300: #dee2e6 !default;
$gray-400: #ccc !default;
$gray-500: #adb5bd !default;
$gray-600: #888 !default;
$gray-700: #495057 !default;
$gray-800: #333 !default;
$gray-900: #222 !default;
$black: #000 !default;

$navbar-dark-color: rgba($black, 0.75) !default;
$navbar-dark-hover-color: rgba($black, 0.5) !default;
$navbar-dark-active-color: $black !default;
$navbar-dark-disabled-color: rgba($black, 0.25) !default;

// Sidebar

Expand Down
Loading

0 comments on commit 9fcd597

Please sign in to comment.