chore(docs): set up initial Hugo scaffolding
This commit is contained in:
parent
dd418c872a
commit
5e653407f2
9 changed files with 32 additions and 2 deletions
4
docs/.gitignore
vendored
Normal file
4
docs/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
public/
|
||||
*.lock
|
||||
*.tar.gz
|
||||
/resources/_gen/
|
||||
12
docs/Justfile
Normal file
12
docs/Justfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
build:
|
||||
hugo build --minify
|
||||
|
||||
package: build
|
||||
cd public && \
|
||||
tar --create \
|
||||
--gzip \
|
||||
--file ../docs.tar.gz \
|
||||
*
|
||||
|
||||
serve:
|
||||
hugo serve --buildDrafts
|
||||
5
docs/archetypes/default.md
Normal file
5
docs/archetypes/default.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
date = '{{ .Date }}'
|
||||
draft = true
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
+++
|
||||
1
docs/content/_index.md
Normal file
1
docs/content/_index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
Welcome!
|
||||
4
docs/hugo.toml
Normal file
4
docs/hugo.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Otter'
|
||||
theme = "hugo-book"
|
||||
1
docs/themes/hugo-book
vendored
Submodule
1
docs/themes/hugo-book
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit f2c703e155881a017cabbee17224e2dfeee0498c
|
||||
Loading…
Add table
Add a link
Reference in a new issue