Skip to content

Commit

Permalink
Hexo uses ./public (ipfs-shipyard#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcrowe authored and hacdias committed Dec 21, 2019
1 parent f085de1 commit fb382ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ site generators by the following order:
| -------- | --------------------------------- |
| `_site` | jekyll, hakyll, eleventy |
| `site` | some others |
| `public` | gatsby, hugo |
| `public` | gatsby, hugo, hexo |
| `dist` | nuxt |
| `output` | pelican |
| `out` | hexo |
| `build` | create-react-app, metalsmith, middleman |
| `website/build` | docusaurus |
| `docs` | many others |
Expand Down
6 changes: 3 additions & 3 deletions src/guess-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ function guessedPath () {
const guesses = [
'_site', // jekyll, hakyll, eleventy
'site', // forgot which
'public', // gatsby, hugo
'public', // gatsby, hugo, hexo
'dist', // nuxt
'output', // pelican
'out', // hexo
'build', // create-react-app, metalsmith, middleman
'website/build', // docusaurus
'docs' // many others
'docs', // many others
'out' // unknown others
]

return fp.filter(existsSync)(guesses)[0]
Expand Down

0 comments on commit fb382ce

Please sign in to comment.