Skip to content

Commit

Permalink
Create separate config directories for each installation type (theme …
Browse files Browse the repository at this point in the history
…/ module)
  • Loading branch information
deining committed Jan 21, 2022
1 parent d9f3981 commit d83e16b
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 20 deletions.
11 changes: 11 additions & 0 deletions config/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
To be authored:

Choose installation type:

* git submodules
cd site-root
ln -s configTheme config

* git submodules
cd site-root
ln -s configModule config
20 changes: 0 additions & 20 deletions config/module/config.toml

This file was deleted.

53 changes: 53 additions & 0 deletions configModule/_default/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# This the theme configuration for Docsy.
# Allowed configuration in a theme is (currently):
# params (global and per language)
# menu (global and per language)
# outputformats and mediatypes

[params]
time_format_blog = "Monday, January 02, 2006"
time_format_default = "January 2, 2006"
# Sections to publish in the main RSS feed.
rss_sections = ["blog"]

[params.drawio]
enable = true
#drawio_server = "https://example.com/"

# For a full list of parameters used in Docsy sites, see:
# https://github.com/google/docsy-example/blob/master/config.toml


[outputFormats]
[outputFormats.PRINT]
baseName = "index"
isHTML = true
mediaType = "text/html"
path = "_print"
permalinkable = false

[module]
_merge = "none"

[module.hugoVersion]
extended = true
min = "0.77.0"

[[module.mounts]]
source = "assets/bootstrap/scss/vendor"
target = "assets/vendor/bootstrap/scss/vendor"
# Dependencies are brought in as modules
# and mount points are declared
[[module.imports]]
path = "github.com/twbs/bootstrap"
disable = false
[[module.imports.mounts]]
source = "scss"
target = "assets/vendor/bootstrap/scss"

[[module.imports]]
path = "github.com/FortAwesome/Font-Awesome"
disable = false
[[module.imports.mounts]]
source = "scss"
target = "assets/vendor/Font-Awesome/scss"
File renamed without changes.

0 comments on commit d83e16b

Please sign in to comment.