瀏覽代碼

Utilities/Sphinx: Drop commented-out code from cmake domain impl

Inspired-by: Alex Turbov <[email protected]>
Brad King 2 年之前
父節點
當前提交
c09b760484
共有 1 個文件被更改,包括 1 次插入12 次删除
  1. 1 12
      Utilities/Sphinx/cmake.py

+ 1 - 12
Utilities/Sphinx/cmake.py

@@ -412,18 +412,7 @@ class CMakeDomain(Domain):
         'envvar':     CMakeObject,
         'envvar':     CMakeObject,
         'genex':      CMakeObject,
         'genex':      CMakeObject,
         'variable':   CMakeObject,
         'variable':   CMakeObject,
-        # Other object types cannot be created except by the CMakeTransform
-        # 'generator':  CMakeObject,
-        # 'module':     CMakeObject,
-        # 'policy':     CMakeObject,
-        # 'prop_cache': CMakeObject,
-        # 'prop_dir':   CMakeObject,
-        # 'prop_gbl':   CMakeObject,
-        # 'prop_inst':  CMakeObject,
-        # 'prop_sf':    CMakeObject,
-        # 'prop_test':  CMakeObject,
-        # 'prop_tgt':   CMakeObject,
-        # 'manual':     CMakeObject,
+        # Other `object_types` cannot be created except by the `CMakeTransform`
     }
     }
     roles = {
     roles = {
         'command':    CMakeXRefRole(fix_parens = True, lowercase = True),
         'command':    CMakeXRefRole(fix_parens = True, lowercase = True),