Skip to content

Docs: Organize component list in index.adoc - #405

Merged
leandrumartin merged 5 commits into
oss-slu:mainfrom
Ankita562:docs/organize-index-402
Oct 20, 2025
Merged

Docs: Organize component list in index.adoc#405
leandrumartin merged 5 commits into
oss-slu:mainfrom
Ankita562:docs/organize-index-402

Conversation

@Ankita562

Copy link
Copy Markdown
Contributor

Pull Request Summary:
This PR organizes and updates the main documentation index file (index.adoc). These changes improve the readability of the documentation's table of contents for end-users and enhance the source file's maintainability for future contributors.
This also fixes a bug where the Reed Switch documentation was not being included on the documentation homepage. No automated tests are required, as this is a documentation-only change.

PR Checklist
[x] Closes #402
[x] Tests pass
[x] Any related documentation has been updated, if necessary

Detailed Description:

This pull request addresses three specific improvements for the index.adoc file as outlined in issue #402:
1.Alphabetized Components: The include statements for inputComponents and outputComponents have been reordered alphabetically based on the user-facing title of each component. This makes the table of contents sidebar on the website much easier to navigate.
2.Added Reed Switch: The missing include::components/inputComponents/reedSwitch.adoc[] line has been added to its correct alphabetical position, ensuring it's no longer omitted from the documentation.
3.Added Comments: Comments (//) have been added to the source file to clearly separate the different component sections, making the file easier to read and edit in the future.

@leandrumartin leandrumartin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for your contribution! There is just one small change to make.


include::components/outputComponents/fan.adoc[]

include::components/outputComponents/fourDigitSevenSegment.adoc[]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this should actually be moved up to the first in the list, as it is displays as "4-digit 7-segment display" in the document title. So since it starts with a number, it would be first alphabetically.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback! I've made the requested change and pushed the update

@Ankita562

Copy link
Copy Markdown
Contributor Author

Hi @leandrumartin, I've addressed your feedback and updated the branch. The PGP signing check is failing as expected for a PR from a fork, but all other checks are passing. Thanks

@leandrumartin

Copy link
Copy Markdown
Collaborator

Looks perfect, thank you!

@leandrumartin
leandrumartin merged commit 389ad94 into oss-slu:main Oct 20, 2025
5 of 6 checks passed
@Ankita562
Ankita562 deleted the docs/organize-index-402 branch October 21, 2025 04:47
@leandrumartin leandrumartin added the hacktoberfest-accepted For accepted and merged PRs for Hacktoberfest label Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted For accepted and merged PRs for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix and organize index.adoc

2 participants