Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
Personalize project skeleton for validator action
Browse files Browse the repository at this point in the history
We remove all references to module-starter and update for the new
validator-html-action repo.

Signed-off-by: Daniel F. Dickinson <[email protected]>
  • Loading branch information
danielfdickinson committed Sep 11, 2023
1 parent df2a82e commit ee0ae15
Show file tree
Hide file tree
Showing 28 changed files with 131 additions and 158 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ indent_style = space
[*.md]
trim_trailing_whitespace = false

[README*.md]
indent_size = 2
indent_style = space

[*.svg]
insert_final_newline = false
trim_trailing_whitespace = false
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules
.env
.disabled-env
hugo-cache/
.hvm
11 changes: 6 additions & 5 deletions README.fr.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Module nouveau á l'Hugo au Wild Tech 'Garden'
# Actionne GitHub ce-qui vérifier le HTML et CSS d'une site

Décrit: TBD
URL du référentiel: <https://github.com/wildtechgarden/module-starter-hugo-wtg>\
Site: <https://www.module-starter.wtg-demos.ca>\
Statut IC: [![pre-commit.ci statut](https://results.pre-commit.ci/badge/github/wildtechgarden/module-starter-hugo-wtg/main.svg)](https://results.pre-commit.ci/latest/github/wildtechgarden/module-starter-hugo-wtg/main)
Décrit: Actionne GitHub ce-qui utiliser W3C `validator` a vérifier le HTML et CSS
d'une site
URL du référentiel: <https://github.com/wildtechgarden/validator-html-action>\
Site: <https://www.validator-html-action.wtg-demos.ca>
Statut IC: TBD

## Matières

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# New Hugo module starter by Wild Tech 'Garden'
# GitHub action to validate HTML and CSS of site

Description: TBD
Repository URL: <https://github.com/wildtechgarden/module-starter-hugo-wtg>\
Site: <https://www.module-starter.wtg-demos.ca>
CI Status: [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/wildtechgarden/module-starter-hugo-wtg/main.svg)](https://results.pre-commit.ci/latest/github/wildtechgarden/module-starter-hugo-wtg/main)
Description: GitHub action using W3C's validator to validate the HTML and CSS of
a website
Repository URL: <https://github.com/wildtechgarden/validator-html-action>
Site: <https://www.validator-html-action.wtg-demos.ca>
CI Status: TBD

## Contents

Expand Down
15 changes: 0 additions & 15 deletions content/en/demo/module-starter/_index.md

This file was deleted.

33 changes: 0 additions & 33 deletions content/en/doc/module-starter/_index.md

This file was deleted.

34 changes: 34 additions & 0 deletions content/en/doc/validator-html-action/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
+++
title = "GitHub action to validate HTML and CSS of site"
date = 2023-08-19T23:52:49Z
publishDate = 2023-08-19T23:52:49Z
author = "Daniel F. Dickinson"
tags = [
"module-docs"
]
description = """\
Documentation for GitHub action using W3C's validator to validate the HTML \
and CSS of a website. The main information on using the starter is in the \
[README](README.md). \
"""
summary = """\
Documentation for GitHub action using W3C's validator to validate the HTML \
and CSS of a website. The main information on using the starter is in the \
[README](README.md). \
"""
layout = "single"
+++

## Overview

Documentation for GitHub action using W3C's validator to validate the HTML
and CSS of a website. The main information on using the starter is in the
[README](README.md).

## Main documentation

[README](README.md)

## Colophon

[LICENSE](LICENSE)
14 changes: 0 additions & 14 deletions content/fr/demo/module-starter/_index.md

This file was deleted.

31 changes: 0 additions & 31 deletions content/fr/doc/module-starter/_index.md

This file was deleted.

34 changes: 34 additions & 0 deletions content/fr/doc/validator-html-action/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
+++
title = "Actionne GitHub ce-qui vérifier le HTML et CSS d'une site"
date = "2023-08-19T23:52:49Z"
publishDate = "2023-08-19T23:52:49Z"
author = "Daniel F. Dickinson"
tags = [
"module-docs"
]
description = """\
Documentation au Actionne GitHub ce-qui utiliser W3C `validator` a vérifier \
le HTML et CSS d'une site. Les informations \
primaires en utiliser l'actionne sont en le [README](README.fr.md). \
"""
summary = """\
Documentation au Actionne GitHub ce-qui utiliser W3C `validator` a vérifier \
le HTML et CSS d'une site. Les informations \
primaires en utiliser l'actionne sont en le [README](README.fr.md). \
"""
layout = "single"
+++

## Aperçu

Documentation au Actionne GitHub ce-qui utiliser W3C `validator` a vérifier
le HTML et CSS d'une site. Les informations
primaires en utiliser l'actionne sont en le [README](README.fr.md).

## Documentation primaire

[README](README.fr.md)

## Colophon

[LICENSE](LICENSE)
7 changes: 6 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
module github.com/wildtechgarden/module-starter-hugo-wtg
module github.com/wildtechgarden/validator-html-action

go 1.21

require (
github.com/wildtechgarden/a-wild-theme-mod-hugo v0.1.0-alpha.8 // indirect
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.2.2 // indirect
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github.com/wildtechgarden/a-wild-theme-mod-hugo v0.1.0-alpha.8 h1:EC9IUdA8CwaF/9C4pMQQkS5DhvjyXKlJwMwCLOfDZ1M=
github.com/wildtechgarden/a-wild-theme-mod-hugo v0.1.0-alpha.8/go.mod h1:H0AqQPgecV8NsgMQS1PREIwoTMWC6hUMngZygLu5R6U=
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.2.2 h1:0hVMXaG0l8WuRRcJJ4KdtJZ6Cm6w1YBp+VtsYmrMXgk=
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.2.2/go.mod h1:Bm3jUL1XjEWNb7rx+I3tBYgW5fYMpt9n0WSdysWP62Q=
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "New Hugo module by Wild Tech 'Garden'"
name = "GitHub Action using W3C validator for HTML and CSS"
copyright = "© 2023 Wild Tech 'Garden'"
description = "TBD"
description = "GitHub action using W3C's validator to validate the HTML and CSS of a website"

[module]
[module.hugoVersion]
Expand Down
2 changes: 0 additions & 2 deletions i18n/en.toml

This file was deleted.

6 changes: 0 additions & 6 deletions i18n/fr.toml

This file was deleted.

2 changes: 0 additions & 2 deletions layouts/shortcodes/demo-module-starter.html

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions scripts/local_build_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash
# cspell:ignore modstarter
# cspell:ignore validatehtml

set -e
set -o pipefail

rm -rf public

export BASEURL="https://www.module-starter.wtg-demos.ca/"
export BASEURL="https://www.validator-html-action.wtg-demos.ca/"
export HUGO_RESOURCEDIR="$(pwd)"/resources
export SITECONFIG="$(pwd)"/tests/config/hugo.toml
export TARGET="$(pwd)"/public
export CURDIR="$(pwd)"

cd tests/config && hugo --gc --minify -b $BASEURL --source "$(pwd)" --destination "${TARGET}" --config "${SITECONFIG}"
cd "${CURDIR}"
rclone sync --progress public/ wtg-modstarter:./
rclone sync --progress --checksum public/ wtg-validatehtml:./
3 changes: 1 addition & 2 deletions tests/config/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module github.com/wildtechgarden/module-starter-hugo-wtg/tests/config
module github.com/wildtechgarden/validator-html-action/tests/config

go 1.21

require (
github.com/wildtechgarden/a-wild-theme-mod-hugo v0.1.0-alpha.8 // indirect
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.2.2 // indirect
github.com/wildtechgarden/module-starter-hugo-wtg v0.0.0-20230905025949-6944d1761c73 // indirect
github.com/wildtechgarden/wild-theme-shell-mod-hugo v0.1.0-alpha.8 // indirect
)
2 changes: 0 additions & 2 deletions tests/config/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ github.com/wildtechgarden/a-wild-theme-mod-hugo v0.1.0-alpha.8 h1:EC9IUdA8CwaF/9
github.com/wildtechgarden/a-wild-theme-mod-hugo v0.1.0-alpha.8/go.mod h1:H0AqQPgecV8NsgMQS1PREIwoTMWC6hUMngZygLu5R6U=
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.2.2 h1:0hVMXaG0l8WuRRcJJ4KdtJZ6Cm6w1YBp+VtsYmrMXgk=
github.com/wildtechgarden/demo-test-site-hugo-wtg v0.2.2/go.mod h1:Bm3jUL1XjEWNb7rx+I3tBYgW5fYMpt9n0WSdysWP62Q=
github.com/wildtechgarden/module-starter-hugo-wtg v0.0.0-20230905025949-6944d1761c73 h1:xbGhXT9L6aXThZmqqv7ZHn1ZGzT5xqDnsvWBoEtrX6Q=
github.com/wildtechgarden/module-starter-hugo-wtg v0.0.0-20230905025949-6944d1761c73/go.mod h1:aec+/6Y5Q88p+GODm1s1algZifaURulM86kDiCcoNa0=
github.com/wildtechgarden/wild-theme-shell-mod-hugo v0.1.0-alpha.8 h1:8mA7yyi8eusSCqx5Vd9wKrOgeds5M/dzCDHZvdzVgvo=
github.com/wildtechgarden/wild-theme-shell-mod-hugo v0.1.0-alpha.8/go.mod h1:Rc7S/unR9fEgAcMfrNNi1QOqfl0obTBdIQvT4ZiwziY=
Loading

0 comments on commit ee0ae15

Please sign in to comment.