|
1 | 1 | # Unreleased
|
2 | 2 |
|
3 |
| -### Changed |
4 |
| - |
5 |
| -- Allow referencing libraries from package added in `odoc-config.sexp` |
6 |
| - (@panglesd, #1343) |
7 |
| - |
8 |
| -# 3.0.0 |
9 |
| - |
10 |
| -### Added |
11 |
| - |
12 |
| -- Added support for (local) images in the latex backend (@Octachron, #1297) |
13 |
| -- Added a `header` field to the json output (@panglesd, #1314) |
14 |
| -- Added an `extract-code` subcommand to extract code blocks from mld files |
15 |
| - (@panglesd, #1326) |
| 3 | +### Added |
16 | 4 | - Exposed sherlodoc libraries for use in other projects (@jonludlam, #1349)
|
17 | 5 |
|
18 | 6 | ### Changed
|
19 |
| - |
20 |
| -- Drop support for OCaml < 4.08 (@jonludlam, #1300) |
21 |
| -- Added suport for overriding tmp directories in odoc_driver_monorepo |
22 |
| - (@jonludlam, #1304) |
23 |
| -- Remove `--suppress-warnings` argument in favour of `--warnings-tag` |
24 |
| - which is more friendly for caching and voodoo (@jonludlam, #1304) |
25 |
| -- Filter out warnings coming from linking implementations (@jonludlam, #1319) |
26 |
| -- Output warnings coming from the `compile` phase in the driver (@jonludlam, #1323) |
27 |
| -- Changed the rules for code block and verbatim content (@panglesd, #1317) |
28 |
| -- Store raw content in verbatim and code block, and expose a function to process |
29 |
| - it (@panglesd, #1325) |
30 | 7 | - Remove cmdliner compatibility layer, no longer needed (@dbuenzli, #1328)
|
| 8 | +- Drop support for OCaml < 4.08 (@jonludlam, #1300) |
| 9 | +- Allow referencing libraries from package added in `odoc-config.sexp` |
| 10 | + (@panglesd, #1343) |
31 | 11 |
|
32 | 12 | ### Fixed
|
33 |
| - |
34 |
| -- Fix bug causing stack overflow in odoc_driver_monorepo (@jonludlam, #1304) |
35 |
| -- Fix backtrace on invalid input in compile-deps (@jonludlam, #1313) |
36 |
| -- Fix bug in our CSS hitting verbatim blocks in tags (@jonludlam, #1312) |
37 |
| -- Fix poor behaviour when running odoc_driver with unknown or missing packages |
38 |
| - (@jonludlam, #1311) |
39 |
| -- Fix incomplete handling of `--suppress-warnings` (now `--warnings-tag`) |
40 |
| - (@jonludlam, #1304) |
41 |
| -- Fix bug in odoc_driver_voodoo related to virtual libraries (@jonludlam, #1309) |
42 |
| -- Fix issue #610 where `odoc html-fragment` wasn't rendering headings correctly |
43 |
| - (@jonludlam, #1306) |
44 |
| -- Fix bug in `odoc classify` when there are archives that can't be co-linked |
45 |
| - (@jonludlam, #1310) |
46 | 13 | - Fix bug in parsing META files when there are no dependencies (@jonludlam, #1352)
|
47 | 14 |
|
48 |
| -# 3.0.0~beta1 |
| 15 | +# 3.0.0 |
49 | 16 |
|
50 | 17 | ### Highlight
|
51 | 18 |
|
52 |
| -- Hierarchical documentation (@jonludlam, @panglesd, @Julow) |
53 |
| - Pages can now be organized in a directory tree structure. |
54 |
| - Relative and absolute references are added: |
55 |
| - `{!./other_page.label}`, `{!//other_page}`. |
| 19 | +- Hierarchical documentation (@jonludlam, @panglesd, @Julow). Pages can now be |
| 20 | + organized in a directory tree structure. Relative and absolute references |
| 21 | + are added: `{!./other_page.label}`, `{!//other_page}`. |
56 | 22 |
|
57 |
| -- Improved sidebar and breadcrumbs navigation (@panglesd, @gpetiot) |
58 |
| - The documentation pages and the libraries of the entire package are shown on |
59 |
| - the left sidebar. |
| 23 | +- Improved sidebar and breadcrumbs navigation (@panglesd, @gpetiot). The |
| 24 | + documentation pages and the libraries of the entire package are shown on the |
| 25 | + left sidebar. |
60 | 26 |
|
61 |
| -- Added support for images, videos, audio and other assets |
62 |
| - The syntax is `{image!/reference/to/asset}` or `{image:URL}` for images. |
63 |
| - The syntax for `{video...}` and `{audio...}` is the same. |
64 |
| - (@panglesd, @EmileTrotignon, #1170, #1171, #1184, #1185) |
| 27 | +- Added support for images, videos, audio and other assets. The syntax is |
| 28 | + `{image!/reference/to/asset}` or `{image:URL}` for images. The syntax for |
| 29 | + `{video...}` and `{audio...}` is the same. (@panglesd, @EmileTrotignon, |
| 30 | + #1170, #1171, #1184, #1185) |
65 | 31 |
|
66 |
| -- Search using Sherlodoc (@panglesd, @EmileTrotignon, @Julow) |
67 |
| - A new search bar that supports full-text and type-based search. |
| 32 | +- Search using Sherlodoc (@panglesd, @EmileTrotignon, @Julow). A new search |
| 33 | + bar that supports full-text and type-based search. |
68 | 34 |
|
69 | 35 | ### Added
|
70 | 36 |
|
|
79 | 45 | `{!/otherpackage/page}`, `{!/otherpackage/Module.t}`.
|
80 | 46 |
|
81 | 47 | - Option to remap links to other packages to ocaml.org or other site.
|
82 |
| - See the `--remap` option of the driver or the `--remap-file` option of `odoc html-generate`. |
83 |
| - (@jonludlam, #1189, #1248) |
| 48 | + See the `--remap` option of the driver or the `--remap-file` option of |
| 49 | + `odoc html-generate`. (@jonludlam, #1189, #1248) |
84 | 50 |
|
85 | 51 | - Option to compute occurrences of use of each identifiers
|
86 | 52 | The commands `aggregate-occurrences` and `count-occurrences` are added.
|
87 | 53 | (@panglesd, #976, #1076, #1206)
|
88 | 54 |
|
| 55 | +- Added an `extract-code` subcommand to extract code blocks from mld/mli files |
| 56 | + (@panglesd, #1326) |
| 57 | + |
89 | 58 | - Added the `odoc classify` command (@jonludlam, #1121)
|
90 | 59 | Helps driver detecting which modules belong to which libraries.
|
91 |
| -- Added `--suppress-warnings` to the CLI to remove warnings from a unit, even |
92 |
| - if they end up being raised in another unit through expansion |
| 60 | +- Added `--warnings-tag` options to the CLI to silence warnings from a unit, |
| 61 | + even if they end up being raised in another unit through expansion |
93 | 62 | (@jonludlam, #1260)
|
94 | 63 | - Add clock emoji before `@since` tag (@yawaramin, #1089)
|
95 |
| -- Navigation for the search bar : use '/' to enter search, up and down arrows to |
96 |
| - select a result, and enter to follow the selected link. (@EmileTrotignon, #1088) |
97 |
| -- Fix a big gap between the preamble and the content of a page (@EmileTrotignon, #1147) |
98 |
| -- Add a marshalled search index consumable by sherlodoc (@EmileTrotignon, @panglesd, #1084) |
| 64 | +- Navigation for the search bar : use '/' to enter search, up and down arrows |
| 65 | + to select a result, and enter to follow the selected link. (@EmileTrotignon, |
| 66 | + #1088) |
| 67 | +- Fix a big gap between the preamble and the content of a page |
| 68 | + (@EmileTrotignon, #1147) |
| 69 | +- Add a marshalled search index consumable by sherlodoc (@EmileTrotignon, |
| 70 | + @panglesd, #1084) |
99 | 71 | - Allow referencing of polymorphic constructors in polymorphic variant type
|
100 | 72 | aliases (@panglesd, #1115)
|
101 | 73 | - Added a home icon in the breacrumbs (@panglesd, #1251)
|
102 | 74 | It can be disabled with a CLI option.
|
103 |
| -- Add a frontmatter syntax for mld pages (@panglesd, #1187, #1193, #1243, #1246, #1251) |
104 |
| - Allows to specify the title of a page, the order of sub-pages and other |
105 |
| - behaviors in the sidebar. |
| 75 | +- Add a frontmatter syntax for mld pages (@panglesd, #1187, #1193, #1243, |
| 76 | + #1246, #1251) Allows to specify the title of a page, the order of sub-pages |
| 77 | + and other behaviors in the sidebar. |
106 | 78 | - Added `odoc-md` to process standalone Markdown pages (@jonludlam, #1234)
|
107 |
| -- Added CSS selectors to style version and and nav links when they appear within page titles, as produced by odig (@katrinafyi, #1290) |
| 79 | +- Added CSS selectors to style version and and nav links when they appear |
| 80 | + within page titles, as produced by odig (@katrinafyi, #1290) |
| 81 | +- Added support for (local) images in the latex backend (@Octachron, #1297) |
108 | 82 |
|
109 | 83 | ### Changed
|
110 | 84 |
|
|
138 | 112 | - Overhaul of module-type-of expansions and shadowing code (@jonludlam, #1081)
|
139 | 113 | - Output file paths and labels in the man and latex backends changed to avoid
|
140 | 114 | name clashes (@Julow, #1191)
|
| 115 | +- Added a `header` field to the json output (@panglesd, #1314) |
| 116 | +- Changed indentation rules for code block and verbatim content (@panglesd, |
| 117 | + #1317) |
| 118 | +- odoc-parser: Store raw content in verbatim and code block, and expose a |
| 119 | + function to process it (@panglesd, #1325) |
141 | 120 |
|
142 | 121 | ### Fixed
|
143 | 122 |
|
|
158 | 137 | - Add missing parentheses in 'val (let*) : ...' (@Julow, #1268)
|
159 | 138 | - Fix syntax highlighting not working for very large files
|
160 | 139 | (@jonludlam, @Julow, #1277)
|
| 140 | +- Fix backtrace on invalid input in compile-deps (@jonludlam, #1313) |
| 141 | +- Fix bug in our CSS hitting verbatim blocks in tags (@jonludlam, #1312) |
| 142 | +- Fix issue #610 where `odoc html-fragment` wasn't rendering headings correctly |
| 143 | + (@jonludlam, #1306) |
161 | 144 |
|
162 | 145 | # 2.4.4
|
163 | 146 |
|
|
0 commit comments