The YUIDoc documentation generator is an amazing tool, but its default theme leaves much to be desired. The themes in this repository are intended to offer both visual and usability improvements.
This repository currently contains one theme - "friendly-theme" - for use with YUIDoc.
- Clone this repository or download it as a ZIP file.
- Copy the "friendly-theme" directory to a convenient location. Feel free to delete all other files from the repository.
These instructions assume you have already installed YUIDoc. If you haven't, follow the instructions on the YUIDoc website before continuing.
-
Open the Terminal app.
-
Navigate to the directory that contains contains the code for which you want to generate documentation. For example...
cd ~/Projects/MyApp
-
Run the
yuidoc
command using the-t
option to point to the custom theme you downloaded. For example...yuidoc scripts -t ~/Desktop/friendly-theme
The command above uses "friendly-theme" located on your Desktop to generate API docs for all files found within the "scripts" subdirectory. By default, YUIDoc saves the generated documentation into a folder named "out".
For more detail on YUIDoc configuration see the command line options and JSON configuration file documentation on the YUIDoc website.
Help make this documentation better by contributing to this section and submitting a pull request!
If you encounter issues while using these themes please report them! Be sure to include the name of the theme in your description.