Skip to content

Commit b325c31

Browse files
committed
Sync CHANGES with the 3.0 branch
1 parent 2a432ab commit b325c31

File tree

1 file changed

+46
-63
lines changed

1 file changed

+46
-63
lines changed

CHANGES.md

Lines changed: 46 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,36 @@
11
# Unreleased
22

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
164
- Exposed sherlodoc libraries for use in other projects (@jonludlam, #1349)
175

186
### 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)
307
- 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)
3111

3212
### 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)
4613
- Fix bug in parsing META files when there are no dependencies (@jonludlam, #1352)
4714

48-
# 3.0.0~beta1
15+
# 3.0.0
4916

5017
### Highlight
5118

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}`.
5622

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.
6026

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)
6531

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.
6834

6935
### Added
7036

@@ -79,32 +45,40 @@
7945
`{!/otherpackage/page}`, `{!/otherpackage/Module.t}`.
8046

8147
- 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)
8450

8551
- Option to compute occurrences of use of each identifiers
8652
The commands `aggregate-occurrences` and `count-occurrences` are added.
8753
(@panglesd, #976, #1076, #1206)
8854

55+
- Added an `extract-code` subcommand to extract code blocks from mld/mli files
56+
(@panglesd, #1326)
57+
8958
- Added the `odoc classify` command (@jonludlam, #1121)
9059
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
9362
(@jonludlam, #1260)
9463
- 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)
9971
- Allow referencing of polymorphic constructors in polymorphic variant type
10072
aliases (@panglesd, #1115)
10173
- Added a home icon in the breacrumbs (@panglesd, #1251)
10274
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.
10678
- 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)
10882

10983
### Changed
11084

@@ -138,6 +112,11 @@
138112
- Overhaul of module-type-of expansions and shadowing code (@jonludlam, #1081)
139113
- Output file paths and labels in the man and latex backends changed to avoid
140114
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)
141120

142121
### Fixed
143122

@@ -158,6 +137,10 @@
158137
- Add missing parentheses in 'val (let*) : ...' (@Julow, #1268)
159138
- Fix syntax highlighting not working for very large files
160139
(@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)
161144

162145
# 2.4.4
163146

0 commit comments

Comments
 (0)