1// Component: CMake.Documentation.SphinxHTML
2
3function Component()
4{
5    // Default constructor
6}
7
8Component.prototype.createOperations = function()
9{
10    // Create shortcut
11    if (installer.value("os") === "win") {
12
13        component.addOperation("CreateShortcut",
14                               "@TargetDir@/%CMAKE_DOC_DIR%/html/index.html",
15                               "@StartMenuDir@/CMake Documentation.lnk");
16
17    }
18
19    // Call default implementation
20    component.createOperations();
21}
22