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

97 coding standards rebranch #128

Merged
merged 38 commits into from
Oct 25, 2023
Merged

97 coding standards rebranch #128

merged 38 commits into from
Oct 25, 2023

Conversation

JhanSrbinovsky
Copy link
Collaborator

@JhanSrbinovsky JhanSrbinovsky commented May 25, 2023

CABLE

Description

Add coding standards information to the Developer's Guide. The original branch was corrupted and it was unclear if the automated tests worked correctly. It was easier to restart than try to resolve within the first branch.

Fixes #97

Type of change

  • New or updated documentation

Checklist

  • The new content is accessible and located in the appropriate section.
  • I have checked that links are valid and point to the intended content.
  • I have checked my code/text and corrected any misspellings

📚 Documentation preview 📚: https://cable--128.org.readthedocs.build/en/128/

@JhanSrbinovsky JhanSrbinovsky linked an issue May 25, 2023 that may be closed by this pull request
@JhanSrbinovsky
Copy link
Collaborator Author

arrrggggghhhhh - so where is the preview now. it looks like checks have passed. I thought it was supposed to be processed?

@tammasloughran
Copy link
Collaborator

https://cable--128.org.readthedocs.build/en/128/developer_guide/coding_standards/

Very strange that GitHub can't find the preview deplotment now.

I found it by clicking "Show all checks", then "Details" next to the readthedocs entry

@JhanSrbinovsky
Copy link
Collaborator Author

Thanks for the link. OK - so now to address your comments - 1 what do you mean by where are general rules? I thought maybe I had left in a black heading. Do you mean I should include that as a section?

  1. you mentioned text edits - do you mean text edits you have already made (and if so where are they now) - OR that I should make some
  2. Missing list?

@JhanSrbinovsky
Copy link
Collaborator Author

BTW - do you know how to see a rendered version of source code? That is the whole point of using MD right?

Copy link
Collaborator

@tammasloughran tammasloughran left a comment

Choose a reason for hiding this comment

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

Sorry. My first attempt didn't work. I'm still learning how to review.

documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
@tammasloughran
Copy link
Collaborator

BTW - do you know how to see a rendered version of source code? That is the whole point of using MD right?

Well there is this:
https://cable--128.org.readthedocs.build/en/128/developer_guide/coding_standards/

Also there is the regular github rendering of the branch:
https://github.com/CABLE-LSM/CABLE/blob/97_coding_standards_rebranch/documentation/docs/developer_guide/coding_standards.md

@tammasloughran
Copy link
Collaborator

FYI: You can also accept changes in batch under the files changed tab of the pull request.

@JhanSrbinovsky
Copy link
Collaborator Author

BTW - do you know how to see a rendered version of source code? That is the whole point of using MD right?

Well there is this: https://cable--128.org.readthedocs.build/en/128/developer_guide/coding_standards/

Also there is the regular github rendering of the branch: https://github.com/CABLE-LSM/CABLE/blob/97_coding_standards_rebranch/documentation/docs/developer_guide/coding_standards.md

The 1st link - I like the ACTUNG!! Special Warning notice. You must've done this but I cant see it in mine, probably because I edited the same part of the code AND the code blocks don't reflect what I have locally

The 2nd link does

As there is no timestamp or something on the 1st IDK how to update it

@tammasloughran tammasloughran self-requested a review June 2, 2023 02:26
Copy link
Collaborator

@tammasloughran tammasloughran left a comment

Choose a reason for hiding this comment

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

No more comments

@JhanSrbinovsky
Copy link
Collaborator Author

@ccarouge - we're waiting on your approval

@tammasloughran tammasloughran requested review from tammasloughran and removed request for ccarouge June 20, 2023 04:49
Copy link
Collaborator

@tammasloughran tammasloughran left a comment

Choose a reason for hiding this comment

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

Reviewed

Copy link
Collaborator

@ccarouge ccarouge left a comment

Choose a reason for hiding this comment

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

Sorry Jhan, I have a few comments. You don't have to accept everything. Let me know what you think.

documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
documentation/docs/developer_guide/coding_standards.md Outdated Show resolved Hide resolved
JhanSrbinovsky and others added 15 commits July 3, 2023 14:16
Copy link
Collaborator Author

@JhanSrbinovsky JhanSrbinovsky left a comment

Choose a reason for hiding this comment

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

accept grammar

Copy link
Collaborator Author

@JhanSrbinovsky JhanSrbinovsky left a comment

Choose a reason for hiding this comment

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

clearing XX

Copy link
Collaborator

@ccarouge ccarouge left a comment

Choose a reason for hiding this comment

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

I've noticed a few differences between the templates at the end and the naming convention for the subroutine names. Instead of listing the changes, I went ahead and made the changes myself. So we are ready to merge!

@ccarouge ccarouge merged commit c9edcf9 into main Oct 25, 2023
3 checks passed
@ccarouge ccarouge deleted the 97_coding_standards_rebranch branch October 25, 2023 06:17
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.

Docathon2 - user guide - Coding Standards
3 participants