Skip to content

Commit

Permalink
Merge pull request #187 from myzeprog/184-seo-section-links
Browse files Browse the repository at this point in the history
Making README/Doc sections more SEO friendly
  • Loading branch information
Matt Bernier authored Oct 21, 2017
2 parents e9dd475 + b8d41e2 commit cbb0daa
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
26 changes: 13 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Hello! Thank you for choosing to help contribute to one of the SendGrid open sou

- [CLAs and CCLAs](#cla)
- [Roadmap & Milestones](#roadmap)
- [Feature Request](#feature_request)
- [Submit a Bug Report](#submit_a_bug_report)
- [Improvements to the Codebase](#improvements_to_the_codebase)
- [Understanding the Code Base](#understanding_the_codebase)
- [Feature Request](#feature-request)
- [Submit a Bug Report](#submit-a-bug-report)
- [Improvements to the Codebase](#improvements-to-the-codebase)
- [Understanding the Code Base](#understanding-the-codebase)
- [Testing](#testing)
- [Style Guidelines & Naming Conventions](#style_guidelines_and_naming_conventions)
- [Creating a Pull Request](#creating_a_pull_request)
- [Style Guidelines & Naming Conventions](#style-guidelines-and-naming-conventions)
- [Creating a Pull Request](#creating-a-pull-request)

<a name="roadmap"></a>
We use [Milestones](https://github.com/sendgrid/sendgrid-go/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community review, comments, suggestions and additional PRs are welcomed and encouraged.
Expand All @@ -26,7 +26,7 @@ When you create a Pull Request, after a few seconds, a comment will appear with

There are a few ways to contribute, which we'll enumerate below:

<a name="feature_request"></a>
<a name="feature-request"></a>
## Feature Request

If you'd like to make a feature request, please read this section.
Expand All @@ -36,7 +36,7 @@ The GitHub issue tracker is the preferred channel for library feature requests,
- Please **search for existing issues** in order to ensure we don't have duplicate bugs/feature requests.
- Please be respectful and considerate of others when commenting on issues

<a name="submit_a_bug_report"></a>
<a name="submit-a-bug-report"></a>
## Submit a Bug Report

Note: DO NOT include your credentials in ANY code examples, descriptions, or media you make public.
Expand All @@ -53,7 +53,7 @@ Before you decide to create a new issue, please try the following:

In order to make the process easier, we've included a [sample bug report template](https://github.com/sendgrid/sendgrid-go/.github/ISSUE_TEMPLATE) (borrowed from [Ghost](https://github.com/TryGhost/Ghost/)). The template uses [GitHub flavored markdown](https://help.github.com/articles/github-flavored-markdown/) for formatting.

<a name="improvements_to_the_codebase"></a>
<a name="improvements-to-the-codebase"></a>
## Improvements to the Codebase

We welcome direct contributions to the sendgrid-go code base. Thank you!
Expand Down Expand Up @@ -96,7 +96,7 @@ source ./sendgrid.env
go run <Desired File>
```

<a name="understanding_the_codebase"></a>
<a name="understanding-the-codebase"></a>
## Understanding the Code Base

**/examples**
Expand All @@ -122,7 +122,7 @@ To run the tests:
go test -v ./...
```

<a name="style_guidelines_and_naming_conventions"></a>
<a name="style-guidelines-and-naming-conventions"></a>
## Style Guidelines & Naming Conventions

Generally, we follow the style guidelines as suggested by the official language. However, we ask that you conform to the styles that already exist in the library. If you wish to deviate, please explain your reasoning.
Expand All @@ -133,8 +133,8 @@ Please run your code through:

- [fmt](https://blog.golang.org/go-fmt-your-code)


## Creating a Pull Request<a name="creating_a_pull_request"></a>
<a name="creating-a-pull-request"></a>
## Creating a Pull Request

1. [Fork](https://help.github.com/fork-a-repo/) the project, clone your fork,
and configure the remotes:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ We appreciate your continued support, thank you!
# Table of Contents

* [Installation](#installation)
* [Quick Start](#quick_start)
* [Quick Start](#quick-start)
* [Processing Inbound Email](#inbound)
* [Usage](#usage)
* [Use Cases](#use_cases)
* [Use Cases](#use-cases)
* [Announcements](#announcements)
* [Roadmap](#roadmap)
* [How to Contribute](#contribute)
Expand Down Expand Up @@ -58,7 +58,7 @@ source ./sendgrid.env

- [rest](https://github.com/sendgrid/rest)

<a name="quick_start"></a>
<a name="quick-start"></a>
# Quick Start

## Hello Email
Expand Down Expand Up @@ -191,7 +191,7 @@ Please see [our helper](https://github.com/sendgrid/sendgrid-go/tree/master/help
- [How-to: Migration from v2 to v3](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html)
- [v3 Web API Mail Send Helper](https://github.com/sendgrid/sendgrid-go/tree/master/helpers/mail/README.md)

<a name="use_cases"></a>
<a name="use-cases"></a>
# Use Cases

[Examples of common API use cases](https://github.com/sendgrid/sendgrid-go/blob/master/USE_CASES.md), such as how to send an email with a transactional template.
Expand All @@ -215,10 +215,10 @@ We encourage contribution to our libraries (you might even score some nifty swag

Quick links:

- [Feature Request](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#feature_request)
- [Bug Reports](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#submit_a_bug_report)
- [Feature Request](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#feature-request)
- [Bug Reports](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#submit-a-bug-report)
- [Sign the CLA to Create a Pull Request](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#cla)
- [Improvements to the Codebase](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#improvements_to_the_codebase)
- [Improvements to the Codebase](https://github.com/sendgrid/sendgrid-go/tree/master/CONTRIBUTING.md#improvements-to-the-codebase)

<a name="troubleshooting"></a>
# Troubleshooting
Expand Down
24 changes: 12 additions & 12 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ host := "https://api.sendgrid.com"

# Table of Contents

* [ACCESS SETTINGS](#access_settings)
* [ACCESS SETTINGS](#access-settings)
* [ALERTS](#alerts)
* [API KEYS](#api_keys)
* [API KEYS](#api-keys)
* [ASM](#asm)
* [BROWSERS](#browsers)
* [CAMPAIGNS](#campaigns)
Expand All @@ -31,21 +31,21 @@ host := "https://api.sendgrid.com"
* [GEO](#geo)
* [IPS](#ips)
* [MAIL](#mail)
* [MAIL SETTINGS](#mail_settings)
* [MAILBOX PROVIDERS](#mailbox_providers)
* [PARTNER SETTINGS](#partner_settings)
* [MAIL SETTINGS](#mail-settings)
* [MAILBOX PROVIDERS](#mailbox-providers)
* [PARTNER SETTINGS](#partner-settings)
* [SCOPES](#scopes)
* [SENDERS](#senders)
* [STATS](#stats)
* [SUBUSERS](#subusers)
* [SUPPRESSION](#suppression)
* [TEMPLATES](#templates)
* [TRACKING SETTINGS](#tracking_settings)
* [TRACKING SETTINGS](#tracking-settings)
* [USER](#user)
* [WHITELABEL](#whitelabel)


<a name="access_settings"></a>
<a name="access-settings"></a>
# ACCESS SETTINGS

## Retrieve all recent access attempts
Expand Down Expand Up @@ -353,7 +353,7 @@ if err != nil {
}
```

<a name="api_keys"></a>
<a name="api-keys"></a>
# API KEYS

## Create API keys
Expand Down Expand Up @@ -2875,7 +2875,7 @@ if err != nil {
}
```

<a name="mail_settings"></a>
<a name="mail-settings"></a>
# MAIL SETTINGS

## Retrieve all mail settings
Expand Down Expand Up @@ -3362,7 +3362,7 @@ if err != nil {
}
```

<a name="mailbox_providers"></a>
<a name="mailbox-providers"></a>
# MAILBOX PROVIDERS

## Retrieve email statistics by mailbox provider.
Expand Down Expand Up @@ -3396,7 +3396,7 @@ if err != nil {
}
```

<a name="partner_settings"></a>
<a name="partner-settings"></a>
# PARTNER SETTINGS

## Returns a list of all partner settings.
Expand Down Expand Up @@ -4855,7 +4855,7 @@ if err != nil {
}
```

<a name="tracking_settings"></a>
<a name="tracking-settings"></a>
# TRACKING SETTINGS

## Retrieve Tracking Settings
Expand Down
12 changes: 6 additions & 6 deletions USE_CASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ This documentation provides examples for specific use cases. Please [open an iss

# Table of Contents

* [Transactional Templates](#transactional_templates)
* [Transactional Templates](#transactional-templates)
* [CustomArgs](#customargs)
* [Personalizations](#personalizations)
* [Substitutions](#substitutions)
* [Sections](#sections)
* [Attachments](#attachments)
* [How to View Email Statistics](#email_stats)
* [How to Setup a Domain Whitelabel](#whitelabel_domain)
* [How to View Email Statistics](#email-stats)
* [How to Setup a Domain Whitelabel](#whitelabel-domain)

<a name="transactional_templates"></a>
<a name="transactional-templates"></a>
# Transactional Templates

For this example, we assume you have created a [transactional template](https://sendgrid.com/docs/User_Guide/Transactional_Templates/index.html). Following is the template content we used for testing.
Expand Down Expand Up @@ -1344,7 +1344,7 @@ func main() {
}
```

<a name="email_stats"></a>
<a name="email-stats"></a>
### How to View Email Statistics
You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics).
To view Email Statistics via the API:
Expand Down Expand Up @@ -1382,7 +1382,7 @@ func main() {
}
```

<a name="whitelabel_domain"></a>
<a name="whitelabel-domain"></a>
### How to Setup a Domain Whitelabel
You can find documentation for how to setup a domain whitelabel via the UI [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/setup_domain_whitelabel.html).
Find more information about all of SendGrid's whitelabeling related documentation [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/index.html).
Expand Down

0 comments on commit cbb0daa

Please sign in to comment.