Docs-focused Bug Scrub Friday

We’ll have a docs-focused bug scrub Friday, Oct. 7 2016 14:00 CDT in the #docs SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. channel, for anyone interested in contributing. We’ll focus on the needs-docs keyword first, then on the docs focus if there’s time.

#4-7, #inline-docs

No Inline Docs Chat Today

Due to a scheduling conflict, today’s Inline Docs chat has been cancelled.

See everyone next week!

#inline-docs

Inline Docs Chat Agenda, Dec. 3

Here is the loose agenda for today’s inline docs chat in the #docs channel on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. at 20:00 UTC

  1. Private/internal functionality
    We need to come up with a plan and frame of reference for how private/internal functionality should be treated in terms of what’s parsed and what’s not.
  2. Guidelines for `see` tags
    In some coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. DocBlocks, multiple functions are listed. Is that allowed/supported? Do we have adequate coverage for inline `see` tags?
  3. JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. Docs Standard
    Outstanding discussion topics:
    • List of text editors/IDEs with bundles/extensions for auto-creating JSDoc blocks (@ericlewis) (Sublime w/DocBlockr)
    • List of `@` tags we don’t use in core (Kim to write explanations why)
    • Consistency with the PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/preface.php. Doc Standard (sections/format)

#inline-docs

No inline-docs chat this week

Due to the Thanksgiving holiday this week, there will be no inline-docs chat this week. We have some items for an agenda and I’ll post that a day or before our regularly-schedule chat next week.

#chat, #inline-docs

Inline Docs chat this week

I’ll be hosting an inline docs chat this week Wednesday 19:00 UTC in #wordpress-sfd.

Meeting Agenda:

  • Discuss adopting a documentation standard for coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/.
  • Report on progress of aliasing dynamic hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. in core and the Code Reference

If you have anything you’d like to add to the agenda, leave a suggestion in the comments.

#inline-docs

Agenda for today's Inline Docs chat

It’s been awhile since we’ve had an inline docs chat, and there are several items on the agenda for today’s meeting at 19:00 UTC (3:00 pm EDT) in IRC in #wordpress-sfd:

  • 4.0 Audit – #28885
  • Access tags for all the methods
  • Hook aliases + PHPDoc tags
  • PHPDoc tags for unit tests – #28558

If you’d like to suggest any additional items for the agenda, leave them in the comments below. Thanks!

#core, #inline-docs

Documenting all the dynamic hook aliases

A couple of weeks ago at Open SourceOpen Source Open Source denotes software for which the original source code is made freely available and may be redistributed and modified. Open Source **must be** delivered via a licensing model, see GPL. Bridge, I started a conversation with @jorbin about an idea to document common aliases of dynamic hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. in coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. docs. A long-standing pain point in core, and now in the Code Reference, is that dynamic hooks aren’t really searchable.

For example, let’s say I want to search for the ‘publish_post’ hook. If I search the source, I see add_action() calls referencing that hook, but its origin is nowhere to be found. This is because the hook is actually {$new_status}_{$post->post_type}.

The idea would be to make it possible to search the source and the Code Reference for indexed common aliases like ‘publish_post’ and have it return the reference for {$new_status}_{$post->post_type}.

Great, so what’s next?

We’ve already started a spreadsheet at the WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Seattle contributor dayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/. to begin identifying common aliases of all of the dynamic hooks in core. Big thanks goes to @trepmal for providing a complete list of all dynamic hooks from her presentation slides.

If you’d like to get in on the ground floor and help out, the spreadsheet can be found here: https://docs.google.com/spreadsheets/d/1QfHEPhI9j_Dts5XAxC_kX-LvdE0fxyHlnRFomOTFzQk/edit#gid=0

Over the next few weeks, I’ll be working with @rarst to devise a solution for parsing hook aliases using WP-Parser. When we have a solution in place, we start planning the effort to begin patching hook docs in core.

We’ll be tracking progress on #557-meta on MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. TracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/..

Yay progress!

#core, #inline-docs

No inline docs chat this week

We won’t be having an inline docs chat this week since @kpdesign will be unavailable, and I’ll be at a company retreat in Arizona until Friday.

If anyone has suggested agenda items for the May 21 meeting, please leave them in the comments.

#chat, #inline-docs

Inline Docs Weekly Office Hours Time Change

Quick note to let everyone know that the Inline Docs weekly office hours time is changing.

Due to a schedule conflict, we’ll be meeting an hour later, starting this week. Same day (Wednesday), now at 20:00 UTC in #wordpress-sfd.

If you’re interested in contributing to Inline Docs, come join us!

#inline-docs

Hook Docs sprint today

For anyone interested in helping out, @kpdesign and I are doing a Hook Docs sprint today starting at 19:00 UTC in #wordpress-sfd. Any tickets marked “needs patch” can be worked on, and the number of hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. to document is now marked in the title of each ticket.

This would be a great opportunity to get coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. credit in the soon-to-start 3.9 cycle.

To see a full list of Hook Docs tickets to work on, see here: https://core.trac.wordpress.org/query?status=accepted&status=assigned&status=new&status=reopened&status=reviewing&keywords=~needs-patch&component=Inline+Docs&summary=~Hook&col=id&col=summary&col=status&col=type&col=milestone&col=reporter&col=keywords&order=priority

#inline-docs, #sprint