Skip to content

Commit

Permalink
Config as YAML for Docsy and UG (google#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and fekete-robert committed Sep 13, 2022
1 parent 376ea21 commit c23340d
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 287 deletions.
64 changes: 0 additions & 64 deletions config.toml

This file was deleted.

46 changes: 46 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Docsy config
#
# cSpell:ignore docsy fortawesome fontawesome webfonts

params:
time_format_blog: Monday, January 02, 2006
time_format_default: January 2, 2006
rss_sections: [blog]
drawio:
enable: true

outputFormats:
PRINT:
baseName: index
isHTML: true
mediaType: text/html
path: _print
permalinkable: false

module:
hugoVersion:
extended: true
min: 0.73.0
mounts:
- source: assets
target: assets
- source: node_modules/bootstrap
target: assets/vendor/bootstrap
- source: node_modules/@fortawesome/fontawesome-free
target: assets/vendor/Font-Awesome
- source: i18n
target: i18n
- source: layouts
target: layouts
- source: static
target: static
- source: node_modules/@fortawesome/fontawesome-free/webfonts
target: static/webfonts
# Mounts for projects using Docsy as an NPM package. The source path prefix
# "../.." moves out of themes/docsy so that Docsy can find its dependencies.
- source: ../../node_modules/bootstrap
target: assets/vendor/bootstrap
- source: ../../node_modules/@fortawesome/fontawesome-free
target: assets/vendor/Font-Awesome
- source: ../../node_modules/@fortawesome/fontawesome-free/webfonts
target: static/webfonts
223 changes: 0 additions & 223 deletions userguide/config.toml

This file was deleted.

Loading

0 comments on commit c23340d

Please sign in to comment.