@@ -86,32 +86,33 @@ namespace "api" do
86
86
desc "Build doxyrest API"
87
87
task :mkDoxyRest , [ :builder , :runner ] => "api:mkDoxy" do |task , args |
88
88
args . with_defaults ( :builder => "html" , :runner => "system" )
89
- Dir . chdir ( to = CWD )
90
- if args . runner == "system"
91
- if find_executable "doxyrest"
92
- sh "doxyrest -c #{ DOXLUA } "
93
- elsif find_executable "nix"
94
- begin
95
- puts "System has no doxyrest, trying nix"
96
- sh "nix-shell #{ NIXSHELL } --run 'doxyrest -c #{ DOXLUA } '"
97
- rescue
98
- puts "Falling back to conda"
99
- sh "conda run doxyrest -c #{ DOXLUA } "
100
- end
101
- else
102
- raise ExecException . new
103
- end
104
- elsif args . runner == "nix"
105
- begin
106
- puts "System has no doxyrest, trying nix"
107
- sh "nix-shell #{ NIXSHELL } --run 'doxyrest -c #{ DOXLUA } '"
108
- rescue
109
- puts "Falling back to conda"
110
- sh "conda run doxyrest -c #{ DOXLUA } "
111
- end
112
- else
113
- raise RunnerException . new
114
- end
89
+ puts "Disabled for now"
90
+ # Dir.chdir(to = CWD)
91
+ # if args.runner == "system"
92
+ # if find_executable "doxyrest"
93
+ # sh "doxyrest -c #{DOXLUA}"
94
+ # elsif find_executable "nix"
95
+ # begin
96
+ # puts "System has no doxyrest, trying nix"
97
+ # sh "nix-shell #{NIXSHELL} --run 'doxyrest -c #{DOXLUA}'"
98
+ # rescue
99
+ # puts "Falling back to conda"
100
+ # sh "conda run doxyrest -c #{DOXLUA}"
101
+ # end
102
+ # else
103
+ # raise ExecException.new
104
+ # end
105
+ # elsif args.runner == "nix"
106
+ # begin
107
+ # puts "System has no doxyrest, trying nix"
108
+ # sh "nix-shell #{NIXSHELL} --run 'doxyrest -c #{DOXLUA}'"
109
+ # rescue
110
+ # puts "Falling back to conda"
111
+ # sh "conda run doxyrest -c #{DOXLUA}"
112
+ # end
113
+ # else
114
+ # raise RunnerException.new
115
+ # end
115
116
end
116
117
117
118
desc "Build Sphinx API docs"
0 commit comments