\DocumentationHelper
Collection of static helper methods for managing the documentation
Synopsis
class DocumentationHelper
{
- // methods
- public static string clean_page_name()
- public static string clean_page_url()
- public static string trim_sort_number()
- public static string trim_extension_off()
- public static string get_extension()
- public static string normalizePath()
- public static string relativePath()
Methods
public
- clean_page_name() — String helper for cleaning a file name to a readable version.
- clean_page_url() — String helper for cleaning a file name to a URL safe version.
- get_extension() — Helper function to get the extension of the filename.
- normalizePath() — Helper function to normalize paths to unix style directory separators
- relativePath() — Helper function to make normalized paths relative
- trim_extension_off() — Helper function to strip the extension off and return the name without the extension.
- trim_sort_number() — Removes leading numbers from pages (used to control sort order).