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

Deduplicate docs #29

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Deduplicate docs #29

merged 2 commits into from
Feb 29, 2024

Conversation

sjoerdsimons
Copy link
Collaborator

Rust makes it easy to use external files in crate documentation, take advantage of that to de-duplicate the README.md and the create level documentation

@sjoerdsimons
Copy link
Collaborator Author

Note this build on top of #24

@sjoerdsimons
Copy link
Collaborator Author

Addressed the relevant commetns from @refi64 that he did in #32

Since Rust 1.54 `include_str!` can be used in the doc attribute to
include external files. Take advantage of that to re-use a single
README.md for both crate-level docs as well as discoverable
documentation in github.

Signed-off-by: Sjoerd Simons <[email protected]>
Now that he main README moved into the gitlab-runner crate re-add a
small README at the root

Signed-off-by: Sjoerd Simons <[email protected]>
@sjoerdsimons sjoerdsimons force-pushed the sjoerd/deduplicate-docs branch from 7361057 to 2a8e7eb Compare February 29, 2024 08:30
@sjoerdsimons sjoerdsimons added this pull request to the merge queue Feb 29, 2024
Merged via the queue into main with commit 53cea91 Feb 29, 2024
14 checks passed
@sjoerdsimons sjoerdsimons deleted the sjoerd/deduplicate-docs branch February 29, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant