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

Contributing.md: Minor re-organization of headings #5017

Merged
merged 1 commit into from Mar 7, 2017

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Mar 5, 2017

This gives headings consistent link references that won't arbitrarily change if the text representing it does, which makes for better organization. This is also less error-prone when it comes to specifying links in the presence of two headings with the same text content, but under different sections. This also treats each section and sub-section such that they all have their own dividers.

This also clearly distinguishes the current coding style and guidelines as applicable to our C++ code. This makes including specific guidelines for other languages or tooling less ambiguous (e.g. If CMake were to get a preferred style/formatting for our codebase, "C++ Coding Style and Formatting" and "CMake Coding Style and Formatting" are less ambiguous compared to "Styling and formatting" and "CMake Coding Style and Formatting").

Ideally, I'd like to eventually drop the bulleted list style that our guidelines currently have and make proper linkable sections for them along with adding rationales/explanations to each guideline where applicable.

@@ -29,7 +26,7 @@ Following this guide and formatting your code as detailed will likely get your p
This project uses clang-format (stable branch) to check for common style issues. In case of conflicts between this guide and clang-format rules, the latter should be followed instead of this guide.


### Checking and fixing formatting issues
## <a name="intro-formatting-issues"></a>Checking and fixing formatting issues

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This gives headings consistent link references that won't arbitrarily
change if the text representing it does, which makes for better
organization. This is also less error-prone when it comes to specifying
links in the presence of two headings with the same text content, but
under different sections.

This also treats each section and sub-section such that they all have
their own dividers.
@sepalani
Copy link
Contributor

sepalani commented Mar 5, 2017

Can't <a name="anchor"></a> be simplified like this: <a name="anchor"/>?

@BhaaLseN
Copy link
Member

BhaaLseN commented Mar 5, 2017

If it were XML, yes. HTML doesn't allow short-tags there.

@Parlane Parlane merged commit a75d38a into dolphin-emu:master Mar 7, 2017
@lioncash lioncash deleted the contrib branch March 7, 2017 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants