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

Add troubleshooting section #488

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Conversation

c0ffeeca7
Copy link

No description provided.

Copy link

coderabbitai bot commented Jun 20, 2024

Walkthrough

Walkthrough

The recent updates to the documentation have primarily focused on restructuring the navigation for better organization and clarity. The "Troubleshooting" section has been added to group related documents, specifically moving "Diagnostics" and "Logs" under this new section. Consequently, all relevant links and references have been updated to reflect this new structure. Additionally, a minor edit was made to the diagnostics.md file, removing an id attribute from the title section.

Changes

File Path Change Summary
mkdocs.yml Restructured the navigation menu, adding a "Troubleshooting" section and moving "Diagnostics" and "Logs" under it.
source/docs/help/issues.md Updated links to point to the new "Troubleshooting" section.
.../use/troubleshooting/diagnostics.md Removed id attribute from the title section.

Recent review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE

Commits

Files that changed from the base of the PR and between b63a46e and 83110cd.

Files selected for processing (3)
  • mkdocs.yml (1 hunks)
  • source/docs/help/issues.md (2 hunks)
  • source/docs/use/troubleshooting/diagnostics.md (1 hunks)
Additional context used
Markdownlint
source/docs/use/troubleshooting/diagnostics.md

16-16: Expected: 1; Actual: 2 (MD012, no-multiple-blanks)
Multiple consecutive blank lines


19-19: Expected: 1; Actual: 4; Style: 1/1/1 (MD029, ol-prefix)
Ordered list item prefix

source/docs/help/issues.md

37-37: Expected: 1; Actual: 2 (MD012, no-multiple-blanks)
Multiple consecutive blank lines


51-51: Expected: 1; Actual: 2 (MD012, no-multiple-blanks)
Multiple consecutive blank lines


55-55: Expected: 1; Actual: 2 (MD012, no-multiple-blanks)
Multiple consecutive blank lines


60-60: Expected: 1; Actual: 2 (MD012, no-multiple-blanks)
Multiple consecutive blank lines


68-68: Expected: 1; Actual: 2 (MD012, no-multiple-blanks)
Multiple consecutive blank lines


9-9: null (MD025, single-title, single-h1)
Multiple top-level headings in the same document


56-56: null (MD025, single-title, single-h1)
Multiple top-level headings in the same document


112-112: null (MD025, single-title, single-h1)
Multiple top-level headings in the same document


65-65: null (MD031, blanks-around-fences)
Fenced code blocks should be surrounded by blank lines


79-79: null (MD031, blanks-around-fences)
Fenced code blocks should be surrounded by blank lines


92-92: null (MD031, blanks-around-fences)
Fenced code blocks should be surrounded by blank lines


66-66: null (MD036, no-emphasis-as-heading)
Emphasis used instead of a heading


80-80: null (MD036, no-emphasis-as-heading)
Emphasis used instead of a heading


93-93: null (MD036, no-emphasis-as-heading)
Emphasis used instead of a heading

LanguageTool
source/docs/help/issues.md

[uncategorized] ~7-~7: It seems likely that a singular genitive (’s) apostrophe is missing. (AI_HYDRA_LEO_APOSTROPHE_S_XS)
Context: ...ription: "Got issues?"

**[First lets start out by stating that ALL issues ...


[uncategorized] ~13-~13: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short). (COMMA_COMPOUND_SENTENCE)
Context: ...
All templates have a defined structure and it is expected that you follow it.
...


[style] ~15-~15: You can shorten this phrase to improve clarity and avoid wordiness. (NNS_THAT_ARE_JJ)
Context: ...is expected that you follow it.

_Issues that are missing required information can (will) be clos...


[grammar] ~19-~19: Did you mean “there are grounds”? (THERE_S_MANY)
Context: ...g

This should only be used, when there is grounds for removing (blacklisting) a repositor...


[uncategorized] ~23-~23: The preposition “of” seems more likely in this position. (AI_EN_LECTOR_REPLACEMENT_PREPOSITION)
Context: ...at least these:

  • A good description for why.
  • The name of the repository.
  • ...

[locale-violation] ~33-~33: In American English, “take a look” is more commonly used. (HAVE_A_LOOK)
Context: ...or HACS (required when adding an issue) have a look here](/docs/use/troubleshooting/logs.md...


[style] ~51-~51: Using many exclamation marks might seem excessive (in this case: 6 exclamation marks for a text that’s 2291 characters long) (EN_EXCESSIVE_EXCLAMATION)
Context: ...information can (will) be closed._

!!! tip
oh... and almost forgot... `la...


[typographical] ~66-~66: It seems that a comma is missing. (YES_NO_COMMA)
Context: ...mples of bad issues


_Yes the issue was blank it only had a heade...


[uncategorized] ~66-~66: A punctuation mark might be missing here. (AI_EN_LECTOR_MISSING_PUNCTUATION)
Context: ...```text

_Yes the issue was blank it only had a header 'CCH Settings'_


...

---

[uncategorized] ~80-~80: Use a comma before ‘but’ if it connects two independent clauses (unless they are closely connected and short). (COMMA_COMPOUND_SENTENCE)
Context: ...of the issue only contained the template but it had a header 'Blows up on update.'_
...

---

[uncategorized] ~93-~93: Use a comma before ‘but’ if it connects two independent clauses (unless they are closely connected and short). (COMMA_COMPOUND_SENTENCE)
Context: ...of the issue only contained the template but it had a header 'zod'_

***

```tex...

---

[grammar] ~106-~106: Consider using the plural verb form for the plural noun “links”. (THERE_IS_A_LOT_OF)
Context: ...act it (some also have screenshots) but here is a few links:_

- [https://github.com/...

</blockquote></details>

</blockquote></details>
<details>
<summary>yamllint</summary><blockquote>

<details>
<summary>mkdocs.yml</summary><blockquote>

[error] 63-63: duplication of key "font" in mapping (key-duplicates)

---

[error] 164-164: wrong indentation: expected 6 but found 4 (indentation)

---

[error] 166-166: wrong indentation: expected 8 but found 6 (indentation)

---

[error] 170-170: wrong indentation: expected 8 but found 6 (indentation)

---

[error] 173-173: wrong indentation: expected 8 but found 6 (indentation)

---

[error] 181-181: wrong indentation: expected 8 but found 6 (indentation)

---

[error] 188-188: wrong indentation: expected 8 but found 6 (indentation)

---

[error] 191-191: wrong indentation: expected 6 but found 4 (indentation)

---

[error] 203-203: wrong indentation: expected 6 but found 4 (indentation)

---

[error] 211-211: wrong indentation: expected 6 but found 4 (indentation)

---

[error] 213-213: wrong indentation: expected 6 but found 4 (indentation)

---

[error] 229-229: trailing spaces (trailing-spaces)

---

[error] 230-230: wrong indentation: expected 6 but found 4 (indentation)

---

[error] 232-232: too many blank lines (1 > 0) (empty-lines)

</blockquote></details>

</blockquote></details>

</details>
<details>
<summary>Additional comments not posted (2)</summary><blockquote>

<details>
<summary>source/docs/help/issues.md (2)</summary><blockquote>

`44-44`: Ensure the link to diagnostics reflects the new file path.

```diff
- [Diagnostics](/docs/use/diagnostics.md)
+ [Diagnostics](/docs/use/troubleshooting/diagnostics.md)

Likely invalid or redundant comment.


33-33: Update the link to reflect the new file structure.

- [To enable debug logs for HACS (required when adding an issue) have a look here](/docs/use/logs.md).
+ [To enable debug logs for HACS (required when adding an issue) have a look here](/docs/use/troubleshooting/logs.md).

Likely invalid or redundant comment.

Tools
LanguageTool

[locale-violation] ~33-~33: In American English, “take a look” is more commonly used. (HAVE_A_LOOK)
Context: ...or HACS (required when adding an issue) have a look here](/docs/use/troubleshooting/logs.md...


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

title: Diagnostics
description: 'How to get HACS diagnostics'
icon: material/hammer-wrench
Copy link
Member

Choose a reason for hiding this comment

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

These 2 should not have the same icon. If we can not find differentiating icons here, I would rather we did not have it in this section at all

Copy link
Author

Choose a reason for hiding this comment

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

the idea was to have the same icon for all troubleshooting topics

@@ -1,6 +1,7 @@
---
title: Log file and debug logging
description: "Enabling debug logging"
icon: material/hammer-wrench
Copy link
Member

@ludeeus ludeeus Jun 20, 2024

Choose a reason for hiding this comment

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

Suggested change
icon: material/hammer-wrench
icon: material/math-log

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Outside diff range comments (2)
source/docs/use/troubleshooting/diagnostics.md (2)

Line range hint 16-16: Please remove the extra blank line to adhere to Markdown best practices.

- 

Line range hint 19-19: The ordered list item prefix should be consistent. Consider using "1." consistently for clarity.

- 3. Select the three-dots menu, then select **Download diagnostics**.
+ 3. Select the three-dots menu, then select **Download diagnostics**.

Comment on lines +187 to +189
- Troubleshooting:
- docs/use/troubleshooting/diagnostics.md
- docs/use/troubleshooting/logs.md
Copy link

Choose a reason for hiding this comment

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

Ensure the indentation is consistent with the rest of the nav structure.

-    - Troubleshooting:
-      - docs/use/troubleshooting/diagnostics.md
-      - docs/use/troubleshooting/logs.md
+    - Troubleshooting:
+      - docs/use/troubleshooting/diagnostics.md
+      - docs/use/troubleshooting/logs.md

Committable suggestion was skipped due to low confidence.

Tools
yamllint

[error] 188-188: wrong indentation: expected 8 but found 6 (indentation)

@ludeeus ludeeus merged commit b492516 into hacs:next Jun 20, 2024
2 checks passed
@c0ffeeca7 c0ffeeca7 deleted the troubleshooting-section branch June 20, 2024 14:12
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