Skip to content

Add ResetReason and Watchdog driver docs #404

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

Closed
wants to merge 3 commits into from
Closed

Add ResetReason and Watchdog driver docs #404

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 8, 2018

  • Add class reference pages

Amanda Butler added 2 commits February 15, 2018 15:44
Fix formatting for consistency across documentation.
Copy edit for active voice and formatting.
Copy link
Contributor

@AnotherButler AnotherButler left a comment

Choose a reason for hiding this comment

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

Please address the comments I've left below.


[![View code](https://www.mbed.com/embed/?type=library)](http://os-doc-builder.test.mbed.com/docs/v5.8/mbed-os-api-doxy/classmbed_1_1_resetreason.html)

### ResetReason example
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add the examples from both files to the teams examples.

Copy link
Author

Choose a reason for hiding this comment

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

What are the teams examples you're referring to?

Copy link
Contributor

Choose a reason for hiding this comment

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

These: https://os.mbed.com/teams/mbed_example/

We've now given you access (we think), so please create your examples here, and let me know if you still need permissions.


### ResetReason class reference

[![View code](https://www.mbed.com/embed/?type=library)](http://os-doc-builder.test.mbed.com/docs/v5.8/mbed-os-api-doxy/classmbed_1_1_resetreason.html)
Copy link
Contributor

Choose a reason for hiding this comment

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

This link doesn't work. Please fix it.

Copy link
Author

Choose a reason for hiding this comment

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

The intended pages don't currently exist. Could you generate the docs pages to link to under https://os.mbed.com/docs/v5.7/feature-hal-spec-watchdog-doxy/modules.html

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for letting me know. I'll talk with @iriark01 about having these rendered.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, have what rendered? Is it just a feature branch to add?

Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't actually a feature branch. This is a driver page. Can you please help me find the correct link here: https://os-doc-builder.test.mbed.com/docs/development/mbed-os-api-doxy/annotated.html

Copy link
Contributor

Choose a reason for hiding this comment

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

That might be exclusions from the mbed-os repo's branch.

Copy link
Contributor

Choose a reason for hiding this comment

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

I can't see it in the exclusion, but I'm never quite sure how that works

https://github.com/ARMmbed/mbed-os/blob/feature-watchdog/doxygen_options.json

Copy link
Author

Choose a reason for hiding this comment

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

Ahh thanks, it looks like it might be the lack of DEVICE_RESET_REASON and DEVICE_WATCHDOG in the predefined section.

Copy link
Contributor

Choose a reason for hiding this comment

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

@scartmell-arm is that something you can fix?

Copy link
Author

Choose a reason for hiding this comment

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


### Watchdog class reference

[Add class reference here. Ask your editor for help if you've never done this before.]
[![View code](https://www.mbed.com/embed/?type=library)](http://os-doc-builder.test.mbed.com/docs/v5.8/mbed-os-api-doxy/classmbed_1_1_watchdog.html)
Copy link
Contributor

Choose a reason for hiding this comment

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

This link doesn't work. Please fix it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

These are not contributing (porting) pages, so they should not go to feature branches.

@AnotherButler
Copy link
Contributor

@scartmell-arm These are driver API documentation pages. They only relate to code on master. If this content is not yet on master, then it does not belong here yet. We only include feature-branch documentation in our contributing (porting) section, and those pages require warnings on them.

@AnotherButler
Copy link
Contributor

Closing until this goes onto master. Please reopen when it's ready for review.

@AnotherButler
Copy link
Contributor

@bulislaw FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants