Skip to content

Commit

Permalink
Remove JS config files living in the theme
Browse files Browse the repository at this point in the history
This also means that a Hugo version of >= 0.75 is needed to build this.
  • Loading branch information
bep committed Sep 20, 2020
1 parent 3a69551 commit 8e70180
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 359 deletions.
11 changes: 0 additions & 11 deletions babel.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ target = "static"
# https://github.com/gohugoio/hugo/issues/7635
source = "tailwind.config.js"
target = "assets/css/tailwind.config.js"
[hugoVersion]
extended = false
min = "0.75.0"


# The main theme.
# Note that the theme itself contains the mount configuration.
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ require (
github.com/bep/linodedocs v0.0.0-20200918082300-538191f1a30f
github.com/linode/linode-api-docs v4.73.0+incompatible // indirect
)
replace github.com/bep/linodedocs => ../linodedocs
4 changes: 4 additions & 0 deletions package.hugo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "linode-docs",
"version": "0.1.0"
}
47 changes: 31 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
{
"scripts": {},
"dependencies": {
"@tailwindcss/typography": "^0.1.4"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"@fullhuman/postcss-purgecss": "^2.3.0",
"@tailwindcss/custom-forms": "^0.2.1",
"autoprefixer": "~9.7.6",
"core-js": "^3.6.5",
"postcss-cli": "^7.1.1",
"tailwindcss": "~1.7.3"
}
}
"comments": {
"dependencies": {},
"devDependencies": {
"@babel/cli": "github.com/bep/linodedocs",
"@babel/core": "github.com/bep/linodedocs",
"@babel/preset-env": "github.com/bep/linodedocs",
"@fullhuman/postcss-purgecss": "github.com/bep/linodedocs",
"@tailwindcss/custom-forms": "github.com/bep/linodedocs",
"@tailwindcss/typography": "github.com/bep/linodedocs",
"autoprefixer": "github.com/bep/linodedocs",
"core-js": "github.com/bep/linodedocs",
"postcss-cli": "github.com/bep/linodedocs",
"tailwindcss": "github.com/bep/linodedocs"
}
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"@fullhuman/postcss-purgecss": "^2.3.0",
"@tailwindcss/custom-forms": "^0.2.1",
"@tailwindcss/typography": "^0.1.4",
"autoprefixer": "~9.7.6",
"core-js": "^3.6.5",
"postcss-cli": "^7.1.1",
"tailwindcss": "~1.7.3"
},
"name": "linode-docs",
"version": "0.1.0"
}
9 changes: 0 additions & 9 deletions postcss.config.js

This file was deleted.

Loading

0 comments on commit 8e70180

Please sign in to comment.