├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .prettierrc.js ├── README.md ├── demo ├── .env.example ├── nodemon.json ├── package.json ├── src │ ├── collections │ │ ├── Pages.ts │ │ ├── Users.ts │ │ └── populateFullTitle.ts │ ├── payload.config.ts │ ├── seed │ │ └── index.ts │ └── server.ts ├── tsconfig.json └── yarn.lock ├── fields.d.ts ├── fields.js ├── package.json ├── src ├── fields │ ├── breadcrumbs.ts │ └── parent.ts ├── hooks │ ├── resaveChildren.ts │ └── resaveSelfAfterCreate.ts ├── index.ts ├── types.ts └── utilities │ ├── formatBreadcrumb.ts │ ├── getParents.ts │ └── populateBreadcrumbs.ts ├── tsconfig.json ├── types.d.ts ├── types.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@payloadcms'], 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | dist 4 | build 5 | .DS_Store 6 | package-lock.json 7 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/README.md -------------------------------------------------------------------------------- /demo/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/.env.example -------------------------------------------------------------------------------- /demo/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/nodemon.json -------------------------------------------------------------------------------- /demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/package.json -------------------------------------------------------------------------------- /demo/src/collections/Pages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/src/collections/Pages.ts -------------------------------------------------------------------------------- /demo/src/collections/Users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/src/collections/Users.ts -------------------------------------------------------------------------------- /demo/src/collections/populateFullTitle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/src/collections/populateFullTitle.ts -------------------------------------------------------------------------------- /demo/src/payload.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/src/payload.config.ts -------------------------------------------------------------------------------- /demo/src/seed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/src/seed/index.ts -------------------------------------------------------------------------------- /demo/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/src/server.ts -------------------------------------------------------------------------------- /demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/tsconfig.json -------------------------------------------------------------------------------- /demo/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/demo/yarn.lock -------------------------------------------------------------------------------- /fields.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/fields.d.ts -------------------------------------------------------------------------------- /fields.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/fields.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/package.json -------------------------------------------------------------------------------- /src/fields/breadcrumbs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/fields/breadcrumbs.ts -------------------------------------------------------------------------------- /src/fields/parent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/fields/parent.ts -------------------------------------------------------------------------------- /src/hooks/resaveChildren.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/hooks/resaveChildren.ts -------------------------------------------------------------------------------- /src/hooks/resaveSelfAfterCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/hooks/resaveSelfAfterCreate.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utilities/formatBreadcrumb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/utilities/formatBreadcrumb.ts -------------------------------------------------------------------------------- /src/utilities/getParents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/utilities/getParents.ts -------------------------------------------------------------------------------- /src/utilities/populateBreadcrumbs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/src/utilities/populateBreadcrumbs.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types.d.ts: -------------------------------------------------------------------------------- 1 | export * from './dist/types'; 2 | -------------------------------------------------------------------------------- /types.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./dist/types'); 2 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/payloadcms/plugin-nested-docs/HEAD/yarn.lock --------------------------------------------------------------------------------