Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build docs.rs documentation with features enabled and other fixes #170

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

00xc
Copy link
Contributor

@00xc 00xc commented Nov 13, 2023

Summary of the PR

  • Build docs.rs documentation with features enabled, since they do not show up at the moment.
  • Fix rustdoc warnings about bare URLs.
  • Fix rustdoc warnings about invalid HTML tags.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR are signed (with git commit -s), and the commit
    message has max 60 characters for the summary and max 75 characters for each
    description line.
  • N/A All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • N/A Any newly added unsafe code is properly documented.

00xc added 3 commits November 13, 2023 11:28
The current documentation build in docs.rs does not include
non-default crate features (at the moment just "bzimage"), which
might lead to users of the crate not being aware of their existence.

Signed-off-by: Carlos López <carlos.lopez@suse.com>
Fix several rustdoc bare URL warnings in the generated documentation.

See-also: https://doc.rust-lang.org/rustdoc/lints.html#bare_urls
Signed-off-by: Carlos López <carlos.lopez@suse.com>
Several documentation items were enclosed in angle brackets, which
would cause rustdoc to interpret them as HTML tags, generating
incorrect documentation. Enclose these in backticks for clarity.
While we are at it, fix list formatting for said items.

See-also: https://doc.rust-lang.org/rustdoc/lints.html#invalid_html_tags
Signed-off-by: Carlos López <carlos.lopez@suse.com>
@andreeaflorescu andreeaflorescu merged commit 123a966 into rust-vmm:main Nov 14, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants