Commit Graph

76 Commits (master)

Author SHA1 Message Date
Sébastien Hinderer 433485b8b5 ocamldoc: remove debugging facility 2020-06-09 12:30:44 +02:00
Florian Angeletti 5d6c043ba7 ocamldoc, latex: keep text in {{!lbl} text} 2018-09-02 16:00:44 +02:00
objmagic 0993cd9ba9 Support empty variants (#1546)
* Allow empty variants.
* Update manual and ocamldoc.
2018-03-06 10:48:16 +09:00
Florian Angeletti c0ded0eabe Ocamldoc, latex backend: labels for exception (#1457)
This commit fixes the lack of label for exception definition in the latex
backend of ocamldoc.
2017-10-28 21:07:32 +02:00
Xavier Leroy 875ff82841 MPR#7048: ocamldoc -latex, don't escape Latin-1 accented letters (GPR#1420)
This causes trouble when the doc comments are actually in UTF8 and
the user is providing their own preamble with an UTF8 inputenc.

The default preamble still contains \usepackage[latin1]{inputenc},
so the Latin-1 accents will still display fine.
2017-10-09 19:18:28 +02:00
octachron 03e1a93f0b PR#7363, ocamldoc: implicit level 0 for titles
This commit makes the heading hierarchy of ocamldoc start at {0 rather
than {1. This level {0 should be reserved for global titles, freeing
the use of {1 for normal subtitles.
2017-10-03 23:29:50 +02:00
Fourchaux 72cfdd56e9 Typos and basic grammar error fixing (#1280) 2017-08-10 11:59:23 +01:00
Florian Angeletti a65ce51ace Ocamldoc: end latex files with a new line (#1159) 2017-05-04 15:26:10 +01:00
octachron 9fc48c62d3 PR#7488: wrong Latex output for variant types 2017-02-19 09:11:15 +00:00
octachron 55282ebf5f Fix: preserve ocamldoc module info logic 2016-08-31 14:16:19 +02:00
octachron dcceb46358 Ocamldoc: improve support for inline records
This commit improves support for inline record and associated
documentation within ocamldoc. Note that the support for documentation
on inline record field could be improved in the various ocamldoc
backends.
2016-07-28 02:21:16 +02:00
Alain Frisch b8e418e9f3 More warnings for ocamldoc. 2016-03-15 22:47:33 +01:00
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Gabriel Scherer e9fdf20abf Translation of french comments in odoc
(user 'octachron')

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16482 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-09 20:41:51 +00:00
Gabriel Scherer f15f4f3ed8 PR6695: Make sure the compiler only uses ASCII string functions.
This should cover all places involving filenames in the compiler.
There are a few more paths still using Latin-1 in other ways,
e.g. in ocamldoc.

From: Peter Zotov <whitequark@whitequark.org>

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21 11:46:14 +00:00
Alain Frisch e3ad818fb5 Reintegrate-merge constructors_with_record5 branch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:51:30 +00:00
Maxence Guesdon 1a3b58be2b PR#6274: allow doc comments on object types
(thanks to Thomas Refis)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-22 13:38:29 +00:00
Jacques Garrigue b56dc4b3df PR#5584: merge open extensible types, extension-patch-4.0.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-04 23:08:45 +00:00
Maxence Guesdon ff754c0d66 PR#6257: allow full doc comments on variant constructors and record fields
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-09 08:33:44 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 015739ac70 fix formatting of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 12:09:31 +00:00
Damien Doligez b7271628a2 fix TABs and whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12797 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 11:52:38 +00:00
Damien Doligez 4ea3208584 fix encoding bugs by replacing all non-ASCII characters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12792 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 09:48:32 +00:00
Damien Doligez 0c3a7de507 merge changes from 4.00 branching to 4.00.0 (part 1)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26 19:21:54 +00:00
Damien Doligez ab2f6297c7 aftermath of PR#5497
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12183 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-23 19:15:09 +00:00
Damien Doligez fd515e3a16 PR#5497: better handling of special characters in printed code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-21 12:47:14 +00:00
Damien Doligez d6029c574f reverse previous commit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-15 16:31:59 +00:00
Damien Doligez daec73519d at least on my machine, makeindex doesn't like "|"| in a \verb within a \index
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:02:28 +00:00
Jacques Le Normand 6b47423629 ocamldoc now updated. odoc_sig.ml was changed from revision 1660
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10698 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-01 03:44:47 +00:00
Maxence Guesdon 0936bb2811 use first-class modules to allow composition of custom generators
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-24 09:45:45 +00:00
Maxence Guesdon 6fa137373c ocamldoc: handle Pmod_unpack and Tmod_unpack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:06:17 +00:00
Maxence Guesdon f8a0a241cc handle 'module type of' in structs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 16:48:42 +00:00
Maxence Guesdon 5b2243c06d handle 'module type of' expressions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10279 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 16:34:13 +00:00
Maxence Guesdon 470d7e9d26 PR#4915: new syntax {%format: code %} to put target format specific code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9638 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-08 16:54:13 +00:00
Maxence Guesdon e904577b6b PR#4914: ability to specify a text for links to elements
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-18 11:52:23 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Damien Doligez c3a39fc8c8 Fusion des modifs de la branche release308 entre 3.08.0 et 3.08.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:04:35 +00:00
Xavier Leroy 63c1789b5e Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:25:21 +00:00
Maxence Guesdon 82a8b99e39 OK - latex: style latex pour indenter dans les module kind et les class kind
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6378 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-11 14:25:50 +00:00
Maxence Guesdon 617fd50c4e new ocamldoc syntax elements : {\!modules: M1 M2 ...} to insert the table of modules, {\!indexlist} to insert the list of indexes; these elements are used only in the html generator; the -intro option is now used in html to describe the whole index page
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-23 10:41: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 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 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
Basile Starynkevitch 0d5a86e520 added $Id$ keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5973 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-24 10:44:07 +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