mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-08-15 14:53:29 -07:00
modify config
This commit is contained in:
parent
9d7eefe59d
commit
d1ba8be7bb
2 changed files with 15 additions and 10 deletions
15
Makefile
15
Makefile
|
|
@ -1,13 +1,14 @@
|
|||
THEME := themes/gitea
|
||||
THEME := themes/codeberg
|
||||
PUBLIC := public
|
||||
ARCHIVE := https://dl.gitea.io/theme/master.tar.gz
|
||||
# ARCHIVE := https://dl.gitea.io/theme/master.tar.gz
|
||||
|
||||
.PHONY: all
|
||||
all: build
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(PUBLIC) $(THEME)
|
||||
rm -rf $(PUBLIC)
|
||||
# $(THEME)
|
||||
|
||||
.PHONY: trans-copy
|
||||
trans-copy:
|
||||
|
|
@ -24,7 +25,7 @@ build: $(THEME)
|
|||
.PHONY: update
|
||||
update: $(THEME)
|
||||
|
||||
$(THEME): $(THEME)/theme.toml
|
||||
$(THEME)/theme.toml:
|
||||
mkdir -p $$(dirname $@)
|
||||
curl -s $(ARCHIVE) | tar xz -C $$(dirname $@)
|
||||
# $(THEME): $(THEME)/theme.toml
|
||||
# $(THEME)/theme.toml:
|
||||
# mkdir -p $$(dirname $@)
|
||||
# curl -s $(ARCHIVE) | tar xz -C $$(dirname $@)
|
||||
|
|
|
|||
10
config.yaml
10
config.yaml
|
|
@ -1,4 +1,5 @@
|
|||
baseurl: https://docs.codeberg.org/
|
||||
# baseurl: https://docs.codeberg.org/
|
||||
baseurl: https://pages.codeberg.org/n/codeberg-docs/
|
||||
languageCode: en-us
|
||||
title: Docs
|
||||
theme: codeberg
|
||||
|
|
@ -7,6 +8,8 @@ defaultContentLanguage: en-us
|
|||
defaultContentLanguageInSubdir: true
|
||||
enableMissingTranslationPlaceholders: true
|
||||
enableEmoji: true
|
||||
uglyurls: true
|
||||
canonifyURLs: true
|
||||
|
||||
permalinks:
|
||||
post: /:year/:month/:title/
|
||||
|
|
@ -17,7 +20,8 @@ permalinks:
|
|||
params:
|
||||
description: Git with a cup of tea
|
||||
author: The Codeberg Authors
|
||||
website: https://docs.codeberg.org
|
||||
# website: https://docs.codeberg.org
|
||||
website: https://pages.codeberg.org/n/codeberg-docs/
|
||||
version: 1.12.1
|
||||
minGoVersion: 1.12
|
||||
goVersion: 1.14
|
||||
|
|
@ -52,4 +56,4 @@ menu:
|
|||
languages:
|
||||
en-us:
|
||||
weight: 0
|
||||
languageName: English
|
||||
languageName: English
|
||||
|
|
|
|||
Loading…
Reference in a new issue