func NewSection(name string, definition *spec.Schema, group *kubernetes.APIGroup, version *kubernetes.APIVersion) *Section {
	return &Section{
		Name:       name,
		Group:      group,
		Version:    version,
		Definition: *definition,
	}
}
NewSection returns a Section
package config
import (
	"fmt"
	"io"
	"io/ioutil"
	"os"
	"sort"
	"github.com/feloy/kubernetes-api-reference/pkg/kubernetes"
	"github.com/feloy/kubernetes-api-reference/pkg/outputs/docbook"
	"github.com/feloy/kubernetes-api-reference/pkg/outputs/hugo"
	"github.com/feloy/kubernetes-api-reference/pkg/outputs/kwebsite"
	"github.com/go-openapi/spec"
	"gopkg.in/yaml.v2"
)
type TOC struct {
	Parts                 []*Part              `yaml:"parts"`
	SkippedResources      []kubernetes.APIKind `yaml:"skippedResources"`
	Definitions           *spec.Definitions
	LinkEnds              kubernetes.LinkEnds
	DocumentedDefinitions map[kubernetes.Key][]string
	Actions               kubernetes.Actions
	Categories            Categories
}
type Part struct {
	Name     string     `yaml:"name"`
	Chapters []*Chapter `yaml:"chapters"`
}
type Section struct {
	Name       string
	Group      *kubernetes.APIGroup
	Version    *kubernetes.APIVersion
	Definition spec.Schema
	Key        *kubernetes.Key
}