diff --git a/inventory_provider/routes/neteng.py b/inventory_provider/routes/neteng.py
index 2aebddd407c22ccc7be76f51663949c362640b51..29f8abcd9c963c06ac40fed5063d32f401435a28 100644
--- a/inventory_provider/routes/neteng.py
+++ b/inventory_provider/routes/neteng.py
@@ -10,7 +10,7 @@ These endpoints are intended for use by neteng tools.
 /neteng/location/equipment-name
 ---------------------------------
 
-.. autofunction::inventory_provider.routes.neteng.get_location
+.. autofunction:: inventory_provider.routes.neteng.get_location
 
 """
 import json
@@ -43,7 +43,7 @@ def get_location(equipment):
     404 is returned if the IMS node name is not known.
     Otherwise the return value will be formatted as:
 
-    .. as_json::
+    .. asjson::
         inventory_provider.db.ims_data.NODE_LOCATION_SCHEMA
 
     :return: as above