Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed some heading errors #27464

Merged
merged 2 commits into from Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/amp-accordion/amp-accordion.md
Expand Up @@ -28,7 +28,7 @@ limitations under the License.

Provides a way for viewers to glance at the content outline and jump to any section. This is helpful for mobile devices where even a couple of sentences into a section requires scrolling.

## Behavior
## Usage

The `amp-accordion` component allows you to display collapsible and expandable content sections. This component provides a way for viewers to glance at the content outline and jump to any section. Effective use reduces scrolling needs on mobile devices.

Expand Down
14 changes: 3 additions & 11 deletions extensions/amp-next-page/amp-next-page.md
Expand Up @@ -24,25 +24,17 @@ limitations under the License.

# amp-next-page

## Behavior

Given a list of pages, `amp-next-page` tries to load them after the current
document, providing an infinite-scroll type experience.
## Usage

Pages should be specified in a JSON config loaded from a remote URL listed in
the element `src`, or inlined as a `script` element child.
The `<amp-next-page>` component loads content pages one after another creating an infinite scroll experience.

## Version notes
### Version notes
CrystalOnScript marked this conversation as resolved.
Show resolved Hide resolved

| Version | Description |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1.0 | Support for an infinite number of page recommendations, reduced bundle size, improved API, support for amp-analytics, templated separators and recommendation box, better handling of fixed elements.<br><br>API changes are breaking, please take a look at the [migration section](https://amp.dev/documentation/components/amp-next-page/#migrating-from-0.1) for details. |
| 0.1 | Initial experimental implementation. Limited to three recommended documents |

## Usage

The `<amp-next-page>` component loads content pages one after another creating an infinite scroll experience.

### Configure and load pages

Specify pages in a JSON configuration. Load the JSON configuration from a remote URL with the `src` attribute, or inline it within a `<script>` child element of `<amp-next-page>`. You may specify both a remote URL and inline a JSON object for a quicker suggestion loading speed.
Expand Down