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

docs: Resolve CI lints on docs #401

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

polarathene
Copy link
Contributor

I'm not familiar with the syntax, I've assumed markdown.

This PR should address the issues the action keeps annotating about unrelated to actual PR changes.

Copy link

github-actions bot commented Jun 7, 2024

Code Metrics Report
  ===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Dockerfile              1           34           25            0            9
 Happy                   1          442          369            0           73
 JSON                    9           21           21            0            0
 Python                 24          864          731           25          108
 TOML                   15          403          365            1           37
-------------------------------------------------------------------------------
 Jupyter Notebooks       1            0            0            0            0
 |- Markdown             1           60           30           22            8
 |- Python               1           96           87            1            8
 (Total)                            156          117           23           16
-------------------------------------------------------------------------------
 Markdown               16         1057            0          783          274
 |- BASH                 6          203          190            0           13
 |- Python               6          121          110            0           11
 |- Rust                 3          185          172            9            4
 (Total)                           1566          472          792          302
-------------------------------------------------------------------------------
 Rust                   94        29779        27098          437         2244
 |- Markdown            48          476            0          463           13
 (Total)                          30255        27098          900         2257
===============================================================================
 Total                 162        32600        28609         1246         2745
===============================================================================
  

Copy link
Contributor Author

@polarathene polarathene left a comment

Choose a reason for hiding this comment

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

Context

mistralrs-core/src/pipeline/mod.rs Outdated Show resolved Hide resolved
@@ -117,7 +117,7 @@ impl Loader for SpeculativeLoader {
}
}

/// Speculative decoding pipeline: https://arxiv.org/pdf/2211.17192
/// Speculative decoding pipeline: <https://arxiv.org/pdf/2211.17192>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Presumably this will render as a raw URL.

Comment on lines +92 to +93
/// Can be in the formats: `literal:<value>`, `env:<value>`, `path:<value>`, `cache` to use a cached token, or `none` to use no token.
/// Defaults to `cache`.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Switched to backticks instead of double quote wrapping as the CI check considered <value> as HTML tag 🤷‍♂️

This isn't actually used to generate docs for the crate, only for CLI help. I noticed mistralrs-server is locked down heavily on the docs generated, and assume there is a way to exclude it from showing in the generated docs if there's no intended lib usage via the crate.

polarathene

This comment was marked as duplicate.

@EricLBuehler EricLBuehler merged commit 44e8a22 into EricLBuehler:master Jun 7, 2024
11 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.

None yet

2 participants