docs

package
v0.0.0-...-75d0547 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package docs is a Go library for exposing the end-user documentation of Codeberg.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArticle

func GetArticle(name string) ([]byte, error)

GetArticle will return the article's content.

Types

type SidebarHeader

type SidebarHeader struct {
	Name  string
	Items []string
}

func GetSidebar

func GetSidebar() []SidebarHeader

GetSidebar returns a slice of SidebarHeader containing the header of an article list.

Jump to

Keyboard shortcuts

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