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 README.md and readme.txt; new screenshots #415

Merged
merged 4 commits into from
Mar 26, 2018

Conversation

joshcanhelp
Copy link
Contributor

README.md (used here on GH):

  • Removed duplicate and out-of-date documentation in favor of what's on auth0.com/docs
  • Removed screenshots
  • Removed 3.5 note
  • Added more about contributing, including install instructions

readme.txt (used on WP.org plugin page):

  • Removed duplicate/out-of-date installation instructions, point to auth0.com/docs
  • Updated screenshots
  • Added an FAQ about support

Documentation for the plugin resides in mulitple places - auth0.com
docs, wp.org readme, GitHub readme - and this commit is part of an on-
going effort to consolidate and clarify. This commit removes the
installation instructions on wp.org, pointing to the docs site instead.
It also updates the screenshots and adds information about support to
the FAQs. This commit also clearly points the GitHub readme to docs
in a few cases and updates the dev instructions.
@joshcanhelp joshcanhelp added this to the v3-Next milestone Mar 23, 2018
@joshcanhelp joshcanhelp self-assigned this Mar 23, 2018
README.md Outdated
Authorization: Bearer ##jwt##
```
We're happy to review and approve new filters and actions that help you integrate even further in this plugin. Please
see the **Contributing** section below for more information.
Copy link
Contributor

Choose a reason for hiding this comment

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

extra whitespace before see

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably unwanted new line too.

README.md Outdated

Thank you in advance!
1. `mkdir wp-doc-root; cd wp-doc-root; mkdir wp;`
Copy link
Contributor

Choose a reason for hiding this comment

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

might want to put them all inside a code block to highlight the syntax

mkdir wp-doc-root; cd wp-doc-root; mkdir wp;
mkdir wp-content; mkdir wp-content/themes; mkdir wp-content/plugins;
git clone https://github.com/WordPress/WordPress.git wp; # takes a while
cp ./wp/wp-config-sample.php ./wp-config.php; # edit to add MySQL DB info and set "WP_DEBUG" to TRUE

# You can even have one comment per line to be more clear about what the command is doing

cp ./wp/index.php ./index.php; # replace "/wp-blog-header.php" with "/wp/wp-blog-header.php"
git clone https://github.com/joshcanhelp/auth0-wp-test.git ./wp-content/themes/auth0-wp-test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just had this as a list for order-of-ops but I like the block better

Copy link
Contributor

Choose a reason for hiding this comment

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

Also comments are ignored in the shell so copy pasting the whole block would work OOTB if you keep line comments.

README.md Outdated
## Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
If you find a bug or if you have a feature request, please report them in [Issues for this repo](https://github.com/auth0/wp-auth0/issues). Please do not report security vulnerabilities in a public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it looks better this way:

...report them in the issues tab

readme.txt Outdated
1. On the Settings of the Auth0 application change the Callback URL to be: `http:https://your-domain/index.php?auth0=1`. Using **TLS/SSL** is **recommended for production**.
1. Go back to WordPress `Settings` - `Auth0 Settings` edit the *Domain*, *Client ID* and *Client Secret* with the ones you copied from Auth0 Dashboard.
Please see the Auth0 Docs site for [complete installation and configuration instructions](https://auth0
.com/docs/cms/wordpress/installation).

== Screenshots ==
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this section for, if you have removed the embedded ones above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Standard section folks look for on the WP.org repo

@joshcanhelp joshcanhelp changed the base branch from master to dev March 24, 2018 14:51
README.md Outdated
@@ -66,7 +73,7 @@ $ stylus -w -o initial-setup.css initial-setup/main.styl

## Issue Reporting

If you find a bug or if you have a feature request, please report them in [Issues for this repo](https://github.com/auth0/wp-auth0/issues). Please do not report security vulnerabilities in a public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
If you find a bug or if you have a feature request, please report them in the [Issues tab](issues). Please do not report security vulnerabilities in a public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this link is going to work. Better put the full URL here.

README.md Outdated
@@ -34,18 +31,28 @@ We're happy to review and approve new filters and actions that help you integrat
with a feature add or bug fix are difficult to review and may be rejected
* Use the latest version of WordPress and turn `WP_DEBUG` on
* If other plugins are installed during testing that might affect behavior, please list those in the PR description
* Make sure to test against the lowest PHP version supported (see `Requires PHP:` [here](https://github.com/auth0/wp-auth0/blob/master/readme.txt#L5))
* Make sure to test against the lowest PHP version supported (see `Requires PHP:` [here](blob/master/readme.txt#L5))
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't work. Either full URL or relative from the root like this -> readme.txt. Note using "relative" won't work for different branches than the default one.

Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

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

Looks good. Let's test the links once merged just to be sure 👍

@joshcanhelp joshcanhelp merged commit 408f163 into dev Mar 26, 2018
@joshcanhelp joshcanhelp deleted the fixed-readme-for-install branch March 26, 2018 16:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants