Skip to content

Commit c58b291

Browse files
committed
Follow style guide: Use numerals instead of spelling them out
1 parent e77985f commit c58b291

File tree

70 files changed

+103
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+103
-103
lines changed

linklint-2.3.5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ you have. You must make sure that they, too, receive or can get the
143143
source code. And you must show them these terms so they know their
144144
rights.
145145
146-
We protect your rights with two steps: (1) copyright the software, and
146+
We protect your rights with 2 steps: (1) copyright the software, and
147147
(2) offer you this license which gives you legal permission to copy,
148148
distribute and/or modify the software.
149149
@@ -247,7 +247,7 @@ Sections 1 and 2 above provided that you also do one of the following:
247247
source code, which must be distributed under the terms of Sections
248248
1 and 2 above on a medium customarily used for software interchange; or,
249249
250-
b) Accompany it with a written offer, valid for at least three
250+
b) Accompany it with a written offer, valid for at least 3
251251
years, to give any third party, for a charge no more than your
252252
cost of physically performing source distribution, a complete
253253
machine-readable copy of the corresponding source code, to be
@@ -359,7 +359,7 @@ Foundation.
359359
programs whose distribution conditions are different, write to the author
360360
to ask for permission. For software which is copyrighted by the Free
361361
Software Foundation, write to the Free Software Foundation; we sometimes
362-
make exceptions for this. Our decision will be guided by the two goals
362+
make exceptions for this. Our decision will be guided by the 2 goals
363363
of preserving the free status of all derivatives of our free software and
364364
of promoting the sharing and reuse of software generally.
365365

plugins/rubypants.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def stupefy_entities(str)
458458
# Return an array of the tokens comprising the string. Each token is
459459
# either a tag (possibly with nested, tags contained therein, such
460460
# as <tt><a href="<MTFoo>"></tt>, or a run of text between
461-
# tags. Each element of the array is a two-element array; the first
461+
# tags. Each element of the array is a 2-element array; the first
462462
# is either :tag or :text; the second is the actual value.
463463
#
464464
# Based on the <tt>_tokenize()</tt> subroutine from Brad Choate's

plugins/sitemap_generator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ def find_best_date(latest_date, site, page_or_post)
295295
best_date
296296
end
297297

298-
# Which of the two dates is later
298+
# Which of the 2 dates is later
299299
#
300-
# Returns latest of two dates
300+
# Returns latest of 2 dates
301301
def greater_date(date1, date2)
302302
if (date1 >= date2)
303303
date1

source/API_Reference/Event_Webhook/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ navigation:
5050
Events
5151
{% endanchor %}
5252

53-
Events are generated when email is processed by SendGrid and email service providers. There are two types of events - delivery and engagement events. Delivery events indicate the status of email delivery to the recipient. Engagement events indicate how the recipient is interacting with the email.
53+
Events are generated when email is processed by SendGrid and email service providers. There are 2 types of events - delivery and engagement events. Delivery events indicate the status of email delivery to the recipient. Engagement events indicate how the recipient is interacting with the email.
5454

5555
Here is a flow of email events:
5656

source/API_Reference/Web_API/Statistics/statistics_advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Get Statistics for: Browsers, Clients, Devices, Geo, Global, Isp
2323
{% parameter 'metric' 'No' 'One of the following (default is *all*):- *open*: Opens- *click*: Clicks- *unique_open*: Unique opens- *unique_click*: Unique clicks- *processed*: Processed emails- *delivered*: Delivered emails- *drop*: Dropped emails- *bounce*: Bounced emails- *deferred*: Deferred email tries- *spamreport*: Emails marked as spam- *blocked*: Emails that have been blocked- *all*: All metrics are returned' %}
2424
{% parameter 'category' 'No' 'Return statistics for the given category' %}
2525
{% parameter 'aggregated_by' 'No' 'Aggregate the data by the given period (default is *day*):- *day*: Keys are returned in the format yyyy-mm-dd (i.e 2012-12-13)- *week*: Keys are return in the format yyyy-ww (i.e 2012-43)- *month*: Keys are return in the format yyyy-mm (i.e 2012-11)' %}
26-
{% parameter 'country' 'No' 'Get statistics for each region/state for the given country. Only *US* (United States) and *CA* (Canada) is supported at this time. Country code is two letter characters based on [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) <p>This parameter is only used for when *data_type=geo*</p>' %}
26+
{% parameter 'country' 'No' 'Get statistics for each region/state for the given country. Only *US* (United States) and *CA* (Canada) is supported at this time. Country code is 2 letter characters based on [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) <p>This parameter is only used for when *data_type=geo*</p>' %}
2727
{% endparameters %}
2828

2929

source/API_Reference/Web_API_v3/Mail/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
For general information about how to use SendGrid's Web API v3, please visit our <a href="{{root_url}}/API_Reference/Web_API_v3/index.html">API Overview</a>.
5151

52-
You may send mail via the v3 Mail Send endpoint via one of two ways:
52+
You may send mail via the v3 Mail Send endpoint via one of 2 ways:
5353
<ul>
5454
<li>You can make a <a href="{{root_url}}/Classroom/Send/v3_Mail_Send/curl_examples.html">cURL request</a>.</li>
5555
<li>You can make an HTTP Post request through one of our <a href="{{root_url}}/Integrate/libraries.html">7 libraries</a>.</li>
@@ -130,7 +130,7 @@
130130
{% api_table_param sections "custom object" No "" "An object of key/value pairs that define large blocks of content that can be inserted into your emails using substitution tags." 0 %}
131131
{% api_table_param headers "custom object" No "" "An object containing key/value pairs of header names and the value to substitute for them. You must ensure these are properly encoded if they contain unicode characters. Must not be any of the following reserved headers: x-sg-id, x-sg-eid, received, dkim-signature, Content-Type, Content-Transfer-Encoding, To, From, Subject, Reply-To, CC, BCC" 0 %}
132132
{% api_table_param categories "array of strings" No "Max 255" "An array of category names for this message. Each category name may not exceed 255 characters. You cannot have more than 10 categories per request." 0 %}
133-
{% api_table_param custom_args "custom object" No "" "Values that are specific to the entire send that will be carried along with the email and its activity data. Substitutions will not be made on custom arguments, so any string that is entered into this parameter will be assumed to be the custom argument that you would like to be used. This parameter is overridden by any conflicting <code>personalizations[x].custom_args</code> if that parameter has been defined. If <code>personalizations[x].custom_args</code> has been defined but does not conflict with the values defined within this parameter, the two will be merged. The combined total size of these custom arguments may not exceed 10,000 bytes." 0 %}
133+
{% api_table_param custom_args "custom object" No "" "Values that are specific to the entire send that will be carried along with the email and its activity data. Substitutions will not be made on custom arguments, so any string that is entered into this parameter will be assumed to be the custom argument that you would like to be used. This parameter is overridden by any conflicting <code>personalizations[x].custom_args</code> if that parameter has been defined. If <code>personalizations[x].custom_args</code> has been defined but does not conflict with the values defined within this parameter, the 2 will be merged. The combined total size of these custom arguments may not exceed 10,000 bytes." 0 %}
134134
{% api_table_param send_at integer No "" "A unix timestamp allowing you to specify when you want your email to be sent from SendGrid. This is not necessary if you want the email to be sent at the time of your API request." 0 %}
135135
{% api_table_param batch_id string No "" "This ID represents a batch of emails (AKA multiple sends of the same email) to be associated to each other for scheduling. Including a <code>batch_id</code> in your request allows you to include this email in that batch, and also enables you to cancel or pause the delivery of that entire batch. For more information, please read about <a href="https://sendgrid.com/docs/API_Reference/Web_API_v3/cancel_schedule_send.html">Cancel Scheduled Sends</a>." 0 %}
136136
{% api_table_param asm "object" No "" "An object allowing you to specify how to handle unsubscribes." 0 %}

source/API_Reference/Web_API_v3/Transactional_Templates/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Templates may have multiple versions with different content, these may be change
2020

2121
**Sending Transactional Templates**
2222

23-
You can send transactional templates using one of three ways:
23+
You can send transactional templates using one of 3 ways:
2424

2525
* Using the [SMTP Relay]({{root_url}}/Integrate/index.html#-SMTP-Relay)
2626
* Including the template ID in the `templates` parameter of the [Web API v3 Mail Send endpoint]({{root_url}}/API_Reference/Web_API_v3/Mail/index.html)

source/API_Reference/Web_API_v3/blocks.apiblueprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ There are several causes for blocked emails: for example, your mail server IP ad
4141

4242
## Blocks Collection [/suppression/blocks]
4343

44-
There are two options for deleting blocked emails:
44+
There are 2 options for deleting blocked emails:
4545
</br>
4646
</br>
4747
1. You can delete all blocked emails by setting "delete_all" to true in the request body.

source/API_Reference/Web_API_v3/bounces.apiblueprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ FORMAT: 1A
4444

4545
## Bounces Collection [/suppression/bounces]
4646

47-
There are two bounce delete options:
47+
There are 2 bounce delete options:
4848
1) deleting all bounces by specifying "delete_all" to true in the request body, or
4949
2) deleting some bounces by specifying "emails" and an array of emails in the request body.
5050

source/API_Reference/Web_API_v3/invalid_emails.apiblueprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ FORMAT: 1A
4040

4141
## Invalid Emails Collection [/suppression/invalid_emails]
4242

43-
There are two options for deleting invalid email addresses:
43+
There are 2 options for deleting invalid email addresses:
4444
</br>
4545
</br>
4646
1) You can delete all invalid email addresses by setting "delete_all" to true in the request body.

0 commit comments

Comments
 (0)