Skip to main content

Website.DevDocIndex

class Website.DevDocIndex

Before using this class, it is NOT necessary to load any content into DocBook. (in this case, input files will be in //learning/website/devdoc-raw/) This class generates static HTML index pages for devdoc.

Method Inventory

Methods

classmethod GenerateAll(verbose As %Boolean = 0)
classmethod GetH1ContentFromFile(filepath As %String) as %String
Attempt to extract and return the content of the h1 tag within the given file, if the file exists and contains an h1 tag. Return "" if h1 tag contents are not found.
classmethod GetHTML(sourcefile As %String, title As %String, product As %String = "") as %String
classmethod GetHeadInfo(title, product As %String = "") as DocAPI.v1.HeadInfo
FeedbackOpens in a new tab