chore(docs): set up initial Hugo scaffolding
parent
dd418c872a
commit
5e653407f2
|
@ -0,0 +1,3 @@
|
|||
[submodule "docs/themes/hugo-book"]
|
||||
path = docs/themes/hugo-book
|
||||
url = https://github.com/alex-shpak/hugo-book
|
3
Justfile
3
Justfile
|
@ -42,8 +42,7 @@ run:
|
|||
cargo run \
|
||||
--bin otter \
|
||||
-- serve \
|
||||
-c ./otter.toml \
|
||||
--log debug
|
||||
-c ./otter.toml
|
||||
|
||||
doc:
|
||||
cargo doc --workspace --frozen --open
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
public/
|
||||
*.lock
|
||||
*.tar.gz
|
||||
/resources/_gen/
|
|
@ -0,0 +1,12 @@
|
|||
build:
|
||||
hugo build --minify
|
||||
|
||||
package: build
|
||||
cd public && \
|
||||
tar --create \
|
||||
--gzip \
|
||||
--file ../docs.tar.gz \
|
||||
*
|
||||
|
||||
serve:
|
||||
hugo serve --buildDrafts
|
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
date = '{{ .Date }}'
|
||||
draft = true
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
+++
|
|
@ -0,0 +1 @@
|
|||
Welcome!
|
|
@ -0,0 +1,4 @@
|
|||
baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Otter'
|
||||
theme = "hugo-book"
|
|
@ -0,0 +1 @@
|
|||
Subproject commit f2c703e155881a017cabbee17224e2dfeee0498c
|
|
@ -1,4 +1,5 @@
|
|||
data_dir = "./data"
|
||||
log_level = "debug"
|
||||
|
||||
[net]
|
||||
type = "tcp"
|
||||
|
|
Loading…
Reference in New Issue