Skip to content

Commit 4e9e236

Browse files
committed
Prepare for v3.0
1 parent 50f6715 commit 4e9e236

File tree

1 file changed

+42
-62
lines changed

1 file changed

+42
-62
lines changed

CHANGES.md

+42-62
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,22 @@
1-
# Unreleased
2-
3-
### Added
4-
5-
- Added support for (local) images in the latex backend (@Octachron, #1297)
6-
- Added a `header` field to the json output (@panglesd, #1314)
7-
- Added an `extract-code` subcommand to extract code blocks from mld files
8-
(@panglesd, #1326)
9-
10-
### Changed
11-
12-
- Added suport for overriding tmp directories in odoc_driver_monorepo
13-
(@jonludlam, #1304)
14-
- Remove `--suppress-warnings` argument in favour of `--warnings-tag`
15-
which is more friendly for caching and voodoo (@jonludlam, #1304)
16-
- Filter out warnings coming from linking implementations (@jonludlam, #1319)
17-
- Output warnings coming from the `compile` phase in the driver (@jonludlam, #1323)
18-
- Changed the rules for code block and verbatim content (@panglesd, #1317)
19-
- Store raw content in verbatim and code block, and expose a function to process
20-
it (@panglesd, #1325)
21-
22-
### Fixed
23-
24-
- Fix bug causing stack overflow in odoc_driver_monorepo (@jonludlam, #1304)
25-
- Fix backtrace on invalid input in compile-deps (@jonludlam, #1313)
26-
- Fix bug in our CSS hitting verbatim blocks in tags (@jonludlam, #1312)
27-
- Fix poor behaviour when running odoc_driver with unknown or missing packages
28-
(@jonludlam, #1311)
29-
- Fix incomplete handling of `--suppress-warnings` (now `--warnings-tag`)
30-
(@jonludlam, #1304)
31-
- Fix bug in odoc_driver_voodoo related to virtual libraries (@jonludlam, #1309)
32-
- Fix issue #610 where `odoc html-fragment` wasn't rendering headings correctly
33-
(@jonludlam, #1306)
34-
- Fix bug in `odoc classify` when there are archives that can't be co-linked
35-
(@jonludlam, #1310)
36-
37-
# 3.0.0~beta1
1+
# 3.0.0
382

393
### Highlight
404

41-
- Hierarchical documentation (@jonludlam, @panglesd, @Julow)
42-
Pages can now be organized in a directory tree structure.
43-
Relative and absolute references are added:
44-
`{!./other_page.label}`, `{!//other_page}`.
5+
- Hierarchical documentation (@jonludlam, @panglesd, @Julow). Pages can now be
6+
organized in a directory tree structure. Relative and absolute references
7+
are added: `{!./other_page.label}`, `{!//other_page}`.
458

46-
- Improved sidebar and breadcrumbs navigation (@panglesd, @gpetiot)
47-
The documentation pages and the libraries of the entire package are shown on
48-
the left sidebar.
9+
- Improved sidebar and breadcrumbs navigation (@panglesd, @gpetiot). The
10+
documentation pages and the libraries of the entire package are shown on the
11+
left sidebar.
4912

50-
- Added support for images, videos, audio and other assets
51-
The syntax is `{image!/reference/to/asset}` or `{image:URL}` for images.
52-
The syntax for `{video...}` and `{audio...}` is the same.
53-
(@panglesd, @EmileTrotignon, #1170, #1171, #1184, #1185)
13+
- Added support for images, videos, audio and other assets. The syntax is
14+
`{image!/reference/to/asset}` or `{image:URL}` for images. The syntax for
15+
`{video...}` and `{audio...}` is the same. (@panglesd, @EmileTrotignon,
16+
#1170, #1171, #1184, #1185)
5417

55-
- Search using Sherlodoc (@panglesd, @EmileTrotignon, @Julow)
56-
A new search bar that supports full-text and type-based search.
18+
- Search using Sherlodoc (@panglesd, @EmileTrotignon, @Julow). A new search
19+
bar that supports full-text and type-based search.
5720

5821
### Added
5922

@@ -68,32 +31,40 @@
6831
`{!/otherpackage/page}`, `{!/otherpackage/Module.t}`.
6932

7033
- Option to remap links to other packages to ocaml.org or other site.
71-
See the `--remap` option of the driver or the `--remap-file` option of `odoc html-generate`.
72-
(@jonludlam, #1189, #1248)
34+
See the `--remap` option of the driver or the `--remap-file` option of
35+
`odoc html-generate`. (@jonludlam, #1189, #1248)
7336

7437
- Option to compute occurrences of use of each identifiers
7538
The commands `aggregate-occurrences` and `count-occurrences` are added.
7639
(@panglesd, #976, #1076, #1206)
7740

41+
- Added an `extract-code` subcommand to extract code blocks from mld/mli files
42+
(@panglesd, #1326)
43+
7844
- Added the `odoc classify` command (@jonludlam, #1121)
7945
Helps driver detecting which modules belong to which libraries.
80-
- Added `--suppress-warnings` to the CLI to remove warnings from a unit, even
81-
if they end up being raised in another unit through expansion
46+
- Added `--warnings-tag` options to the CLI to silence warnings from a unit,
47+
even if they end up being raised in another unit through expansion
8248
(@jonludlam, #1260)
8349
- Add clock emoji before `@since` tag (@yawaramin, #1089)
84-
- Navigation for the search bar : use '/' to enter search, up and down arrows to
85-
select a result, and enter to follow the selected link. (@EmileTrotignon, #1088)
86-
- Fix a big gap between the preamble and the content of a page (@EmileTrotignon, #1147)
87-
- Add a marshalled search index consumable by sherlodoc (@EmileTrotignon, @panglesd, #1084)
50+
- Navigation for the search bar : use '/' to enter search, up and down arrows
51+
to select a result, and enter to follow the selected link. (@EmileTrotignon,
52+
#1088)
53+
- Fix a big gap between the preamble and the content of a page
54+
(@EmileTrotignon, #1147)
55+
- Add a marshalled search index consumable by sherlodoc (@EmileTrotignon,
56+
@panglesd, #1084)
8857
- Allow referencing of polymorphic constructors in polymorphic variant type
8958
aliases (@panglesd, #1115)
9059
- Added a home icon in the breacrumbs (@panglesd, #1251)
9160
It can be disabled with a CLI option.
92-
- Add a frontmatter syntax for mld pages (@panglesd, #1187, #1193, #1243, #1246, #1251)
93-
Allows to specify the title of a page, the order of sub-pages and other
94-
behaviors in the sidebar.
61+
- Add a frontmatter syntax for mld pages (@panglesd, #1187, #1193, #1243,
62+
#1246, #1251) Allows to specify the title of a page, the order of sub-pages
63+
and other behaviors in the sidebar.
9564
- Added `odoc-md` to process standalone Markdown pages (@jonludlam, #1234)
96-
- Added CSS selectors to style version and and nav links when they appear within page titles, as produced by odig (@katrinafyi, #1290)
65+
- Added CSS selectors to style version and and nav links when they appear
66+
within page titles, as produced by odig (@katrinafyi, #1290)
67+
- Added support for (local) images in the latex backend (@Octachron, #1297)
9768

9869
### Changed
9970

@@ -127,6 +98,11 @@
12798
- Overhaul of module-type-of expansions and shadowing code (@jonludlam, #1081)
12899
- Output file paths and labels in the man and latex backends changed to avoid
129100
name clashes (@Julow, #1191)
101+
- Added a `header` field to the json output (@panglesd, #1314)
102+
- Changed indentation rules for code block and verbatim content (@panglesd,
103+
#1317)
104+
- odoc-parser: Store raw content in verbatim and code block, and expose a
105+
function to process it (@panglesd, #1325)
130106

131107
### Fixed
132108

@@ -147,6 +123,10 @@
147123
- Add missing parentheses in 'val (let*) : ...' (@Julow, #1268)
148124
- Fix syntax highlighting not working for very large files
149125
(@jonludlam, @Julow, #1277)
126+
- Fix backtrace on invalid input in compile-deps (@jonludlam, #1313)
127+
- Fix bug in our CSS hitting verbatim blocks in tags (@jonludlam, #1312)
128+
- Fix issue #610 where `odoc html-fragment` wasn't rendering headings correctly
129+
(@jonludlam, #1306)
150130

151131
# 2.4.4
152132

0 commit comments

Comments
 (0)