mdoc

package module
v0.0.0-...-75dd9a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2025 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

mdoc

A dead simple document server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableLog

func EnableLog()

func GetConfig

func GetConfig() *model.Config

func InitWithFile

func InitWithFile(customConfigFile string) (err error)

InitWithFile initializes configuration from conf assets and given custom configuration file. If `customConf` is empty, it falls back to default location, i.e. "<WORK DIR>/custom".

func Serve

func Serve(cfg *model.Config) error

Types

This section is empty.

Directories

Path Synopsis
internal
doc
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址