Skip to content

Adding APO docs - #1293

Merged
dcpena merged 13 commits into
productionfrom
dpena/apo-docs
May 10, 2021
Merged

Adding APO docs#1293
dcpena merged 13 commits into
productionfrom
dpena/apo-docs

Conversation

@dcpena

@dcpena dcpena commented May 7, 2021

Copy link
Copy Markdown
Contributor

Adding Automatic Platform Optimization docs

Comment thread developers.cloudflare.com/static/robots.txt Outdated
@pedrosousa

Copy link
Copy Markdown
Contributor

I'd remove the .DS_Store file.

@pedrosousa
pedrosousa requested a review from a team May 7, 2021 16:28
Comment thread README.md Outdated
@@ -0,0 +1,65 @@
---
title: Activate the Cloudflare WordPress plugin

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

For SEO, may want to spell out the abbreviations in the file name, activate-cloudflare-wordpress-plugin.md.

search: {
indexName: "developers-cloudflare",
apiKey: "b23088ab4d346409f9d3ece6606344c3",
algoliaOptions: { 'facetFilters': '["project:automatic-platform-optimization"]'}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since you're initializing the search right away, expect about a 2 day delay in it actually working (Algolia has to merge a PR and then it takes about a day to scrape your site).

If that's an issue, you might want to leave the search object blank first, and then make a separate PR once they've merged the PR and had time to scrape your docs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the heads up on that! I don't think it should be an issue so I'll go ahead and leave this as is for now.

Comment thread products/automatic-platform-optimization/docs-config.js
---
title: About
order: 1
---

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since you're here, would you be able to add the pcx-content-type attribute?

Comment thread products/automatic-platform-optimization/src/content/index.md

To create the connection between WordPress and Cloudflare, you'll create an API token from your Cloudflare dashboard and add it to WordPress. To setup APO on a subdomain, see [Subdomains and subdirectories](/reference/subdomains-subdirectories).

## Create the API token from Cloudflare

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should these be h3's?


</Aside>

## Add your API token to WordPress

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should these be h3's?

dcpena and others added 3 commits May 10, 2021 09:38
Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
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.

3 participants