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

show contributor count on stats page #149

Merged
merged 1 commit into from
Oct 31, 2020
Merged

show contributor count on stats page #149

merged 1 commit into from
Oct 31, 2020

Conversation

robertylewis
Copy link
Member

No description provided.


<table class="table table-borderless table-sm mt-4 ml-5" style="font-size: 1.25rem">
<tr>
<th>Definitions</th>
<th>Theorems</th>
<th>Meta declarations</th>
<th>Contributors</th>
</tr>
<tr>
<td>{{ num_defns }}</td>
Copy link
Member

@eric-wieser eric-wieser Oct 27, 2020

Choose a reason for hiding this comment

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

Possibly

Suggested change
<td>{{ num_defns }}</td>
<td>{{ num_defns }} <small>(+ {{num_meta}} meta)</small></td>

Could link meta to https://leanprover-community.github.io/extras/tactic_writing.html, although it's not a perfect match.

Copy link
Member Author

Choose a reason for hiding this comment

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

IMO this is more clutter than it's worth, not sure the meta number is particularly interesting to most people.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We could hide more detailed statistics inside a <details> dropdown.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably something for another PR though.

@robertylewis robertylewis merged commit c204d13 into newsite Oct 31, 2020
@robertylewis robertylewis deleted the contribs branch October 31, 2020 20:41
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.

None yet

3 participants