diff --git a/hoppy-docs.cabal b/hoppy-docs.cabal
--- a/hoppy-docs.cabal
+++ b/hoppy-docs.cabal
@@ -1,5 +1,5 @@
 name: hoppy-docs
-version: 0.6.0
+version: 0.7.0
 synopsis: C++ FFI generator - Documentation
 homepage: http://khumba.net/projects/hoppy
 license: AGPL-3
@@ -21,8 +21,8 @@
   build-depends:
       base >=4.7 && <5
     , haskell-src >=1.0 && <1.1
-    , hoppy-generator >=0.6 && <0.7
-    , hoppy-runtime >=0.6 && <0.7
+    , hoppy-generator >=0.7 && <0.8
+    , hoppy-runtime >=0.7 && <0.8
   hs-source-dirs: src
   ghc-options: -W -fwarn-incomplete-patterns -fwarn-unused-do-bind
   default-language: Haskell2010
diff --git a/src/Foreign/Hoppy/Documentation/UsersGuide.hs b/src/Foreign/Hoppy/Documentation/UsersGuide.hs
--- a/src/Foreign/Hoppy/Documentation/UsersGuide.hs
+++ b/src/Foreign/Hoppy/Documentation/UsersGuide.hs
@@ -1072,7 +1072,7 @@
 @
 alignment :: 'CppEnum'
 alignment =
-  'makeAutoEnum' ('ident' \"Alignment\") Nothing False
+  'makeAutoEnum' ('ident' \"Alignment\") Nothing 'EnumUnscoped'
   [ "LeftAlign"
   , "CenterAlign"
   , "RightAlign"
