Skip to content

Commit

Permalink
Update docsy dependency (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello authored Jan 24, 2024
1 parent 0a94d35 commit fda807c
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 26 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/deploy-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.86.0'
hugo-version: '0.121.0'
extended: true

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '18'

- name: Cache dependencies
uses: actions/cache@v1
Expand All @@ -36,13 +36,6 @@ jobs:
ref: main
token: ${{ secrets.API_TOKEN_GITHUB }}

- name: Checkout source repo code
uses: actions/checkout@v2
with:
path: source
submodules: recursive # Fetch the Docsy theme
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: build & deploy website
run: |
ls -al && pwd
Expand Down
4 changes: 0 additions & 4 deletions .gitmodules

This file was deleted.

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

RUN apk add git
RUN apk add git && \
git config --global --add safe.directory /src
5 changes: 3 additions & 2 deletions content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

+++

{{< blocks/cover title="Welcome to the INDIGO IAM service website!" image_anchor="top" height="full" color="orange" >}}
{{< blocks/cover image_anchor="top" height="full" color="orange">}}
<div class="mx-auto">
<p class="lead mt-5">The open source, self-contained Identity And Access Management (IAM) solution for Scientific computing!</p>
<h1 class="display-3 font-weight-bold text-white">Welcome to the INDIGO IAM service website!</h1>
<p class="lead text-white pt-5 mt-5">The open source, self-contained Identity And Access Management (IAM) solution for Scientific computing!</p>

<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.3"
version: "3.8"

services:

Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/indigo-iam/iam-website

go 1.16

require github.com/google/docsy v0.8.0 // indirect
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 h1:Uv1z5EqCfmiK4IHUwT0m3h/u/WCk+kpRfxvAZhpC7Gc=
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy v0.8.0 h1:RgHyKRTo8YwScMThrf01Ky2yCGpUS1hpkspwNv6szT4=
github.com/google/docsy v0.8.0/go.mod h1:FqTNN2T7pWEGW8dc+v5hQ5VF29W5uaL00PQ1LdVw5F8=
github.com/twbs/bootstrap v5.2.3+incompatible h1:lOmsJx587qfF7/gE7Vv4FxEofegyJlEACeVV+Mt7cgc=
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
12 changes: 6 additions & 6 deletions config.toml → hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title = "INDIGO IAM"
enableRobotsTXT = true

# Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["docsy"]
theme = ["github.com/google/docsy"]

# Will give values to .Lastmod etc.
enableGitInfo = true
Expand All @@ -16,7 +16,7 @@ defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true

disableKinds = ["taxonomy", "taxonomyTerm"]
disableKinds = ["taxonomy"]

# Highlighting config
pygmentsCodeFences = true
Expand All @@ -42,7 +42,7 @@ latexDashes = true
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"
anchor = "Smart"

[services]
[services.googleAnalytics]
Expand All @@ -54,7 +54,7 @@ anchor = "smart"
[languages]
[languages.en]
title = "INDIGO IAM"
description = "The INDIGO Identity and Access Management (IAM) Service"
params.description = "The INDIGO Identity and Access Management (IAM) Service"
languageName ="English"
# Weight used for sorting.
weight = 1
Expand Down Expand Up @@ -118,7 +118,7 @@ github_branch= "v1.8.3"
# gcs_engine_id = "d72aa9b2712488cc3"

# Enable Algolia DocSearch
algolia_docsearch = false
params.search.algolia = false

# Enable Lunr.js offline search
offlineSearch = true
Expand All @@ -136,7 +136,7 @@ sidebar_menu_compact = false
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = false
sidebar_search_disable = true
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = false
# Set to true to disable the About link in the site footer
Expand Down
1 change: 0 additions & 1 deletion themes/docsy
Submodule docsy deleted from 62cc3e

0 comments on commit fda807c

Please sign in to comment.