# Docs with v12

**URL:** <https://discourse.gohugo.io/t/docs-with-v12/557>\
**Category:** dev\
**Created:** [January 7, 2015, 5:49pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557 "2015-01-07T17:49:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkebler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dkebler/32/7285_2.png) [@dkebler](https://discourse.gohugo.io/u/dkebler)\
**Post date:** [January 7, 2015, 5:49pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/1 "2015-01-07T17:49:12Z")

</div>

Trying to edit the docs with today’s pull of master but using V12 of hugo.

Clicking on a menu item seems to be putting that content into the sidebar.

Has something changed with Hugo since V12 that will render the docs site incorrectly? (in other words do I need to build the latest commit in order to edit the docs?)

This post would seem to indicate that v12 is the issue?? [http://discuss.gohugo.io/t/how-to-test-changes-to-docs/303](http://discuss.gohugo.io/t/how-to-test-changes-to-docs/303)

running linux and using firefox.

---

<div class="post-metadata">

**Author:** ![spf13](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/spf13/32/37_2.png) [@spf13](https://discourse.gohugo.io/u/spf13)\
**Post date:** [January 7, 2015, 6:03pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/2 "2015-01-07T18:03:17Z")

</div>

Correct.

The master docs require master hugo to build.

v12 docs can be built with v12.

---

<div class="post-metadata">

**Author:** ![dkebler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dkebler/32/7285_2.png) [@dkebler](https://discourse.gohugo.io/u/dkebler)\
**Post date:** [January 7, 2015, 8:38pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/3 "2015-01-07T20:38:07Z")

</div>

@spf13 having trouble with latest build.

get this error on build (below). Seems related to recent commit.  
I do get this error on go get ----- `go install: no install location for directory /path-to-hugo outside GOPATH.` I am running the go build from a hugo source path outside GOPATH but this directory is symbolic linked into the GOPATH per your documentation.

So is some dependency not being downloaded/installed which is throwning error? Seems other newer dependencies were as I see new folders for them (e.g. fsync)

FYI I have built hugo before succesfully using this setup (hugo source outside GOPATH with a symbolic link to GOPATH

I am using mint/unbuntu.

```
# github.com/spf13/hugo/helpers
/home/david/.gvm/pkgsets/go1.3/global/src/github.com/spf13/hugo/helpers/content.go:92: renderParameters.HeaderIDSuffix undefined (type blackfriday.HtmlRendererParameters has no field or method HeaderIDSuffix)
/home/david/.gvm/pkgsets/go1.3/global/src/github.com/spf13/hugo/helpers/content.go:109: undefined: blackfriday.HTML_SMARTYPANTS_ANGLED_QUOTES
/home/david/.gvm/pkgsets/go1.3/global/src/github.com/spf13/hugo/helpers/content.go:120: undefined: blackfriday.EXTENSION_AUTO_HEADER_IDS
```

---

<div class="post-metadata">

**Author:** ![spf13](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/spf13/32/37_2.png) [@spf13](https://discourse.gohugo.io/u/spf13)\
**Post date:** [January 7, 2015, 9:25pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/4 "2015-01-07T21:25:05Z")

</div>

The Go tools don’t work with symbolic links this way (it took me a while to learn this). The source needs to be in GOPATH. You can make symlinks outside of gopath to these directories.

---

<div class="post-metadata">

**Author:** ![dkebler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dkebler/32/7285_2.png) [@dkebler](https://discourse.gohugo.io/u/dkebler)\
**Post date:** [January 8, 2015, 10:06pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/5 "2015-01-08T22:06:48Z")

</div>

ok I linked the other way around, no more GOPATH error.

still though go get and go build return those same undefined “blackfriday” errors. Commits of the last couple weeks seem to be related. Am I missing something in the source (have latest commit 01/05/15), a package, a dependency?

```auto
# <a href="http://github.com/spf13/hugo/helpers">github.com/spf13/hugo/helpers</a>
helpers/content.go:92: renderParameters.HeaderIDSuffix undefined (type blackfriday.HtmlRendererParameters has no field or method HeaderIDSuffix)
helpers/content.go:109: undefined: blackfriday.HTML_SMARTYPANTS_ANGLED_QUOTES
helpers/content.go:120: undefined: blackfriday.EXTENSION_AUTO_HEADER_IDS

```

---

<div class="post-metadata">

**Author:** ![spf13](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/spf13/32/37_2.png) [@spf13](https://discourse.gohugo.io/u/spf13)\
**Post date:** [January 8, 2015, 11:03pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/6 "2015-01-08T23:03:17Z")

</div>

do a `go get -u github.com/spf13/hugo`

It will force go get to get all the latest dependencies as well.

---

<div class="post-metadata">

**Author:** ![dkebler](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dkebler/32/7285_2.png) [@dkebler](https://discourse.gohugo.io/u/dkebler)\
**Post date:** [January 8, 2015, 11:11pm UTC](https://discourse.gohugo.io/t/docs-with-v12/557/7 "2015-01-08T23:11:42Z")

</div>

Ok I tracked it down

I deleted the blackfriday repository in my sources and cloned a new copy.  
then built again only to get another error about cast.  
I did the same for cast repository and now it builds.

Still must be better way to fix broken source packages.

So my question is can `go get` be forced to rewrite all the dependencies??

I see `go get` has a -fix flag. Will that do this?
