Documentation ¶
Overview ¶
Package doc handles documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SlugFromOldID ¶
SlugFromOldID gets a doc file's slug from its old ID
Types ¶
type Document ¶
Document represents a documentation file, providing its old ID, its slug, and all its variations in the various languages.
type File ¶
File represents the single documentation file of a determined language.
type LanguageDoc ¶
LanguageDoc has the only purpose to be returned by GetDocs.
func GetDocs ¶
func GetDocs(lang string) []LanguageDoc
GetDocs retrieves a list of documents in a certain language, with titles and slugs.
Click to show internal directories.
Click to hide internal directories.