2020-07-24 12:16:34 +00:00
|
|
|
<!---
|
|
|
|
SPDX-FileCopyrightText: 2020 Robin Krahl <robin.krahl@ireas.org>
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
-->
|
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
# Changelog for rusty-man
|
|
|
|
|
2020-08-10 17:30:12 +00:00
|
|
|
## Unreleased
|
|
|
|
|
|
|
|
- Add syntax highlighting:
|
|
|
|
- Add syntax highlighting using `syntect` for code snippets displayed with
|
|
|
|
the rich text viewer.
|
2020-08-10 19:46:23 +00:00
|
|
|
- Add the `--no-syntax-highlight` option to disable syntax highlighting.
|
|
|
|
- Add the `--theme [theme]` option to select the syntax highlighting theme.
|
2020-08-10 21:37:26 +00:00
|
|
|
- Add support for configuration files:
|
|
|
|
- Load the `config.toml` file from the config directory according to the XDG
|
|
|
|
Base Directory Specification `${XDG_CONFIG_HOME}/rusty-man/config.toml`,
|
|
|
|
where `${XDG_CONFIG_HOME}` defaults to `${HOME}/.config`. The
|
|
|
|
configuration file can be used to set defaults for the command-line
|
|
|
|
options.
|
2020-08-10 21:49:13 +00:00
|
|
|
- Add the `--config-file [file]` option to set a custom configuration file.
|
2020-08-10 17:30:12 +00:00
|
|
|
|
2020-07-28 12:59:12 +00:00
|
|
|
## v0.1.3 (2020-07-28)
|
|
|
|
|
|
|
|
This patch release adds support for documentation generated with Rust 1.45.0
|
|
|
|
and fixes some minor bugs in the documentation parser. It also adds the
|
|
|
|
documentation downloaded using rustup to the default sources.
|
2020-07-25 17:06:27 +00:00
|
|
|
|
|
|
|
- Use `rustc --print sysroot` to determine the Rust installation directory
|
|
|
|
instead of always using `/usr`.
|
2020-07-26 08:42:17 +00:00
|
|
|
- Improve the documentation parser:
|
|
|
|
- Fix the definition of methods to only contain the actual definition.
|
2020-07-26 09:04:13 +00:00
|
|
|
- Remove spurious members in module documentation.
|
2020-07-26 09:51:54 +00:00
|
|
|
- Show the definition for constants and typedefs.
|
2020-07-26 10:10:21 +00:00
|
|
|
- Fix group and ID for typdef items.
|
2020-07-26 10:12:50 +00:00
|
|
|
- Extract the description of module items as HTML instead of plain text.
|
2020-07-26 12:31:51 +00:00
|
|
|
- Sort implementations alphabetically.
|
2020-07-27 14:14:42 +00:00
|
|
|
- Fix list of methods and trait implementations for Rust 1.45.
|
2020-07-25 17:06:27 +00:00
|
|
|
|
2020-07-25 11:27:56 +00:00
|
|
|
## v0.1.2 (2020-07-25)
|
|
|
|
|
|
|
|
This patch release adds basic logging output and a new `-e`/`--examples` option
|
|
|
|
to extract only the examples from the documentation. It also fixes a bug when
|
|
|
|
displaying the documentation for a function.
|
2020-07-25 09:44:57 +00:00
|
|
|
|
|
|
|
- Add basic logging using `env_logger` that can be enabled by setting the
|
|
|
|
environment variable `RUST_LOG=info`.
|
|
|
|
- Add `env_logger` dependency in version 0.7.1.
|
|
|
|
- Add `log` dependency in version 0.4.11.
|
2020-07-25 10:18:32 +00:00
|
|
|
- Show the definition for global functions.
|
2020-07-25 10:58:52 +00:00
|
|
|
- Add the `-e`/`--examples` option to only show the examples instead of opening
|
|
|
|
the full documentation for an item.
|
2020-07-25 09:44:57 +00:00
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
## v0.1.1 (2020-07-24)
|
2020-07-24 12:24:57 +00:00
|
|
|
|
|
|
|
This patch release fixes some minor issues with the documentation displayed on
|
|
|
|
crates.io.
|
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
## v0.1.0 (2020-07-24)
|
2020-07-24 12:16:34 +00:00
|
|
|
|
|
|
|
Initial release with support for directory sources and including viewers for
|
|
|
|
plain and rich text.
|