[buddypress-trac] [BuddyPress Trac] #9193: New BuddyPress Standalone theme for buddypress.org
buddypress-trac
noreply at wordpress.org
Tue Nov 12 15:45:48 UTC 2024
#9193: New BuddyPress Standalone theme for buddypress.org
----------------------------------+----------------------------------
Reporter: espellcaste | Owner: espellcaste
Type: task | Status: assigned
Priority: high | Milestone: Under Consideration
Component: BuddyPress.org Sites | Version:
Severity: normal | Resolution:
Keywords: early |
----------------------------------+----------------------------------
Comment (by SirLouen):
Update:
I've been researching for the documentation part, (aka
developer.b*press.org)
Considering that the BuddyPress team has already started moving into
GitHub/MD files, I think this can be seriously advantageous.
Talking with Javier Casares from the WordPress Administration/Hosting Team
(who is also in charge of the Advanced Administration Handbook docs team),
he showed me a tool that I have adapted a little bit to run over Docker
locally for testing purposes:
https://github.com/SirLouen/wphandbook
I have put in the README all the installation instructions, pretty
straightforward.
Basically, with this tool, it's as easy as:
1. Create a specific CPT for docs (say `codex`)
2. Create the template file within the theme planned to be built here for
such CPT (say `codex.php`)
3. Say that the index for the CPT is `buddypress.org/codex/`,
`dev.buddypress.org` can be redirected to that page
4. Then we set up the tool to run towards an exclusive Documentation
repository, say `https://github.com/b*press/Codex`
5. And set a cronjob to run nightly updates with this tool over the
repository (we might need to speak with the systems people @ WP to see how
this can be executed, or we will need to set it up as a plugin with some
sort of `wp-cron` procedure, otherwise).
The codex.php template could look something like this:
https://developer.wordpress.org/advanced-administration/
Very clean and simple template: Menu in the left, in the right the TOC (we
can use `wp.org-table-of-contents` plugin is the one being used there),
and the content which is being loaded with this tool.
And we will have sorted the Docs/Codex part, and will be WAY simpler for
the Docs team in both BuddyPress and bbPress to work from now on (+
BuddyPress team can remove the docs' folder within the project). I find it
a simple and neat solution.
I will be tomorrow 13th Nov @ 18H CET in the #buddypress channel for the
Docs in case there are any comments regarding this specific part.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9193#comment:20>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list