File tree Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 6
6
` count-occurrences ` flag and command to count occurrences of every identifiers
7
7
(@panglesd , #976 )
8
8
- Separate compilation of interface and implementation files, using a new
9
- ` compile-src ` command (@panglesd , #1067 ).
9
+ ` compile-src ` command (@panglesd , #1067 , # 1188 ).
10
10
- Add clock emoji before ` @since ` tag (@yawaramin , #1089 )
11
11
- Navigation for the search bar : use '/' to enter search, up and down arrows to
12
12
select a result, and enter to follow the selected link. (@EmileTrotignon , #1088 )
26
26
(@panglesd , #1076 ).
27
27
- Added a ` compile-asset ` command (@EmileTrotignon , @panglesd , #1170 )
28
28
- Allow referencing assets (@panglesd , #1171 )
29
- - Clean up CLI API for implementations (@panglesd , #1188 )
30
29
31
30
### Changed
32
31
Original file line number Diff line number Diff line change @@ -863,7 +863,7 @@ end = struct
863
863
let generate ~docs = Generate. (cmd, info ~docs )
864
864
865
865
module Generate_source = struct
866
- let generate extra _hidden output_dir syntax extra_suffix input_file
866
+ let generate extra output_dir syntax extra_suffix input_file
867
867
warnings_options source_file =
868
868
Rendering. generate_source_odoc ~renderer: R. renderer ~warnings_options
869
869
~syntax ~output: output_dir ~extra_suffix ~source_file extra input_file
@@ -873,7 +873,7 @@ end = struct
873
873
Arg. (
874
874
required
875
875
& opt (some convert_fpath) None
876
- & info [ " impl" ] ~doc ~docv: " impl-file .odocl" )
876
+ & info [ " impl" ] ~doc ~docv: " impl-FILE .odocl" )
877
877
878
878
let source_file =
879
879
let doc = " Source code for the implementation unit." in
@@ -893,7 +893,7 @@ end = struct
893
893
in
894
894
Term. (
895
895
const handle_error
896
- $ (const generate $ R. extra_args $ hidden $ dst ~create: true () $ syntax
896
+ $ (const generate $ R. extra_args $ dst ~create: true () $ syntax
897
897
$ extra_suffix $ input_odocl $ warnings_options $ source_file))
898
898
899
899
let info ~docs =
Original file line number Diff line number Diff line change @@ -165,18 +165,3 @@ let targets_source_odoc ~syntax ~warnings_options ~renderer ~output:root_dir
165
165
Ok ()
166
166
| Page_content _ | Unit_content _ | Asset_content _ ->
167
167
Error (`Msg " Expected an implementation unit" )
168
- (* let docs = *)
169
- (* if Fpath.get_ext odoctree = ".odoc" then *)
170
- (* documents_of_input ~renderer ~extra ~resolver ~warnings_options ~syntax *)
171
- (* odoctree *)
172
- (* else documents_of_odocl ~warnings_options ~renderer ~extra ~syntax odoctree *)
173
- (* in *)
174
- (* docs >>= fun docs -> *)
175
- (* List.iter *)
176
- (* (fun doc -> *)
177
- (* let pages = renderer.Renderer.render extra None doc in *)
178
- (* Renderer.traverse pages ~f:(fun filename _content -> *)
179
- (* let filename = Fpath.normalize @@ Fs.File.append root_dir filename in *)
180
- (* Format.printf "%a\n" Fpath.pp filename)) *)
181
- (* docs; *)
182
- (* Ok () *)
You can’t perform that action at this time.
0 commit comments