diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,6 +22,8 @@ import sys
 
 sys.path.insert(0, os.path.abspath('..'))
 
+import pypika
+
 # -- General configuration ------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
@@ -35,7 +37,7 @@ extensions = [
     'sphinx.ext.doctest',
     'sphinx.ext.todo',
     'sphinx.ext.coverage',
-    'sphinx.ext.pngmath',
+    'sphinx.ext.ingmath',
     'sphinx.ext.viewcode',
 ]
 
@@ -63,9 +65,9 @@ author = 'Timothy Heys'
 # built documents.
 #
 # The short X.Y version.
-version = '0.0.1'
+version = pypika.__version__
 # The full version, including alpha/beta/rc tags.
-release = '0.0.1'
+release = pypika.__version__
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
Updated pypika version in docs