[wp-meta] [Making WordPress.org] #5421: Parser didn't update documentation
Making WordPress.org
noreply at wordpress.org
Fri Sep 25 23:37:57 UTC 2020
#5421: Parser didn't update documentation
----------------------------+---------------------
Reporter: sebastienserre | Owner: (none)
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Developer Hub | Resolution: fixed
Keywords: |
----------------------------+---------------------
Changes (by coffee2code):
* status: new => closed
* resolution: => fixed
Comment:
I went ahead and ran the documentation import process for WP 5.5.1 about
two weeks ago at this point.
I've been indisposed so hadn't done it earlier.
As for the steps to run it currently:
1. User with sandbox should obtain and unzip a copy of the WP release to
be parsed. Note: The version of WP actively running on the sandbox should
not be used.
{{{
> mkdir /home/wporg/public_html/wp-content/developer ;# if first time.
specific path isn't special
> cd /home/wporg/public_html/wp-content/developer
> wget https://wordpress.org/latest.zip
> unzip latest.zip
> mv wordpress wpX.Y.Z ;# optional (so the version is more explicit); use
actual version of course, though actual directory name is not special
}}}
2. Install/update PHP-Parser plugin. (This should be sandbox-only and not
committed.) Note: Do not activate the plugin, the importer will handle
things.
{{{
> wp plugin install https://github.com/WordPress/phpdoc-
parser/archive/master.zip --force --url=https://developer.wordpress.org
}}}
3. Run the importer. Path is to the WP directory from the end of step 1.
{{{
> wp devhub parse /home/wporg/public_html/wp-content/developer/wpX.Y.Z
--url=https://developer.wordpress.org
}}}
4. Sit back, it can take a little while. When it's done, you're done.
I could very much script that as part of the `devhub parse` CLI command
and basically reduce the whole thing down to the call from step 3.
I've recently made some minor tweaks so I'd probably want to do a parsing
from scratch to ensure I don't have any local customizations that I
haven't accounted for above before I could sign off on it. I'll see about
getting it all into one step at the same time.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5421#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list