Skip to content

Conversation

@StaticRocket
Copy link
Member

@StaticRocket StaticRocket commented Dec 15, 2024

Assorted selection of lint fixes

@github-actions
Copy link

New warnings found with rstcheck:

source/linux/Industrial_Protocols_PTP.rst:5: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:169: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:265: (INFO/1) Duplicate implicit target name: "gmac".
source/linux/Industrial_Protocols/PTP/_PTP.rst:810: (INFO/1) Duplicate implicit target name: "phy delay compensation for am57xx idk".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1179: (INFO/1) Duplicate implicit target name: "hardware overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1189: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1667: (INFO/1) Duplicate implicit target name: "limitations".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1696: (INFO/1) Duplicate implicit target name: "overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1723: (INFO/1) Duplicate implicit target name: "hardware".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1729: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1785: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1825: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1964: (INFO/1) Duplicate implicit target name: "procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1975: (INFO/1) Duplicate implicit target name: "test results".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1978: (INFO/1) Duplicate implicit target name: "test 1. with a hybrid clock (oc+tc) between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1983: (INFO/1) Duplicate implicit target name: "test 2. without a hybrid clock between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1988: (INFO/1) Duplicate implicit target name: "limitations".

jeevantelukula
jeevantelukula previously approved these changes Dec 17, 2024
jsuhaas22
jsuhaas22 previously approved these changes Dec 17, 2024
Copy link
Member

@cshilwant cshilwant left a comment

Choose a reason for hiding this comment

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

@github-actions
Copy link

github-actions bot commented Jan 7, 2025

New warnings found with rstcheck:

source/linux/Industrial_Protocols_PTP.rst:5: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:169: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:265: (INFO/1) Duplicate implicit target name: "gmac".
source/linux/Industrial_Protocols/PTP/_PTP.rst:810: (INFO/1) Duplicate implicit target name: "phy delay compensation for am57xx idk".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1179: (INFO/1) Duplicate implicit target name: "hardware overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1189: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1667: (INFO/1) Duplicate implicit target name: "limitations".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1696: (INFO/1) Duplicate implicit target name: "overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1723: (INFO/1) Duplicate implicit target name: "hardware".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1729: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1785: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1825: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1854: (ERROR/3) Error in "code-block" directive:
source/linux/Industrial_Protocols/PTP/_PTP.rst:2006: (INFO/1) Duplicate implicit target name: "procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2017: (INFO/1) Duplicate implicit target name: "test results".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2020: (INFO/1) Duplicate implicit target name: "test 1. with a hybrid clock (oc+tc) between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2025: (INFO/1) Duplicate implicit target name: "test 2. without a hybrid clock between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2030: (INFO/1) Duplicate implicit target name: "limitations".

@StaticRocket StaticRocket requested a review from cshilwant January 7, 2025 22:24
@StaticRocket
Copy link
Member Author

Ignore that source/linux/Industrial_Protocols/PTP/_PTP.rst:1854: (ERROR/3) Error in "code-block" directive: message. Rstcheck issue with sphinx overriding the default code-block directive. It's not privy to the additional parameters I'm using here.

@github-actions
Copy link

github-actions bot commented Jan 8, 2025

New warnings found with rstcheck:

source/linux/Industrial_Protocols_PTP.rst:5: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:169: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:265: (INFO/1) Duplicate implicit target name: "gmac".
source/linux/Industrial_Protocols/PTP/_PTP.rst:810: (INFO/1) Duplicate implicit target name: "phy delay compensation for am57xx idk".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1179: (INFO/1) Duplicate implicit target name: "hardware overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1189: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1667: (INFO/1) Duplicate implicit target name: "limitations".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1696: (INFO/1) Duplicate implicit target name: "overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1723: (INFO/1) Duplicate implicit target name: "hardware".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1729: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1785: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1825: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1854: (ERROR/3) Error in "code-block" directive:
source/linux/Industrial_Protocols/PTP/_PTP.rst:2006: (INFO/1) Duplicate implicit target name: "procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2017: (INFO/1) Duplicate implicit target name: "test results".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2020: (INFO/1) Duplicate implicit target name: "test 1. with a hybrid clock (oc+tc) between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2025: (INFO/1) Duplicate implicit target name: "test 2. without a hybrid clock between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2030: (INFO/1) Duplicate implicit target name: "limitations".

@cshilwant
Copy link
Member

@jeevantelukula for reviews

@StaticRocket StaticRocket force-pushed the bugfix/lint-collection branch from d36b4f5 to 465d986 Compare March 4, 2025 19:04
@github-actions
Copy link

github-actions bot commented Mar 4, 2025

New warnings found with rstcheck:

source/linux/Industrial_Protocols_PTP.rst:5: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:168: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:812: (INFO/1) Duplicate implicit target name: "phy delay compensation for am57xx idk".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1181: (INFO/1) Duplicate implicit target name: "hardware overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1191: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1669: (INFO/1) Duplicate implicit target name: "limitations".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1698: (INFO/1) Duplicate implicit target name: "overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1725: (INFO/1) Duplicate implicit target name: "hardware".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1731: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1787: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1827: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1856: (ERROR/3) Error in "code-block" directive:
source/linux/Industrial_Protocols/PTP/_PTP.rst:2008: (INFO/1) Duplicate implicit target name: "procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2019: (INFO/1) Duplicate implicit target name: "test results".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2022: (INFO/1) Duplicate implicit target name: "test 1. with a hybrid clock (oc+tc) between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2027: (INFO/1) Duplicate implicit target name: "test 2. without a hybrid clock between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2032: (INFO/1) Duplicate implicit target name: "limitations".

Address all the current possible title underline warnings.

Signed-off-by: Randolph Sapp <[email protected]>
Fix and tag the code-blocks to cut down on parsing and attribute errors.
Also, it adds syntax highlighting and some rudimentary syntax checking
for these examples.

Signed-off-by: Randolph Sapp <[email protected]>
Fix the following warning by making the affected links anonymous:
Duplicate explicit target name: "user guide".

Signed-off-by: Randolph Sapp <[email protected]>
Address the following warning by removing the duplicate target name:
Duplicate explicit target name: "backplane-configuration"

Signed-off-by: Randolph Sapp <[email protected]>
Fix the following warning by using anonymous links:
Duplicate explicit target name: "setup_hsr.sh"

Signed-off-by: Randolph Sapp <[email protected]>
Remove the line-blocks that were breaking list parsing rules:
(WARNING/2) Bullet list ends without a blank line; unexpected unindent.
(WARNING/2) Line block ends without a blank line.
(WARNING/2) Bullet list ends without a blank line; unexpected unindent.
(WARNING/2) Line block ends without a blank line.

Signed-off-by: Randolph Sapp <[email protected]>
Fix the unused directive generating the following warning:
Literal block expected; none found.

Signed-off-by: Randolph Sapp <[email protected]>
Address some issues with rstcheck and reword a few sections.

Signed-off-by: Randolph Sapp <[email protected]>
Address the title underline warning for the omapl hardware setup guide.

Signed-off-by: Randolph Sapp <[email protected]>
Address the following warnings:

(INFO/1) Possible incomplete section title.
(INFO/1) Blank line missing before literal block (after the "::")? Interpreted as a definition list item.

Signed-off-by: Randolph Sapp <[email protected]>
Remove an invalid line block that was breaking parsing.

Signed-off-by: Randolph Sapp <[email protected]>
Normalize all of the code blocks in this section and re-tag them as
appropriate.

Signed-off-by: Randolph Sapp <[email protected]>
Signed-off-by: Randolph Sapp <[email protected]>
Replace all relative links with proper refs. Some of these links were
already invalid. If any of these are wrong I'll leave it to the IP owner
to sort out.

Signed-off-by: Randolph Sapp <[email protected]>
@StaticRocket StaticRocket force-pushed the bugfix/lint-collection branch from 465d986 to aefadd9 Compare March 15, 2025 06:22
@github-actions
Copy link

New warnings found with rstcheck:

source/linux/Industrial_Protocols_PTP.rst:5: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:168: (INFO/1) Enumerated list start value not ordinal-1: "2" (ordinal 2)
source/linux/Industrial_Protocols/PTP/_PTP.rst:812: (INFO/1) Duplicate implicit target name: "phy delay compensation for am57xx idk".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1181: (INFO/1) Duplicate implicit target name: "hardware overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1191: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1669: (INFO/1) Duplicate implicit target name: "limitations".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1698: (INFO/1) Duplicate implicit target name: "overview".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1725: (INFO/1) Duplicate implicit target name: "hardware".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1731: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1787: (INFO/1) Duplicate implicit target name: "software".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1827: (INFO/1) Duplicate implicit target name: "test setup/procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:1856: (ERROR/3) Error in "code-block" directive:
source/linux/Industrial_Protocols/PTP/_PTP.rst:2008: (INFO/1) Duplicate implicit target name: "procedure".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2019: (INFO/1) Duplicate implicit target name: "test results".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2022: (INFO/1) Duplicate implicit target name: "test 1. with a hybrid clock (oc+tc) between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2027: (INFO/1) Duplicate implicit target name: "test 2. without a hybrid clock between master and slave clock".
source/linux/Industrial_Protocols/PTP/_PTP.rst:2032: (INFO/1) Duplicate implicit target name: "limitations".

@StaticRocket
Copy link
Member Author

@cshilwant @praneethbajjuri , this is probably going to start conflicting with things soon.

@praneethbajjuri praneethbajjuri merged commit d70fca9 into TexasInstruments:master Mar 16, 2025
2 of 3 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.