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

Improve docs #32

Merged
merged 1 commit into from
Jan 17, 2020
Merged

Improve docs #32

merged 1 commit into from
Jan 17, 2020

Conversation

ionut-arm
Copy link
Member

This commit improves some of our documentation and allows the crate docs
to be built for docs.rs.

This commit improves some of our documentation and allows the crate docs
to be built for docs.rs.

Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm added the documentation Improvements or additions to documentation label Jan 17, 2020
@ionut-arm ionut-arm added this to the Rust tss-esapi v1.0 milestone Jan 17, 2020
@ionut-arm ionut-arm self-assigned this Jan 17, 2020
@@ -22,3 +24,9 @@ env_logger = "0.7.1"
[build-dependencies]
bindgen = "0.52.0"
pkg-config = "0.3.17"

[features]
docs = []
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we will also have to add some of thse dependencies as optional if they do not build on the docs.rs server.

Copy link
Member Author

Choose a reason for hiding this comment

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

... hopefully they do

@hug-dev
Copy link
Member

hug-dev commented Jan 17, 2020

Clever fix to allow to have nice docs on docs.rs 😃 In the future we might want to load the library dynamically.

@ionut-arm
Copy link
Member Author

Clever fix to allow to have nice docs on docs.rs 😃 In the future we might want to load the library dynamically.

Agreed, it would've been too much work not justified for now, though

@ionut-arm ionut-arm merged commit 595f1b6 into parallaxsecond:master Jan 17, 2020
@ionut-arm ionut-arm deleted the docs branch January 17, 2020 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants