Documentation ¶
Index ¶
- Constants
- func AddEditionURI(manif map[string]interface{}, version string, docsDirBase string, ...)
- func AppendExtraCSS(manif map[string]interface{}, cssFile string)
- func AppendExtraJs(manif map[string]interface{}, jsFile string)
- func GetDocsDir(manif map[string]interface{}, manifestFilePath string) string
- func Read(manifestFilePath string) (map[string]interface{}, error)
- func Write(manifestFilePath string, manif map[string]interface{}) error
Constants ¶
View Source
const ( // FileName file name of the mkdocs manifest file. FileName = "mkdocs.yml" // TempPrefixEnvName temp prefix for environment variable. TempPrefixEnvName = "ONOS_TEMP_" )
Variables ¶
This section is empty.
Functions ¶
func AddEditionURI ¶
AddEditionURI Adds an edition URI to the "edit_uri" in the manifest file.
func AppendExtraCSS ¶
AppendExtraCSS Appends a file path to the "extra_css" in the manifest file.
func AppendExtraJs ¶
AppendExtraJs Appends a file path to the "extra_javascript" in the manifest file.
func GetDocsDir ¶
GetDocsDir returns the path to the directory pointed by "docs_dir" in the manifest file. If docs_dir is not set, then the directory containing the manifest is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.