Skip to content

Commit 03bf386

Browse files
committed
Get rid of options without breaking everything
1 parent 1b48420 commit 03bf386

File tree

6 files changed

+6
-11
lines changed

6 files changed

+6
-11
lines changed

Rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ compile '*' do
2929
# don’t filter binary items
3030
else
3131
filter :erb
32-
filter :kramdown, :toc_levels => [2], :enable_coderay => false
32+
filter :kramdown, :toc_levels => [2], :enable_coderay => false, :parse_block_html => true
3333
filter :colorize_syntax, :default_colorizer => :pygmentsrb, :linenos => 'inline'
3434
layout 'default'
3535
end

content/reference/authentication/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ It should go without saying, but for the sake of user privacy and security, plea
2525

2626
You authenticate to our API by use of an **access token**. There are two types of access tokens: _app_ tokens and _user_ tokens. **App tokens** (referred to as "client tokens" in the [OAuth 2.0 standard](http://tools.ietf.org/html/rfc6749)) represent access to API resources on behalf of the application and **user tokens** represent access to API resources on behalf of a specific user. Some resources are only accessible to app or user tokens.
2727

28-
{::options parse_block_html="true" /}
2928
<div class="alert alert-info alert-block">
30-
**Note:** Only Apps created by a developer account can request access tokens for other App.net users. If you do not have a developer account, then your app can only be used with your own account. If you ever downgrade your developer account, all current tokens for your app will still work but no new users will be able to authorize it.
29+
<p>Only Apps created by a developer account can request access tokens for other App.net users. If you do not have a developer account, then your app can only be used with your own account. If you ever downgrade your developer account, all current tokens for your app will still work but no new users will be able to authorize it.</p>
3130
</div>
3231

3332
## What kind of token do I need?

content/reference/make-request/migrations.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ title: "Migrations"
99

1010
We reserve the right to make incremental changes to the API as we deem necessary. In order to make it possible to change the API but still support legacy applications, we will make use of migrations. Migrations are a per-app feature that developers may toggle for their own apps from the time that the old behavior is deprecated until the time that it has reached the end of its life (EOL). Once the EOL date is reached, the migration will be enabled for all apps with no legacy mode available.
1111

12-
{::options parse_block_html="true" /}
13-
1412
## Accessing Migration Data
1513

1614
We offer a single toggle for each migration and app that will globally turn the migration on (current mode) or off (legacy mode) for that app as well as a per-call header mechanism that overrides the global behavior.

content/reference/make-request/responses.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ All responses to requests to the App.net API endpoints listed under [Resources](
1111

1212
*Please note: the [authentication endpoints](/reference/authentication) return a slightly different format that follows the OAuth2 specification.*
1313

14-
{::options parse_block_html="true" /}
15-
1614
## Response Envelope
1715

1816
The top-level response is an object containing two keys. The first key, `data`, corresponds to the actual response item requested. This may either be an object itself or a list of objects. The particular data returned is described in each endpoint's documentation. If the request is unsuccessful (results in an error), no `data` key will be present.

content/reference/resources/place/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,10 @@ Performs a search for nearest places from given latitude and longitude. Optional
162162

163163
Returns a list of Places sorted by distance or distance/string match if `q` is provided. These are the same Place objects as returned by the previous endpoint but will also include a `distance` property which gives, in meters, the distance from the search centroid to the Place.
164164

165-
{::options parse_block_html="true" /}
166165
<div class="alert alert-error alert-block">
167-
**When using this endpoint, it is a requirement that _all_ requests originate from user actions.** As an example, acceptable use cases include when a user presses a button to search for local Places or when a user types a character to specify part of a Place name. Unacceptable use cases include automated access (e.g. "bots", "scrapers"), periodic scans and attempts to create comprehensive local caches or copies of the Place data. **We will be monitoring search usage and will take necessary actions to terminate unacceptable use.**
166+
<p>When using this endpoint, it is a requirement that <em>all</em> requests originate from user actions. As an example, acceptable use cases include when a user presses a button to search for local Places or when a user types a character to specify part of a Place name. Unacceptable use cases include automated access (e.g. "bots", "scrapers"), periodic scans and attempts to create comprehensive local caches or copies of the Place data.</p>
167+
168+
<p>We will be monitoring search usage and will take necessary actions to terminate unacceptable use.</p>
168169
</div>
169170

170171
<%= endpoint "GET", "places/search", "User" %>

layouts/partials/object-tab.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
<li><a href="#endpoints" data-toggle="tab">Endpoints</a></li>
44
</ul>
55

6-
{::options parse_block_html="true" /}
7-
<div id="my-tab-content" class="tab-content"><div class="tab-pane active" id="object">
6+
<div id="my-tab-content" class="tab-content"><div class="tab-pane active" id="object">

0 commit comments

Comments
 (0)