Skip to content

Commit

Permalink
fix ocamldoc html options
Browse files Browse the repository at this point in the history
  • Loading branch information
Octachron committed Jan 18, 2021
1 parent a8e3422 commit 436cab5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api_docgen/ocamldoc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,20 @@ man/Stdlib.3o: $(ALL_COMPILED_DOC)
-nostdlib -hide Stdlib -lib Stdlib -t "OCaml library" \
$(addprefix -load , $(ALL_COMPILED_DOC))

HTML_OPTIONS= -charset="utf8" -colorize-code

html/libref/Stdlib.html: $(ALL_LIBREF:%=build/%.odoc)
$(MKDIR) -p html/libref
$(OCAMLDOC_RUN) -html -d html/libref \
-charset="utf8" \
$(HTML_OPTIONS) \
-nostdlib -hide Stdlib -lib Stdlib -t "OCaml library" \
$(addprefix -load , $(ALL_LIBREF:%=build/%.odoc))

html/compilerlibref/Compiler_libs.html: $(ALL_COMPILERLIBREF:%=build/%.odoc)
$(MKDIR) -p html/compilerlibref
$(OCAMLDOC_RUN) -html -d html/compilerlibref \
-nostdlib -hide Stdlib -t "OCaml compiler library" \
-charset="utf8" \
$(HTML_OPTIONS) \
-intro $(DOCGEN)/Compiler_libs.mld \
$(addprefix -load , $(ALL_COMPILERLIBREF:%=build/%.odoc))

Expand Down

0 comments on commit 436cab5

Please sign in to comment.