Skip to content

Commit

Permalink
Support project-level NPM modules for BS and FA (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jul 26, 2022
1 parent c09d2fe commit 3cc3d8f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ min = "0.73.0"
[[module.mounts]]
source = 'static'
target = 'static'
# 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.
[[module.mounts]]
source = '../../node_modules/bootstrap'
target = 'assets/vendor/bootstrap'
[[module.mounts]]
source = '../../node_modules/@fortawesome/fontawesome-free'
target = 'assets/vendor/Font-Awesome'

0 comments on commit 3cc3d8f

Please sign in to comment.