Skip to content

Commit

Permalink
Reorganize module mounts config and add layouts from chef-server
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd committed Feb 23, 2022
1 parent a152493 commit 71e5b8e
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 48 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions _vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# github.com/chef/automate/components/docs-chef-io v0.0.0-20220209043720-e6aca4d8bbe9
# github.com/chef/desktop-config/docs-chef-io v0.0.0-20211006114000-6bf6119bfc8a
# github.com/chef/chef-workstation/docs-chef-io v0.0.0-20220222054841-15d77fcd7c29
# github.com/chef/effortless/docs-chef-io v0.0.0-20211119164252-4ff3d53886be
# github.com/inspec/inspec/docs-chef-io v0.0.0-20211220023149-b3d7bfa0cc76
# github.com/chef/automate/components/docs-chef-io v0.0.0-20220209043720-e6aca4d8bbe9
# github.com/habitat-sh/habitat/components/docs-chef-io v0.0.0-20220216191220-e95ae95a1ee0
# github.com/chef/chef-server/docs-chef-io v0.0.0-20220216003439-08f906bab2b4
# github.com/inspec/inspec/docs-chef-io v0.0.0-20211220023149-b3d7bfa0cc76
# github.com/inspec/inspec-aws/docs-chef-io v0.0.0-20220107215007-d379e6b35b20
# github.com/inspec/inspec-azure/docs-chef-io v0.0.0-20220107214957-9a289bb02261
# github.com/chef/supermarket/docs-chef-io v0.0.0-20220117164111-ab75fec53a42
Expand Down
152 changes: 106 additions & 46 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
## See Hugo's docs on module mounts: https://gohugo.io/hugo-modules/configuration/

###
# Chef Automate
###

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/chef/desktop-config/docs-chef-io"

[[imports.mounts]]
source = "content"
target = "content"
path = "github.com/chef/automate/components/docs-chef-io"

[[imports.mounts]]
source = "static"
target = "static"
source = "content/automate"
target = "content/automate"

[[imports.mounts]]
source = "data"
target = "data"

[[imports.mounts]]
source = "static"
target = "static"

[[imports.mounts]]
source = "layouts"
target = "layouts"

###
# Chef Desktop
###

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/chef/chef-workstation/docs-chef-io"
path = "github.com/chef/desktop-config/docs-chef-io"

[[imports.mounts]]
source = "content"
Expand All @@ -33,48 +42,47 @@
source = "static"
target = "static"

[[imports.mounts]]
source = "data"
target = "data"

[[imports.mounts]]
source = "layouts"
target = "layouts"

[[imports.mounts]]
source = "data"
target = "data"
###
# Chef Infra Server
###

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/chef/effortless/docs-chef-io"
path = "github.com/chef/chef-server/docs-chef-io"

[[imports.mounts]]
source = "content/effortless"
target = "content/effortless"

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/inspec/inspec/docs-chef-io"
source = "content/server"
target = "content/server"

[[imports.mounts]]
source = "content/inspec"
target = "content/inspec"
source = "static"
target = "static"

[[imports.mounts]]
source = "static/images/inspec"
target = "static/images/inspec"
source = "layouts"
target = "layouts"

###
# Chef Workstation
###

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/chef/automate/components/docs-chef-io"

[[imports.mounts]]
source = "content/automate"
target = "content/automate"
path = "github.com/chef/chef-workstation/docs-chef-io"

[[imports.mounts]]
source = "data"
target = "data"
source = "content"
target = "content"

[[imports.mounts]]
source = "static"
Expand All @@ -84,6 +92,14 @@
source = "layouts"
target = "layouts"

[[imports.mounts]]
source = "data"
target = "data"

###
# Chef Habitat
###

[[imports]]
disable = false
ignoreConfig = false
Expand All @@ -97,18 +113,30 @@
source = "static"
target = "static"

###
# Chef InSpec
###

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/chef/chef-server/docs-chef-io"
path = "github.com/inspec/inspec/docs-chef-io"

[[imports.mounts]]
source = "content/server"
target = "content/server"
source = "content/inspec"
target = "content/inspec"

[[imports.mounts]]
source = "static"
target = "static"
source = "static/images/inspec"
target = "static/images/inspec"

[[imports.mounts]]
source = "layouts"
target = "layouts"

###
# Chef InSpec AWS Cloud Resources
###

[[imports]]
disable = false
Expand All @@ -123,6 +151,10 @@
source = "assets"
target = "assets"

###
# Chef InSpec Azure Cloud Resources
###

[[imports]]
disable = false
ignoreConfig = false
Expand All @@ -137,7 +169,9 @@
source = "assets"
target = "assets"

## Supermarket Docs
###
# Chef Supermarket
###

[[imports]]
disable = false
Expand All @@ -148,7 +182,39 @@
source = "content"
target = "content"


###
# Effortless Pattern
###

[[imports]]
disable = false
ignoreConfig = false
path = "github.com/chef/effortless/docs-chef-io"

[[imports.mounts]]
source = "content/effortless"
target = "content/effortless"

###
## Mount content/genereted_content to content
###

[[mounts]]
source = "content"
target = "content"

[[mounts]]
source = "generated/generated_content"
target = "content"

###
# Non Docs Content Mounts Below
###

###
## Module mounts for packages added with NPM
###

[[mounts]]
source = "themes/docs-new/node_modules/jquery/dist"
Expand All @@ -170,7 +236,9 @@
source = "themes/docs-new/node_modules/redoc/bundles"
target = "assets/js/vendor/redoc"

###
## Fontawesome font and SCSS modules
###

[[mounts]]
source = "themes/docs-new/node_modules/@fortawesome/fontawesome-free/webfonts"
Expand All @@ -186,17 +254,9 @@
source = "static"
target = "static"

## Mount genereted content to content

[[mounts]]
source = "content"
target = "content"

[[mounts]]
source = "generated/generated_content"
target = "content"

###
## Import and mount non-docs repositories
###

[[imports]]
path = "github.com/cowboy/jquery-hashchange"
Expand Down
14 changes: 14 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/chef/automate/components/docs-chef-io v0.0.0-20220209043720-e6aca4d8bbe9 h1:d2UFopDhUDNf7WZRb2up3SbysVcNbHUKQoy/dS3aeWo=
github.com/chef/automate/components/docs-chef-io v0.0.0-20220209043720-e6aca4d8bbe9/go.mod h1:juvLC7Rt33YOCgJ5nnfl4rWZRAbSwqjTbWmcAoA0LtU=
github.com/chef/chef-server/docs-chef-io v0.0.0-20220216003439-08f906bab2b4 h1:hCw4kuO4p/k4by8am0tb12s6krC7OcUCASqyRvfTam8=
github.com/chef/chef-server/docs-chef-io v0.0.0-20220216003439-08f906bab2b4/go.mod h1:gMSa25GUHmLimA0gjvRd3hs1buOBqkKPrdHzHvaJauY=
github.com/chef/chef-workstation/docs-chef-io v0.0.0-20220222054841-15d77fcd7c29 h1:8TFa5pVzZlHoCunWLYdjrkKP0cyDZefe2Mhi+NV4TCg=
github.com/chef/chef-workstation/docs-chef-io v0.0.0-20220222054841-15d77fcd7c29/go.mod h1:gvoh6ov1YU98CVzBEWzEZeCLTRunfQ6r1VO7M3LFE9U=
github.com/chef/desktop-config/docs-chef-io v0.0.0-20211006114000-6bf6119bfc8a h1:YJMehQcDZDeu4z1x+fV5iGq1Sf24gP53+hqHIRLDmfQ=
github.com/chef/desktop-config/docs-chef-io v0.0.0-20211006114000-6bf6119bfc8a/go.mod h1:90xAx6sIfgSL50M2KzeBmx7V7s7dlhQU3xpUkJO0qW0=
github.com/chef/effortless/docs-chef-io v0.0.0-20211119164252-4ff3d53886be h1:QeeHFnUaNVQmTlxX3MT06Dgz8omORr5ZATVH7yLc96A=
github.com/chef/effortless/docs-chef-io v0.0.0-20211119164252-4ff3d53886be/go.mod h1:Lfq+HjwAQwUJ41EPTO/8qbI1oJb2i415fR28d2Ig9kc=
github.com/chef/supermarket/docs-chef-io v0.0.0-20220117164111-ab75fec53a42 h1:dcgtYZQ/8Hkj1Iy/hIXGIJKgY2h1Em4T0h2uo5JzWNQ=
github.com/chef/supermarket/docs-chef-io v0.0.0-20220117164111-ab75fec53a42/go.mod h1:L0DhIJHTKsPYhAr9TrhAIg3KXtrS9BJF0XNHfGDDGGg=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cowboy/jquery-hashchange v0.0.0-20100902193700-0310f3847f90 h1:p/a5iSATj0OjrqJLX/YKxYdGXhZzW58yyyNIC4JY4S0=
github.com/cowboy/jquery-hashchange v0.0.0-20100902193700-0310f3847f90/go.mod h1:N/6F0+wmdvL6k0AjqyKIncMRClKAN92atjZdTLtYMaw=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
Expand All @@ -26,13 +33,20 @@ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/habitat-sh/habitat/components/docs-chef-io v0.0.0-20220216191220-e95ae95a1ee0 h1:HTeOWcXjt0oX9DvEQQmbsHVwZ21j7FbkqohBRdHVCok=
github.com/habitat-sh/habitat/components/docs-chef-io v0.0.0-20220216191220-e95ae95a1ee0/go.mod h1:luAy42opPrAM/T6hsqDyW3CNBaAMgy+a6l0+oi8sw8U=
github.com/inspec/inspec-aws/docs-chef-io v0.0.0-20220107215007-d379e6b35b20 h1:heO7ufFQTE4fnYUh5aHV2egyI7rli92OeXEtIXSuvnE=
github.com/inspec/inspec-aws/docs-chef-io v0.0.0-20220107215007-d379e6b35b20/go.mod h1:5rfIsi1/SqSiAXqU94UOcfMnebnuaEmFriU8k8t1Kes=
github.com/inspec/inspec-azure/docs-chef-io v0.0.0-20220107214957-9a289bb02261 h1:4GPy46KJtSgpqR3VEGVMkLmlxF6LeAeSS59zaJFtU/o=
github.com/inspec/inspec-azure/docs-chef-io v0.0.0-20220107214957-9a289bb02261/go.mod h1:93+uw8FTBAWybBZIn45FzO5vnZDBh51lgMwMP1vvIqo=
github.com/inspec/inspec/docs-chef-io v0.0.0-20211220023149-b3d7bfa0cc76 h1:s5Z0l6z9JyRGjUMuP7se6G11oFsJKjFdtjMf2wjah7I=
github.com/inspec/inspec/docs-chef-io v0.0.0-20211220023149-b3d7bfa0cc76/go.mod h1:oudFvipU0DTMkp8+MiwdUGerVEoWcJG0MQciDEOd6G8=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/swiftype/swiftype-autocomplete-jquery v0.0.0-20190222215504-a90008d64b30 h1:dhqLFBINtD1rMwwd5s9INu4BkciCvQUd+r+CWUYWIB4=
github.com/swiftype/swiftype-autocomplete-jquery v0.0.0-20190222215504-a90008d64b30/go.mod h1:qnxTyatkwE84LvoaQLPaLB4h5M3n6Q2z+SB/96DcAK8=
github.com/swiftype/swiftype-search-jquery v1.1.0 h1:VRYyWPQtf3Vl3B5W2xQJuFVoUBlBFGQ4tOTu94b8mNU=
github.com/swiftype/swiftype-search-jquery v1.1.0/go.mod h1:ozrXd90Gb0yopbWx+Iw4poOxjLe2lBFcKHDfIHrFHmA=
github.com/twitter/hogan.js v3.0.2+incompatible h1:DdinnfJ/9Wbro2tdeHV6PJJgknxqCbjdJxDQYxiqGmk=
github.com/twitter/hogan.js v3.0.2+incompatible/go.mod h1:x3aKPTRsKTy23Q9NizAq8BBZstS4fy72LcbAL13ps9A=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
Expand Down

0 comments on commit 71e5b8e

Please sign in to comment.