Maxence Guesdon
5fe321e4f8
no need to Dynlink.add_available_units any more
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-23 14:10:51 +00:00
Maxence Guesdon
410c44a79c
OK - generate html from module_kind rather than from module_type
...
OK + same for classes and class types
OK - fix: class parameters are no correctly displayed in latex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-17 12:36:14 +00:00
Maxence Guesdon
c6704ddfab
fix: the generated ocamldoc.sty is more robust for paragraphs in
...
ocamldocdescription environment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-09 13:54:51 +00:00
Maxence Guesdon
31d4326219
fix: when generating separated files in latex, generate them in
...
the same directory than the main file, (the one specified by -o)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6186 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-02 15:20:39 +00:00
Maxence Guesdon
1ac475fbbe
add the kind to module parameters (the way the parameter was build in the parsetree), use this in html and latex generation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6185 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-02 15:10:58 +00:00
Maxence Guesdon
ec84e8f2ec
mod: one section per to module in latex output + improve latex output
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-26 15:57:03 +00:00
Maxence Guesdon
702b6e7680
use buffers for latex generation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-24 10:37:10 +00:00
Maxence Guesdon
1e13797163
-
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:42:20 +00:00
Maxence Guesdon
1b39b1e19a
removed unused Makefile variable
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:25:10 +00:00
Maxence Guesdon
3fad0381f2
OK - fix: useless parenthesis around agruments of arguments of a type constructor in
...
type definitions, and aournd arguments of exceptions in exception definitions.
OK - fix: blank lines in verbatim, latex, code pre, code and ele ref modes
are now accepted
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:06:31 +00:00
Maxence Guesdon
3975021bf4
fix: Odoc_name.cut printed a '(' instead of a '.'
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 13:32:59 +00:00
Maxence Guesdon
94337c2cde
odoc_cross.ml: use a Map to associate a complete name to
...
the known elements with this name, instead of searching each time
through the whole list of modules -> a gain of more than 90% in speed
for cross-referecing (Odoc_cross.associate)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 12:40:49 +00:00
Maxence Guesdon
3473073799
odoc_cross.ml: use hash tables modified on the fly to resolve
...
(module | module type | exception) name aliases
- odoc_html: replace some calls to Str. by specific functions on strings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-19 10:38:29 +00:00
Maxence Guesdon
9f320eede0
use buffers instead of string concatenation in html and man generators
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-14 13:52:01 +00:00
Maxence Guesdon
7bcb6b984f
new module odoc_print, will work when Format.pp_print_flush is fixed
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-05 14:57:52 +00:00
Maxence Guesdon
86b9550fa1
OK - fix: html generator: included module names were displayed with their simple
...
name rather than their fully qualified name
OK - fix: use a formatter from a buffer rather Format.str_formatter in
Odoc_mist.sting_of_module_type, to avoid too much blanks
- add odoc_test.ml to use in the ocamldoc test suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-20 16:28:27 +00:00
Maxence Guesdon
2b54201f20
handling a path to load custom generators
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 13:36:20 +00:00
Maxence Guesdon
02418c8d09
add: m_code_intf and m_code fields for modules, fit when the
...
Odoc_args.keep_code option is set, and fit for all modules, not
only toplevel onesé
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-18 14:26:14 +00:00
Maxence Guesdon
57fd501b0b
fix: bug preventing to get the code in a .mli
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-28 13:17:55 +00:00
Maxence Guesdon
5fbdbc16c6
fix in info_string_of_info
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6035 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-21 11:56:56 +00:00
Maxence Guesdon
05b2a15d5c
OK - fixes: some bugs in the text parser
...
( ]} meaning end of code and somehting else instead of end of precode)
OK - add: in Odoc_info: text_of_string, text_string_of_text, info_of_string
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-24 21:20:51 +00:00
Maxence Guesdon
0f3457c3b1
- fix: better output of titles in html (use more the style)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 15:39:06 +00:00
Maxence Guesdon
d0c544a140
add: -intro option to use a file content as ocamldoc comment to use as introduction for LaTeX document and HTML index page
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 14:32:58 +00:00
Maxence Guesdon
aabdb2aac0
OK - add: the HTML generator generates the code of the module if available
...
OK - add: field m_code for modules, to keep the code of top modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 13:37:38 +00:00
Maxence Guesdon
922ce3d7c9
fix display of include directives and comments associated to include directives are not kept and displayed
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 12:46:30 +00:00
Maxence Guesdon
60b74b3c3c
fix bad display of type parameters for class and class types
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5874 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-17 15:30:47 +00:00
Maxence Guesdon
3648640e02
maj
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5024 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 13:21:50 +00:00
Maxence Guesdon
4bf0085319
maj
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4892 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-06 13:38:23 +00:00
Maxence Guesdon
bb54244c9f
on enlève les titres dans les premières phrases pour les index et les titres LaTeX comme module Foo : titre
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4874 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-04 09:21:38 +00:00
Maxence Guesdon
bfc6861986
maj
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4618 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-09 12:40:33 +00:00
Maxence Guesdon
4242782103
maj
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-09 08:27:22 +00:00
Maxence Guesdon
7a5ea24427
ajout ocamldoc, pas encore compile automatiquement
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4566 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-27 16:20:32 +00:00