Skip to content

Instantly share code, notes, and snippets.

@frrist
Created October 2, 2019 20:05
Show Gist options
  • Save frrist/55d35e02e94f87a9d76b25f2319d7a29 to your computer and use it in GitHub Desktop.
Save frrist/55d35e02e94f87a9d76b25f2319d7a29 to your computer and use it in GitHub Desktop.
frrist@pine ~/s/g/f/specs (spec-refactoring-wip)> make serve
rm -rf hugo/content/docs
cp -r src hugo/content/docs
# ox-hugo exports to src/content, so we need to copy that also.
cp -r src/content/ hugo/content/docs
mkdir -p hugo/content/ox-hugo
cp src/static/ox-hugo/* hugo/content/ox-hugo
cd hugo && hugo
Building sites … WARN 2019/10/02 14:04:51 Page's .Dir is deprecated and will be removed in a future release. Use .File.Dir.
WARN 2019/10/02 14:04:51 Bad include org.Keyword{Key:"INCLUDE", Value:"\"../orient/filecoin.orient\" src text"}: open docs/orient/filecoin.orient: no such file or directory
WARN 2019/10/02 14:04:51 Bad include org.Keyword{Key:"INCLUDE", Value:"\"../../build/orient/filecoin.json\" src json"}: open build/orient/filecoin.json: no such file or directory
Total in 414 ms
Error: Error building site: "/home/frrist/src/github.com/filecoin-project/specs/hugo/content/docs/listings/data_structures.md:43:1": failed to render shortcode "goFile": failed to process shortcode: "/home/frrist/src/github.com/filecoin-project/specs/hugo/layouts/shortcodes/goFile.html:2:17": execute of template failed: template: shortcodes/goFile.html:2:17: executing "shortcodes/goFile.html" at <readFile (print "content/code/" (.Get 0) ".go")>: error calling readFile: file "content/code/Tipset.go" does not exist
make: *** [Makefile:105: hugo-build] Error 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment