Documentation ¶
Index ¶
- Constants
- Variables
- func DocName(media MediaType, id DocId, lg lang.Lang, opts ...NameOpt) string
- func GeneratedPath(l lang.Lang, name string) string
- func SupplementalDocPath(l lang.Lang, name string) string
- func WebDocPath(refPath bool, cat WebCategory, name string, lg lang.Lang) string
- type DocId
- type MediaType
- type NameOpt
- type NameOpts
- type WebCategory
Constants ¶
View Source
const (
GeneratedDocPath = "docs/generated"
)
View Source
const (
WebDocPathRoot = "docs/"
)
Variables ¶
View Source
var ( RootDocs = []DocId{ DocRootReadme, DocRootLicense, DocRootBuild, DocRootContributing, DocRootCodeOfConduct, DocRootSecurityAndPrivacy, } GeneratedDocs = []DocId{ DocManualChanges, DocManualCommand, DocSupplementalPathVariables, DocSupplementalExperimentalFeature, DocSupplementalTroubleshooting, DocSupplementalDropboxBusiness, } WebDocs = []DocId{ DocRootBuild, DocRootContributing, DocRootCodeOfConduct, DocRootSecurityAndPrivacy, DocWebHome, DocWebLicense, DocManualCommand, DocSupplementalPathVariables, DocSupplementalExperimentalFeature, DocSupplementalTroubleshooting, DocSupplementalDropboxBusiness, } AllMedia = []MediaType{ MediaRepository, MediaWeb, } )
Functions ¶
func WebDocPath ¶
Types ¶
type DocId ¶
type DocId int
const ( DocRootReadme DocId = iota DocRootLicense DocRootBuild DocRootContributing DocRootCodeOfConduct DocRootSecurityAndPrivacy DocWebHome DocWebLicense DocWebCommandTableOfContent // Changes from the previous release DocManualChanges // Individual manual for each commands DocManualCommand // Supplemental DocSupplementalPathVariables DocSupplementalExperimentalFeature DocSupplementalTroubleshooting DocSupplementalDropboxBusiness )
type NameOpt ¶
func CommandName ¶
type WebCategory ¶
type WebCategory int
const ( WebCategoryHome WebCategory = iota WebCategoryCommand WebCategoryGuide )
Click to show internal directories.
Click to hide internal directories.