Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Add generated document for ComPlus_* configurations - #844

Merged
richlander merged 1 commit into
dotnet:masterfrom
milizhang:complus_doc
May 6, 2015
Merged

richlander merged 1 commit into
dotnet:masterfrom
milizhang:complus_doc

Conversation

@milizhang

Copy link
Copy Markdown

The commit contains a markdown table that documents all configurations that exist in src/inc/clrconfigvalues.h, as well as the script used to generate this document.

@dnfclas

dnfclas commented Apr 28, 2015

Copy link
Copy Markdown

Hi @milizhang, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@dnfclas

dnfclas commented Apr 28, 2015

Copy link
Copy Markdown

@milizhang, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

@richlander richlander added the documentation Documentation bug or enhancement, does not impact product or test code label Apr 28, 2015
@richlander

Copy link
Copy Markdown
Member

Thanks! Good idea.

Is it possible to make the first column more narrow (wrap the longest lines)?

/cc @jkotas

@jkotas

jkotas commented Apr 28, 2015

Copy link
Copy Markdown
Member

I am not sure whether it is useful to have a markup version of this list. To me, it is about as hard to read as the header file; and I tend to prefer a single source of truth. I can live with it though.

If you feel that there is value in having a markup version of this list, could you please add the following note to the top:

This list was auto generated from src\inc\clrconfigvalues.h. It may be out of date.

@kangaroo

Copy link
Copy Markdown

I tend to agree with @jkotas -- unless this is the canonical source, or is generated as a post commit, I'm worried this will harm more than it helps. Is there a reason the docs can't just point at the header?

@milizhang

Copy link
Copy Markdown
Author

@jkotas Sure I can add this notification to the document.

One of the point is that this document can be regenerated anytime using the provided script, thus it would be fairly simple to update the table.

Also talking about the format, I am thinking about moving the comments to the second column. Do you think that will make the document a little bit easier to read?

@Eyas

Eyas commented Apr 28, 2015

Copy link
Copy Markdown

If you will add a comment saying the document is auto-generated, it might be a good idea to state that is accurate as of <commit id> (the last commit in which this particular file changed), rather than stating it "may be out of date".

@milizhang

Copy link
Copy Markdown
Author

@Eyas Great idea. I will modify the script to automatically insert this information.

@milizhang

Copy link
Copy Markdown
Author

Added some modifications to make this markdown document more readable.
Also added the information about both the hash of the latest commit, and the generation date of this document.

@richlander

Copy link
Copy Markdown
Member

I personally think that this is a benefit. The rendered view is significantly easier to read than the header file.

@milizhang can you squash?

If anyone else has a strong issue with this, please say. Otherwise, we'll merge (post-squash).

@milizhang
milizhang force-pushed the complus_doc branch 2 times, most recently from a8d39d9 to 3310cc7 Compare May 6, 2015 06:04
@milizhang

Copy link
Copy Markdown
Author

Squashed and regenerated the document to reflect recent changes.

richlander added a commit that referenced this pull request May 6, 2015
Add generated document for ComPlus_* configurations
@richlander
richlander merged commit de39364 into dotnet:master May 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Documentation bug or enhancement, does not impact product or test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants