Skip to content

Add redirects for subaccounts docs changes#124

Merged
richleland merged 3 commits into
developfrom
subaccounts-tweaks
Jun 21, 2016
Merged

Add redirects for subaccounts docs changes#124
richleland merged 3 commits into
developfrom
subaccounts-tweaks

Conversation

@richleland

Copy link
Copy Markdown
Contributor

This is to support the changes being made in https://github.com/SparkPost/sparkpost-api-documentation-DEV/pull/165

Comment thread js/redirect.js Outdated

// check if we are on the API page with an Apiary hash
if ((PATH === '/api/' || PATH === '/api/index.html') && (HASH.indexOf('introduction') >= 0 || HASH.indexOf('reference') >= 0)) {
if ((PATH === '/api/' || PATH === '/api/index' || PATH === '/api/index.html') && (HASH.indexOf('introduction') >= 0 || HASH.indexOf('reference') >= 0)) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Collapse the tests on line 17 and 21?

@ewandennis

Copy link
Copy Markdown
Contributor

Small code style comments

@richleland richleland merged commit ca3d453 into develop Jun 21, 2016
@richleland richleland deleted the subaccounts-tweaks branch June 21, 2016 18:38
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.

2 participants