misc

package
v1.21.5 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 18 Imported by: 64

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitignoreTemplateInfo added in v1.20.0

func GetGitignoreTemplateInfo(ctx *context.APIContext)

SHows information about a gitignore template

func GetLabelTemplate added in v1.20.0

func GetLabelTemplate(ctx *context.APIContext)

Shows all labels in a template

func GetLicenseTemplateInfo added in v1.20.0

func GetLicenseTemplateInfo(ctx *context.APIContext)

Returns information about a gitignore template

func ListGitignoresTemplates added in v1.20.0

func ListGitignoresTemplates(ctx *context.APIContext)

Shows a list of all Gitignore templates

func ListLabelTemplates added in v1.20.0

func ListLabelTemplates(ctx *context.APIContext)

Shows a list of all Label templates

func ListLicenseTemplates added in v1.20.0

func ListLicenseTemplates(ctx *context.APIContext)

Returns a list of all License templates

func Markdown

func Markdown(ctx *context.APIContext)

Markdown render markdown document to HTML

func MarkdownRaw

func MarkdownRaw(ctx *context.APIContext)

MarkdownRaw render raw markdown HTML

func Markup added in v1.20.0

func Markup(ctx *context.APIContext)

Markup render markup document to HTML

func NodeInfo added in v1.16.0

func NodeInfo(ctx *context.APIContext)

NodeInfo returns the NodeInfo for the Gitea instance to allow for federation

func SigningKey added in v1.11.0

func SigningKey(ctx *context.APIContext)

SigningKey returns the public key of the default signing key if it exists

func Version added in v1.1.0

func Version(ctx *context.APIContext)

Version shows the version of the Gitea server

Types

This section is empty.

Jump to

Keyboard shortcuts

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