Skip to content

Clean up crate feature list documentation #589

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

Merged
merged 6 commits into from
Nov 27, 2022

Conversation

nicholasbishop
Copy link
Member

  • Updated uefi and uefi-services crate docstrings to fully describe all the features of each crate.
  • Changed the uefi and uefi-services READMEs to link to those crate docstrings as the canonical feature list descriptions.
  • Removed the feature list from the top-level readme and book.

The idea here is to just have one place where all the features are described so that we can keep the documentation up-to-date without much effort.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)


## Optional features

This crate's features are described in [`src/lib.rs`].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice, good change!

@phip1611 phip1611 force-pushed the bishop-fewer-feature-lists branch from 80101ec to 31c3758 Compare November 27, 2022 09:19
Use paragraphs instead of bullets, add `panic-on-logger-errors`, and
mention `uefi-services` can be used to initialize the allocator and
logger.
Link to the src/lib.rs file instead of listing out the optional features
so that we don't have to worry about keeping the text in sync.
The feature lists are covered in the crate docstrings now, and the crate
READMEs link to that source as well. Drop the list here so we don't have
to worry about keeping them in sync.
This is covered by the uefi/uefi-services crate documention. Drop the
list from here so we don't have to worry about keeping it in sync.
@phip1611 phip1611 force-pushed the bishop-fewer-feature-lists branch from 31c3758 to 2b0aaed Compare November 27, 2022 09:21
@phip1611 phip1611 merged commit b35ffb8 into rust-osdev:main Nov 27, 2022
@nicholasbishop nicholasbishop deleted the bishop-fewer-feature-lists branch November 27, 2022 18:46
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.

2 participants