Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

@dynamsoft-docs/vitepress-docs

The shared VitePress theme and toolkit for Dynamsoft product documentation sites. The theme extends the default VitePress theme.

The package provides these parts:

  • The corporate header and footer, the breadcrumbs, the version switcher, and the doc skin.
  • defineDynamsoftConfig, the config factory with the fleet defaults, and defineDynamsoftTypedoc, the factory for the API reference.
  • The ds-docs-build-versions bin, which builds every version of a site.
  • Every page as markdown for agents, with llms.txt and llms-full.txt.
  • A reusable GitHub workflow that builds a docs site and deploys it by FTP.

The package ships TypeScript and Vue source with no build step. The VitePress build of the consuming site compiles it.

Install

Add the package as a git dependency of the docs package of the site:

// docs/package.json
{
	"devDependencies": {
		"@dynamsoft-docs/vitepress-docs": "git+https://github.com/dynamsoft-docs/vitepress-docs.git#semver:^0.1.0",
	},
}

Then use the theme and the config factory:

// docs/.vitepress/theme/index.ts
import DynamsoftTheme from "@dynamsoft-docs/vitepress-docs";
export default DynamsoftTheme;
// docs/.vitepress/config.mts
import { defineDynamsoftConfig } from "@dynamsoft-docs/vitepress-docs/config";

export default defineDynamsoftConfig({
	title: "Your Product",
	themeConfig: { docsRoot: "/your-product/docs/web/", dynamsoftChrome: true },
});

Documentation

Contributing

See CONTRIBUTING.md. The issues of the project are in git-bug, inside the repository.

Licence

The package is proprietary. The license field of package.json is UNLICENSED.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages