Skip to content

LLM Resources

@dovenv/theme-pigeonposse - API documentation โ€‹

Classes โ€‹

Predocs โ€‹

Accessors โ€‹

partial โ€‹
Get Signature โ€‹
ts
get partial(): {
  creation: string;
  creationGroup: string;
  footer: string;
  installation: string;
  installationGroup: string;
}

Object containing partials

Returns โ€‹
ts
{
  creation: string;
  creationGroup: string;
  footer: string;
  installation: string;
  installationGroup: string;
}
  • Object containing partials strings
NameTypeDescription
creationstringReturns the creation instructions for the library. required const: libPkg.
creationGroupstringReturns the creation instructions for the library. required const: libPkg.
footerstringReturns the footer for the documentation. required const: pkg, socialBadges, mark, contributors.
installationstringReturns the installation instructions for the library. required const: libPkg.
installationGroupstringReturns the installation instructions for the library. required const: libPkg.
projectName โ€‹
Get Signature โ€‹
ts
get projectName(): string
Returns โ€‹

string

template โ€‹
Get Signature โ€‹
ts
get template(): {
  docsContributors: string;
  docsIndex: string;
  docsIndexWithCreate: string;
  readmePkg: string;
}

Object containing templates

Returns โ€‹
ts
{
  docsContributors: string;
  docsIndex: string;
  docsIndexWithCreate: string;
  readmePkg: string;
}
  • Object containing templates strings
NameTypeDescription
docsContributorsstringReturns a contributors index template for a dovenv docs page. required const: templateMark.
docsIndexstringReturns a index template for a dovenv docs page. required const: templateMark, docsIndex. required partial: installationGroup.
docsIndexWithCreatestringReturns a index template for a dovenv docs page with project creation instructions. required const: templateMark, docsIndex. required partial: installationGroup.
readmePkgstringReturns the readme template for a package. required const: title, pkg, socialBadges, pkgBadges, toc, banner. required partial: installation, toc, content.

Constructors โ€‹

new Predocs() โ€‹
ts
new Predocs(__namedParameters: {
  opts: PredocsConfig;
  utils: CommandSuper;
 }): Predocs
Parameters โ€‹
ParameterType
__namedParametersobject
__namedParameters.opts?PredocsConfig
__namedParameters.utilsCommandSuper
Returns โ€‹

Predocs

Methods โ€‹

getMarkdownInfo() โ€‹
ts
getMarkdownInfo(): Promise<MarkdownInfo>

Retrieves and constructs the Markdown information for the packages.

  • If the Markdown information is already available, it returns the cached result.
  • Otherwise, it fetches the public package data and groups them by type.
  • For each group, it constructs a structured Markdown content that includes titles, descriptions, and links for each package.
Returns โ€‹

Promise<MarkdownInfo>

A promise that resolves to an object containing the Markdown content for each package type.

getWorkspacePublicPackagesData() โ€‹
ts
getWorkspacePublicPackagesData(): Promise<PkgData>

Returns the public packages data for the workspace.

Returns โ€‹

Promise<PkgData>

An array of public package data objects.

run() โ€‹
ts
run(opts?: RunOpts): Promise<void>

Create package docs simultaneously.

Parameters โ€‹
ParameterTypeDescription
opts?RunOptsOptional options.
Returns โ€‹

Promise<void>

  • Resolves when all docs are created.
setContributorsFile() โ€‹
ts
setContributorsFile(opts?: ContributorsFileOpts): Promise<void>

Generates and writes a contributors file using the specified template.

Parameters โ€‹
ParameterTypeDescription
opts?ContributorsFileOptsOptional configuration for generating the contributors file. Can include additional properties to pass to the template.
Returns โ€‹

Promise<void>

setGuideIndexFile() โ€‹
ts
setGuideIndexFile(opts?: GuideIndexFileOpts): Promise<void>

Sets the guide index file in the documentation directory.

This method checks if a workspace index file exists within the core directory. If it exists, it uses the templates to generate the guide index file and writes it to the documentation guide directory. If the file does not exist, an info message is logged.

Parameters โ€‹
ParameterTypeDescription
opts?GuideIndexFileOptsOptional configuration for template properties.
Returns โ€‹

Promise<void>

setGuideSectionIndexFile() โ€‹
ts
setGuideSectionIndexFile(opts?: {
  none: string[] | PkgType[];
}): Promise<void>

Writes the guide section index files.

Parameters โ€‹
ParameterTypeDescription
opts?objectThe options object.
opts.none?string[] | PkgType[]-
Returns โ€‹

Promise<void>

An empty fulfilled promise.

setIndexFile() โ€‹
ts
setIndexFile(opts?: {
  content: string;
  creationTemplate: boolean;
  custom: Record<string, unknown>;
  noAction: boolean;
  noFeatures: boolean;
}): Promise<void>

Writes the index file to the documentation root directory.

This file is the entry point for users to access the documentation. It is a generated file that is rewritten every time the documentation is built.

Parameters โ€‹
ParameterTypeDescription
opts?objectThe options object.
opts.content?stringAdd content after frontmatter
opts.creationTemplate?booleanChange template to creation template
opts.custom?Record<string, unknown>Add custom content to index doc page. See https://vitepress.dev/reference/default-theme-home-page
opts.noAction?booleanRemove default action
opts.noFeatures?booleanRemove default features
Returns โ€‹

Promise<void>

An empty fulfilled promise.

setPackageApiFile() โ€‹
ts
setPackageApiFile(config: PackageFileConfig, opts?: false | {
  props: {
     input: string | string[];
     opts: {
        hooks: {
           after: () => ... | ...;
           before: () => ... | ...;
          };
        name: string;
        packageJsonPath: string;
        transform: (content: string) => Promise<string>;
        tsconfigPath: string;
        typedoc: Partial<Omit<TypeDocOptions, "plugin" | "tsconfig" | "entryPoints" | "out">>;
        typedocMarkdown: Partial<PluginOptions>;
       };
     output: string;
    };
}): Promise<void>

Generates and writes the API documentation file for a package.

Parameters โ€‹
ParameterTypeDescription
configPackageFileConfigConfiguration object containing public package data and markdown info.
opts?false | { props: { input: string | string[]; opts: { hooks: { after: () => ... | ...; before: () => ... | ...; }; name: string; packageJsonPath: string; transform: (content: string) => Promise<string>; tsconfigPath: string; typedoc: Partial<Omit<TypeDocOptions, "plugin" | "tsconfig" | "entryPoints" | "out">>; typedocMarkdown: Partial<PluginOptions>; }; output: string; }; }Optional configuration properties for the API file generation. If set to false, the function exits without processing.
Returns โ€‹

Promise<void>

Throws โ€‹

Throws an error if the API documentation generation fails.

setPackageExamplesFile() โ€‹
ts
setPackageExamplesFile(config: PackageFileConfig, opts?: false | {
  props: Config;
}): Promise<void>

Generates a file with examples.

Parameters โ€‹
ParameterTypeDescription
configPackageFileConfigThe public package configuration.
opts?false | { props: Config; }The options to pass to the examples plugin.
Returns โ€‹

Promise<void>

Example โ€‹
ts
const predocs = new Predocs()
const publicPkgs = await predocs.getWorkspacePublicPackageData( )
const info = await predocs.getMarkdownInfo()
for ( const publicPkg of publicPkgs ) {
  await predocs.setPackageExamplesFile( { publicPkg, info } )
}
setPackageFiles() โ€‹
ts
setPackageFiles(opts?: PackageFileOpts): Promise<void>

Set the files for each package in the workspace.

Parameters โ€‹
ParameterTypeDescription
opts?PackageFileOptsOptions.
Returns โ€‹

Promise<void>

setPackageIndexFile() โ€‹
ts
setPackageIndexFile(config: PackageFileConfig, opts?: false | {
  props: Config;
}): Promise<void>

Sets the index file for the package in the documentation directory.

Parameters โ€‹
ParameterTypeDescription
configPackageFileConfigConfiguration for the package file.
opts?false | { props: Config; }Optional configuration for the package file.
Returns โ€‹

Promise<void>

Example โ€‹
ts
const predocs = new Predocs()
const publicPkgs = await predocs.getWorkspacePublicPackageData( )
const info = await predocs.getMarkdownInfo()

for ( const publicPkg of publicPkgs ) {
  await predocs.setPackageIndexFile( { publicPkg, info } )
}
setPackageJSONFile() โ€‹
ts
setPackageJSONFile(config: PackageFileConfig, opts?: false | {
  props: {
     devEngines: {
        cpu: undefined | {
           name: string;
           onFail: "warn" | "error" | "ignore";
           version: string;
          };
        libc: undefined | {
           name: string;
           onFail: "warn" | "error" | "ignore";
           version: string;
          };
        os: undefined | {
           name: string;
           onFail: "warn" | "error" | "ignore";
           version: string;
          };
        packageManager: undefined | {
           name: string;
           onFail: "warn" | "error" | "ignore";
           version: string;
          };
        runtime: undefined | {
           name: string;
           onFail: "warn" | "error" | "ignore";
           version: string;
          };
       };
    };
}): Promise<void>

Writes the package.json file for the documentation package.

This method sets the homepage, repository, license, funding, and bugs fields in the package.json file. It also copies the author field from the workspace package.json if it exists. If the PackageFileOpts.packages option is set to false, the method does nothing.

Parameters โ€‹
ParameterTypeDescription
configPackageFileConfigConfiguration for the package file.
opts?false | { props: { devEngines: { cpu: undefined | { name: string; onFail: "warn" | "error" | "ignore"; version: string; }; libc: undefined | { name: string; onFail: "warn" | "error" | "ignore"; version: string; }; os: undefined | { name: string; onFail: "warn" | "error" | "ignore"; version: string; }; packageManager: undefined | { name: string; onFail: "warn" | "error" | "ignore"; version: string; }; runtime: undefined | { name: string; onFail: "warn" | "error" | "ignore"; version: string; }; }; }; }Optional configuration for the package file.
Returns โ€‹

Promise<void>

setPackageReadmeFile() โ€‹
ts
setPackageReadmeFile(config: PackageFileConfig, opts?: false | {
  markdownLinks: (pkg: {
     data: {
        devEngines: {
           cpu: undefined | {
              name: string;
              onFail: ... | ... | ... | ...;
              version: ... | ...;
             };
           libc: undefined | {
              name: string;
              onFail: ... | ... | ... | ...;
              version: ... | ...;
             };
           os: undefined | {
              name: string;
              onFail: ... | ... | ... | ...;
              version: ... | ...;
             };
           packageManager: undefined | {
              name: string;
              onFail: ... | ... | ... | ...;
              version: ... | ...;
             };
           runtime: undefined | {
              name: string;
              onFail: ... | ... | ... | ...;
              version: ... | ...;
             };
          };
       };
     docs: {
        apiFile: string;
        dir: string;
        examplesFile: string;
        indexFile: string;
        urlPath: {
           api: string;
           examples: string;
           index: string;
          };
       };
     emojiId: string;
     emojiType: string;
     id: string;
     name: string;
     package: {
        dir: string;
        docsFile: string;
        examplesConfigFile: string;
        isTs: boolean;
        packageJsonFile: string;
        readmeFile: string;
        relativeDir: string;
        srcFile: string;
        tsconfigFile: string;
       };
     pathID: string;
     repoURL: string;
     title: string;
     type: PkgType;
    }) => MdLink[];
  props: Config;
}): Promise<void>

Generates and writes the README file for a package.

Parameters โ€‹
ParameterTypeDescription
configPackageFileConfigConfiguration object containing public package data and markdown info.
opts?false | { markdownLinks: (pkg: { data: { devEngines: { cpu: undefined | { name: string; onFail: ... | ... | ... | ...; version: ... | ...; }; libc: undefined | { name: string; onFail: ... | ... | ... | ...; version: ... | ...; }; os: undefined | { name: string; onFail: ... | ... | ... | ...; version: ... | ...; }; packageManager: undefined | { name: string; onFail: ... | ... | ... | ...; version: ... | ...; }; runtime: undefined | { name: string; onFail: ... | ... | ... | ...; version: ... | ...; }; }; }; docs: { apiFile: string; dir: string; examplesFile: string; indexFile: string; urlPath: { api: string; examples: string; index: string; }; }; emojiId: string; emojiType: string; id: string; name: string; package: { dir: string; docsFile: string; examplesConfigFile: string; isTs: boolean; packageJsonFile: string; readmeFile: string; relativeDir: string; srcFile: string; tsconfigFile: string; }; pathID: string; repoURL: string; title: string; type: PkgType; }) => MdLink[]; props: Config; }Optional configuration properties for the README generation. If set to false, the function exits without processing.
Returns โ€‹

Promise<void>

Throws โ€‹

Throws an error if the README generation fails.

Properties โ€‹

PropertyTypeDefault valueDescription
optsundefined | PredocsConfigundefinedGeneral Configuration options
titlestring'predocs'The name of the project

Functions โ€‹

bandaTheme() โ€‹

ts
function bandaTheme(opts?: Config): Config

Banda theme configuration for dovenv.

This function takes an optional object with keys matching the plugin names and values that are the respective plugin's configuration objects.

Parameters โ€‹

ParameterTypeDescription
opts?ConfigOptional configuration options.

Returns โ€‹

Config

The dovenv configuration object.

Example โ€‹

ts
import { bandaTheme } from '@dovenv/theme-banda'

export default bandaTheme( {
  lint: { commitlint: { gitmoji: true } },
  docs: {
      input: 'README.md',
      output: 'build/README.md',
  },
} )

getSidebar() โ€‹

ts
function getSidebar(__namedParameters: {
  opts: SidebarConfig;
  utils: CommandSuper;
}): Promise<SidebarItem[]>

Generates a sidebar configuration for @dovenv/docs plugin.

Parameters โ€‹

ParameterType
__namedParametersobject
__namedParameters.opts?SidebarConfig
__namedParameters.utilsCommandSuper

Returns โ€‹

Promise<SidebarItem[]>

The sidebar configuration.


getWorkspaceConfig() โ€‹

ts
function getWorkspaceConfig(opts?: WorkspaceParams): Promise<ConstsConfig>

Get the workspace configuration.

Parameters โ€‹

ParameterTypeDescription
opts?WorkspaceParamsThe options for getting the workspace configuration.

Returns โ€‹

Promise<ConstsConfig>

The workspace configuration.


mergeConfig() โ€‹

ts
function mergeConfig(...config: (Config | Config[])[]): Config

Merges multiple theme-pigeonposse configuration objects into a single configuration.

Parameters โ€‹

ParameterType
...config(Config | Config[])[]

Returns โ€‹

Config


pigeonposseMonorepoTheme() โ€‹

ts
function pigeonposseMonorepoTheme(params?: MonorepoConfig): Config

The pigeonposseMonorepoTheme for Dovenv. This theme is a fork of the Banda theme with some changes to make it more suitable for the PigeonPosse monorepo. It includes the same basic configuration as Banda, but adds some additional features and changes some of the defaults.

Parameters โ€‹

ParameterTypeDescription
params?MonorepoConfigThe configuration for the theme.

Returns โ€‹

Config

The merged configuration.


pigeonposseTheme() โ€‹

ts
function pigeonposseTheme(params?: Config): Config

The PigeonPosse theme for Dovenv.

Parameters โ€‹

ParameterTypeDescription
params?ConfigThe configuration for the theme.

Returns โ€‹

Config

The merged configuration.

                             This theme is a fork of the Banda theme with some changes to make it more suitable for the PigeonPosse monorepo.
                             It includes the same basic configuration as Banda, but adds some additional features and changes some of the defaults.

pigeonposseWebPlugin() โ€‹

ts
function pigeonposseWebPlugin(params?: WebConfig): Config

Plugin for set the pigeonposse web configuration.

Parameters โ€‹

ParameterTypeDescription
params?WebConfigOptional parameters for the plugin.

Returns โ€‹

Config

  • A Dovenv configuration with a "transform" command for the .pigeonposse.yml file.

Example โ€‹

ts
import { defineConfig } from '@dovenv/core'
import { pigeonposseWebPlugin } from '@dovenv/theme-pigeonposse'

export default defineConfig( pigeonposseWebPlugin() )

pkgBadges() โ€‹

ts
function pkgBadges(options: PkgBadgesOptions): string

Generates markdown links for package-related badges.

Parameters โ€‹

ParameterTypeDescription
optionsPkgBadgesOptionsThe package badge options.

Returns โ€‹

string

The generated markdown links.


predocsPlugin() โ€‹

ts
function predocsPlugin(opts?: PredocsConfig | (data: Predocs) => Promise<void>): Config

Create package docs simultaneously.

Parameters โ€‹

ParameterTypeDescription
opts?PredocsConfig | (data: Predocs) => Promise<void>Optional opts to pass to Predocs.

Returns โ€‹

Config

  • Dovenv plugin config.

socialBadges() โ€‹

ts
function socialBadges(data: SocialLinks): undefined | string

Generates markdown links for social badges.

Parameters โ€‹

ParameterTypeDescription
dataSocialLinksThe social links data.

Returns โ€‹

undefined | string

The generated markdown links or undefined if no links are provided.

Type Aliases โ€‹

Config โ€‹

ts
type Config: BandaConfig & {
  core: ConstsConfig;
  web: WebConfig;
};

Type declaration โ€‹

NameTypeDescription
core?ConstsConfigSet the pigeonposse theme constants and information. Example import { getWorkspaceConfig } from '@dovenv/theme-pigeonposse' const core = await getWorkspaceConfig({metaURL : import.meta.url, path : '../../../../'} )
web?WebConfigConfiguration for the pigeonposse web File data

MonorepoConfig โ€‹

ts
type MonorepoConfig: Config & {
  predocs: NonNullable<Parameters<typeof predocsPlugin>[0]> | false;
};

Type declaration โ€‹

NameType
predocs?NonNullable<Parameters<typeof predocsPlugin>[0]> | false

PkgData โ€‹

ts
type PkgData: {
  data: {
     data: PackageJSON;
     docs: {
        apiFile: string;
        dir: string;
        examplesFile: string;
        indexFile: string;
        urlPath: {
           api: string;
           examples: string;
           index: string;
          };
       };
     emojiId: string;
     emojiType: string;
     id: string;
     name: string;
     package: {
        dir: string;
        docsFile: string;
        examplesConfigFile: string;
        isTs: boolean;
        packageJsonFile: string;
        readmeFile: string;
        relativeDir: string;
        srcFile: string;
        tsconfigFile: string;
       };
     pathID: string;
     repoURL: string;
     title: string;
     type: PkgType;
    }[];
  docsDir: string;
  docsGuideDir: string;
  docsPublicDir: string;
  name: string;
  packagesPath: string;
  url: string;
  urlGuidePath: string;
};

Type declaration โ€‹

NameTypeDescription
data{ data: PackageJSON; docs: { apiFile: string; dir: string; examplesFile: string; indexFile: string; urlPath: { api: string; examples: string; index: string; }; }; emojiId: string; emojiType: string; id: string; name: string; package: { dir: string; docsFile: string; examplesConfigFile: string; isTs: boolean; packageJsonFile: string; readmeFile: string; relativeDir: string; srcFile: string; tsconfigFile: string; }; pathID: string; repoURL: string; title: string; type: PkgType; }[]-
docsDirstringAbsosulte local dir of documentation
docsGuideDirstringAbsosulte local dir of documentation guide
docsPublicDirstringAbsosulte local dir of documentation assets
namestring-
packagesPathstring-
urlstring-
urlGuidePathstring-

PkgType โ€‹

ts
type PkgType: ObjectValues<typeof TYPE>;

PredocsConfig โ€‹

ts
type PredocsConfig: {
  emoji: EmojiObject | false;
  guideSection: {
     none: PkgType[] | string[];
    };
  index: {
     content: string;
     creationTemplate: boolean;
     custom: Record<string, unknown>;
     noAction: boolean;
     noFeatures: boolean;
    };
};

Type declaration โ€‹

NameTypeDescription
emoji?EmojiObject | falseSet emojis for your packages. Example { * core: '๐ŸŒž', * create: false, * }
guideSection?{ none: PkgType[] | string[]; }Guide section options
guideSection.none?PkgType[] | string[]-
index?{ content: string; creationTemplate: boolean; custom: Record<string, unknown>; noAction: boolean; noFeatures: boolean; }Set index page options
index.content?stringAdd content after frontmatter
index.creationTemplate?booleanChange template to creation template
index.custom?Record<string, unknown>Add custom content to index doc page. See https://vitepress.dev/reference/default-theme-home-page
index.noAction?booleanRemove default action
index.noFeatures?booleanRemove default features

SidebarConfig โ€‹

ts
type SidebarConfig: {
  emojis: EmojiObject | false;
  onlyReference: boolean;
};

Type declaration โ€‹

NameTypeDescription
emojis?EmojiObject | falseChange, remove or add emojis to sidebar
onlyReference?booleanGet only sidebar reference. Default false

SidebarItems โ€‹

ts
type SidebarItems: ExtractSidebarArray<Sidebar>;

WebConfig โ€‹

ts
type WebConfig: {
  customValues: Record<string, unknown>;
  input: string;
  values: Record<string, unknown> | false;
  version: string;
};

Type declaration โ€‹

NameTypeDescription
customValues?Record<string, unknown>Merge with general values
input?stringDefault '.pigeonposse.yml'
values?Record<string, unknown> | falseOverride values. Set to false to disable default values
version?stringVersion of the web. Default latest

References โ€‹

default โ€‹

Renames and re-exports pigeonposseTheme

Variables โ€‹

EMOJI โ€‹

ts
const EMOJI: {
  about: 'โœจ';
  ai: '๐Ÿค–';
  api: '๐Ÿ“–';
  blog: '๐Ÿ“';
  bug: '๐Ÿ›';
  cli: '๐Ÿ”ข';
  config: 'โš™๏ธ';
  convert: '๐Ÿ”„';
  core: '๐ŸŒž';
  create: '๐Ÿš€';
  dev: '๐Ÿ‘จโ€๐Ÿ’ป';
  development: '๐Ÿ‘จโ€๐Ÿ’ป';
  docker: '๐Ÿณ';
  docs: '๐Ÿ“š';
  donate: 'โค๏ธ';
  example: '๐Ÿ’ก';
  examples: '๐Ÿ’ก';
  extension: '๐Ÿงฉ';
  extensions: '๐Ÿงฉ';
  feat: '๐ŸŒŸ';
  feats: '๐ŸŒŸ';
  feature: '๐ŸŒŸ';
  features: '๐ŸŒŸ';
  getStarted: "๐Ÿ";
  index: '๐Ÿ“';
  info: 'โ„น๏ธ';
  installation: '๐Ÿ”‘';
  library: '๐Ÿ“š';
  license: '๐Ÿ“œ';
  lint: '๐Ÿงน';
  media: '๐ŸŽฅ';
  more: 'โž•';
  package: '๐Ÿ“ฆ';
  plugin: '๐Ÿ”Œ';
  preset: '๐Ÿ’พ';
  presets: '๐Ÿ’พ';
  repo: '๐Ÿ—ƒ๏ธ';
  repos: '๐Ÿ—ƒ๏ธ';
  repository: '๐Ÿ—ƒ๏ธ';
  server: '๐Ÿ—„๏ธ';
  setup: '๐ŸŽ‰';
  template: '๐Ÿ–ผ๏ธ';
  templates: '๐Ÿ–ผ๏ธ';
  test: 'โœ…';
  theme: '๐ŸŽจ';
  todo: 'โœ…';
  toolkit: '๐Ÿงฐ';
  tutorial: '๐ŸŽ“';
  tutorials: '๐ŸŽ“';
  usage: '๐Ÿ“„';
  utils: 'โš’๏ธ';
  web: '๐ŸŒ';
  workspace: '๐Ÿ“‚';
};

Type declaration โ€‹

NameTypeDefault value
about"โœจ"'โœจ'
ai"๐Ÿค–"'๐Ÿค–'
api"๐Ÿ“–"'๐Ÿ“–'
blog"๐Ÿ“"'๐Ÿ“'
bug"๐Ÿ›"'๐Ÿ›'
cli"๐Ÿ”ข"'๐Ÿ”ข'
config"โš™๏ธ"'โš™๏ธ'
convert"๐Ÿ”„"'๐Ÿ”„'
core"๐ŸŒž"'๐ŸŒž'
create"๐Ÿš€"'๐Ÿš€'
dev"๐Ÿ‘จโ€๐Ÿ’ป"'๐Ÿ‘จโ€๐Ÿ’ป'
development"๐Ÿ‘จโ€๐Ÿ’ป"'๐Ÿ‘จโ€๐Ÿ’ป'
docker"๐Ÿณ"'๐Ÿณ'
docs"๐Ÿ“š"'๐Ÿ“š'
donate"โค๏ธ"'โค๏ธ'
example"๐Ÿ’ก"'๐Ÿ’ก'
examples"๐Ÿ’ก"'๐Ÿ’ก'
extension"๐Ÿงฉ"'๐Ÿงฉ'
extensions"๐Ÿงฉ"'๐Ÿงฉ'
feat"๐ŸŒŸ"'๐ŸŒŸ'
feats"๐ŸŒŸ"'๐ŸŒŸ'
feature"๐ŸŒŸ"'๐ŸŒŸ'
features"๐ŸŒŸ"'๐ŸŒŸ'
getStarted"๐Ÿ"-
index"๐Ÿ“"'๐Ÿ“'
info"โ„น๏ธ"'โ„น๏ธ'
installation"๐Ÿ”‘"'๐Ÿ”‘'
library"๐Ÿ“š"'๐Ÿ“š'
license"๐Ÿ“œ"'๐Ÿ“œ'
lint"๐Ÿงน"'๐Ÿงน'
media"๐ŸŽฅ"'๐ŸŽฅ'
more"โž•"'โž•'
package"๐Ÿ“ฆ"'๐Ÿ“ฆ'
plugin"๐Ÿ”Œ"'๐Ÿ”Œ'
preset"๐Ÿ’พ"'๐Ÿ’พ'
presets"๐Ÿ’พ"'๐Ÿ’พ'
repo"๐Ÿ—ƒ๏ธ"'๐Ÿ—ƒ๏ธ'
repos"๐Ÿ—ƒ๏ธ"'๐Ÿ—ƒ๏ธ'
repository"๐Ÿ—ƒ๏ธ"'๐Ÿ—ƒ๏ธ'
server"๐Ÿ—„๏ธ"'๐Ÿ—„๏ธ'
setup"๐ŸŽ‰"'๐ŸŽ‰'
template"๐Ÿ–ผ๏ธ"'๐Ÿ–ผ๏ธ'
templates"๐Ÿ–ผ๏ธ"'๐Ÿ–ผ๏ธ'
test"โœ…"'โœ…'
theme"๐ŸŽจ"'๐ŸŽจ'
todo"โœ…"'โœ…'
toolkit"๐Ÿงฐ"'๐Ÿงฐ'
tutorial"๐ŸŽ“"'๐ŸŽ“'
tutorials"๐ŸŽ“"'๐ŸŽ“'
usage"๐Ÿ“„"'๐Ÿ“„'
utils"โš’๏ธ"'โš’๏ธ'
web"๐ŸŒ"'๐ŸŒ'
workspace"๐Ÿ“‚"'๐Ÿ“‚'

partial โ€‹

ts
const partial: {
  creation: string;
  creationGroup: string;
  footer: string;
  installation: string;
  installationGroup: string;
};

Type declaration โ€‹

NameTypeDescription
creationstringReturns the creation instructions for the library. required const: libPkg.
creationGroupstringReturns the creation instructions for the library. required const: libPkg.
footerstringReturns the footer for the documentation. required const: pkg, socialBadges, mark, contributors.
installationstringReturns the installation instructions for the library. required const: libPkg.
installationGroupstringReturns the installation instructions for the library. required const: libPkg.

template โ€‹

ts
const template: {
  docsContributors: string;
  docsIndex: string;
  docsIndexWithCreate: string;
  readmePkg: string;
};

Type declaration โ€‹

NameTypeDescription
docsContributorsstringReturns a contributors index template for a dovenv docs page. required const: templateMark.
docsIndexstringReturns a index template for a dovenv docs page. required const: templateMark, docsIndex. required partial: installationGroup.
docsIndexWithCreatestringReturns a index template for a dovenv docs page with project creation instructions. required const: templateMark, docsIndex. required partial: installationGroup.
readmePkgstringReturns the readme template for a package. required const: title, pkg, socialBadges, pkgBadges, toc, banner. required partial: installation, toc, content.

TYPE โ€‹

ts
const TYPE: {
  config: 'config';
  lib: 'library';
  plugin: 'plugin';
  preset: 'preset';
  theme: 'theme';
};

Type declaration โ€‹

NameTypeDefault value
config"config"'config'
lib"library"'library'
plugin"plugin"'plugin'
preset"preset"'preset'
theme"theme"'theme'

Namespaces โ€‹