diff --git a/docs/sphinxext/mantiddoc/directives/categories.py b/docs/sphinxext/mantiddoc/directives/categories.py
index 2f7574073641615aeb30d286e437dbbeeed01bee..c651f0b4a13b3445e5967eed588a0daaba1e2bae 100644
--- a/docs/sphinxext/mantiddoc/directives/categories.py
+++ b/docs/sphinxext/mantiddoc/directives/categories.py
@@ -299,8 +299,6 @@ def create_category_pages(app):
     Arguments:
       app: A Sphinx application object
     """
-    import os.path
-
     env = app.builder.env
     # jinja2 html template
     template = CATEGORY_PAGE_TEMPLATE