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

Replace the TODO by a explanation of the limits #2308

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sfauvel
Copy link
Collaborator

@sfauvel sfauvel commented Feb 13, 2025

Content

Remove a TODO and replace it by a message indicated the limitation of the documentation generated.

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • Update README file (if relevant)
    • Update documentation website (if relevant)
    • Add dev blog post (if relevant)

@sfauvel sfauvel marked this pull request as ready for review February 13, 2025 14:50
Copy link

github-actions bot commented Feb 13, 2025

Test Results

    4 files  ±0     56 suites  ±0   10m 53s ⏱️ -6s
1 597 tests ±0  1 597 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 901 runs  ±0  1 901 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit a8e0f9f. ± Comparison against base commit f6f3b2b.

♻️ This comment has been updated with latest results.

@@ -1,6 +1,6 @@
//! Commands to generate a markdown documentation for the command line.
// TODO: Some Configuration could not be generated properly because there is a lack of information.
// LIMITATIONS: Some `Configuration` cannot be generated as precisely as we would like because there is a lack of information in code.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// LIMITATIONS: Some `Configuration` cannot be generated as precisely as we would like because there is a lack of information in code.
// LIMITATIONS: Some `Configuration` cannot be generated as precisely as we would like because there is a lack of information in the code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@sfauvel sfauvel force-pushed the sfa/remove_todo_from_mithril_doc_module branch from 3ae69e0 to a8e0f9f Compare February 14, 2025 13:45
@sfauvel sfauvel temporarily deployed to testing-sanchonet February 14, 2025 13:53 — with GitHub Actions Inactive
@@ -45,6 +45,7 @@ impl MainCommand {
Self::Serve(cmd) => cmd.execute(root_logger, config_builder).await,
Self::Tools(cmd) => cmd.execute(root_logger, config_builder).await,
Self::GenerateDoc(cmd) => {
println!("Please note: the documentation generated is not able to indicate the environment variables used by the commands.");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this the correct location for this println ? Should it be in mithril-doc instead ?

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.

4 participants