Problem/Motivation

The AMP project recommends the following headings for AMP conversion projects:

- How to install AMP software/tool
- How to enable AMP
- How to disable AMP
- How UI format is modified upon AMP conversion

In addition, the AMP project prefers the term Structured Data rather than AMP Metadata.

The current README does not yet follow these guidelines.

Proposed resolution

Update the README file to follow these documentation guidelines.

Remaining tasks

- Provide updated README
- Allow for review of updated README

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

mdrummond created an issue. See original summary.

rainbowarray’s picture

An initial patch with updated README documentation. This also updates the README to better explain how to install AMP with a Composer-based Drupal project, as the Composer Manager method is now outdated.

karens’s picture

I haven't tried running through the steps yet but I have a few suggestions:

- Totally remove the comments about using Composer Manager, it's just confusing since that's no longer the right way to do things.
- The phrase "AMP tools" is confusing, it sounds like there is some other module called "AMP tools". The language people are most used to would be something like "AMP module and its dependencies".

Also looking at this fresh after a long period away from it, it's kind of overwhelming. Architectural details are in the summary, installation steps are buried in the middle. It might benefit from some re-organization. Maybe something like this:

1. A very very brief overview of the module
2. How to install the module and its dependencies
3. The bare minimum configuration steps
4. More information, architectural overview, additional configuration options and other details you might want to dig into once you have a minimum installation working.

I'm going to try a fresh install and will post my thoughts after that.

karens’s picture

One more thing. If you don't upload a logo for the sub theme the page won't work, as noted in https://www.drupal.org/node/2829783, so mentioning that step is critical.

I'll have a rewrite ready to post soon.

karens’s picture

StatusFileSize
new20.37 KB

Here is my suggested patch, which incorporates the changes I discussed above.

rainbowarray’s picture

StatusFileSize
new16.82 KB

Interdiff for #5 for reference.

rainbowarray’s picture

StatusFileSize
new22.93 KB
new14.81 KB

Additional updates based on feedback.

  • mdrummond committed 5e3770d on 8.x-1.x
    Issue #2850002 by mdrummond, KarenS: Update README with standard AMP...
rainbowarray’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Status: Active » Needs work

I merged the README updates for now. Further updates can be made moving forward. Next will be updating this for 7.x.

rainbowarray’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev

Some additional changes are necessary for the D8 README.

rainbowarray’s picture

StatusFileSize
new6.49 KB

Additional changes that need to be committed as per guidelines from the AMP project.

  • mdrummond committed 054e85a on 8.x-1.x
    Issue #2850002 by mdrummond, KarenS: Update README with standard AMP...
keshavv’s picture

StatusFileSize
new24.93 KB

Re-roll patch with drupal 8 documentation standard. Please review

keshavv’s picture

Status: Needs work » Needs review
karens’s picture

Status: Needs review » Needs work

I'd actually prefer to update the Drupal.org documentation instead and update the README to just point to it. It's going to be easier to keep documentation straight in a single location.

karens’s picture

Version: 8.x-1.x-dev » 8.x-3.x-dev
Status: Needs work » Fixed

Documentation has been pulled out of READ and moved to the D.O. documentation pages in 8.3. Earlier branches won't be getting updated.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.