Skip to content

felixarntz/theme-boilerplate-devhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevHub for Super Awesome Theme (Boilerplate)

This repository contains some files to merge into my theme boilerplate in case it should support the WordPress PHPDoc parser plugin and display its generated contents beautifully like the WordPress code reference does itself. In fact, all the files in this repository are basically a port of the theme used on that site.

Why is this useful?

Using all these things will allow you to easily present documentation for your own plugin or theme, on a WordPress site of course.

Why should I be cautious?

Unlike my theme boilerplate, this is a private project at this point. Feel free to play around with it, but be cautious and don't expect miracles. Note that the parser plugin itself also has several issues that you may run into. For example it doesn't support traits and interfaces (this repository does though!).

How do I use it?

Download my theme boilerplate to get started with a new theme. Merge all files of this repository (except .editorconfig.php and README.md) in there. After that, add the following to the theme's functions.php:

/**
 * DevHub functionality.
 */
require get_template_directory() . '/inc/devhub.php';

Following that, proceed as described in the readme of the theme boilerplate.

Important: Merge the files from here in before you run the gulp init-replace command!

About

DevHub integration with WordPress PHPDoc Parser for my theme boilerplate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published