Skip to content

Commit feed7d5

Browse files
authored
update intros (github#27309)
1 parent de533d7 commit feed7d5

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

content/rest/metrics/community.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Community
3-
intro: ''
2+
title: Community metrics
3+
shortTitle: Community
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Community metrics API lets you get data about your community profile.'
46
versions:
57
fpt: '*'
68
ghec: '*'

content/rest/metrics/statistics.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Statistics
3-
intro: 'The Repository Statistics API allows you to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity.'
2+
title: Repository statistics
3+
shortTitle: Statistics
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Repository statistics API allows you to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,6 +13,10 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

16+
## About the Repository statistics API
17+
18+
The Repository statistics API allows you to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity.
19+
1420
### A word about caching
1521

1622
Computing repository statistics is an expensive operation, so we try to return cached

content/rest/metrics/traffic.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Traffic
3-
intro: 'For repositories that you have push access to, the traffic API provides access to the information provided in your repository graph. '
2+
title: Repository traffic
3+
shortTitle: Traffic
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Repository traffic API provides access to the information provided in your repository graph.'
46
versions:
57
fpt: '*'
68
ghec: '*'
@@ -9,4 +11,7 @@ topics:
911
miniTocMaxHeadingLevel: 3
1012
---
1113

12-
For more information, see "<a href="/repositories/viewing-activity-and-data-for-your-repository/viewing-traffic-to-a-repository" class="dotcom-only">Viewing traffic to a repository</a>."
14+
## About the Repository traffic API
15+
16+
For repositories that you have push access to, the Repository traffic API provides access to the information provided in your repository graph.
17+
For more information, see "[Viewing traffic to a repository](/repositories/viewing-activity-and-data-for-your-repository/viewing-traffic-to-a-repository)."

0 commit comments

Comments
 (0)