diff --git a/docs/reference/go/batch/job-handler.mdx b/docs/reference/go/batch/job-handler.mdx index 7c5fccc1c..7c5f76c7d 100644 --- a/docs/reference/go/batch/job-handler.mdx +++ b/docs/reference/go/batch/job-handler.mdx @@ -2,7 +2,7 @@ description: "Reference for Nitric's Go library - Register a job handler to with the Nitric Go SDK" --- -# Go - job.handler() +# Go - Job.Handler() Job handlers are the code that is run when a job request is submitted. These handlers should be written in a separate file to your services. diff --git a/docs/reference/go/batch/job-submit.mdx b/docs/reference/go/batch/job-submit.mdx index 8a8c1b980..ccb217003 100644 --- a/docs/reference/go/batch/job-submit.mdx +++ b/docs/reference/go/batch/job-submit.mdx @@ -2,7 +2,7 @@ description: "Reference for Nitric's Go library - Submit a batch job request with the Nitric Go SDK" --- -# Go - job.submit() +# Go - Job.Submit() Jobs may be submitted from Nitric `services` or other `batches` using the `submit` method on the job reference. When submitting a job you can provide a payload that will be passed to the job handler function. diff --git a/docs/reference/go/batch/job.mdx b/docs/reference/go/batch/job.mdx index 4b22fe826..c994e02a4 100644 --- a/docs/reference/go/batch/job.mdx +++ b/docs/reference/go/batch/job.mdx @@ -2,7 +2,7 @@ description: "Reference for Nitric's Go library - Create Batch Jobs with the Nitric Go SDK" --- -# Go - job() +# Go - NewJob() Creates a new Batch Job. diff --git a/src/config/reference/dart.ts b/src/config/reference/dart.ts index 58a654a74..9148e9fc1 100644 --- a/src/config/reference/dart.ts +++ b/src/config/reference/dart.ts @@ -71,6 +71,23 @@ export const DartReference: NavGroup = { }, ], }, + { + title: 'Batch', + items: [ + { + title: 'job()', + href: '/reference/dart/batch/job', + }, + { + title: 'job.handler()', + href: '/reference/dart/batch/job-handler', + }, + { + title: 'job.submit()', + href: '/reference/dart/batch/job-submit', + }, + ], + }, { title: 'Key Value Stores', items: [ diff --git a/src/config/reference/go.ts b/src/config/reference/go.ts index defe066a1..3cce0a2a9 100644 --- a/src/config/reference/go.ts +++ b/src/config/reference/go.ts @@ -18,6 +18,10 @@ export const GoReference: NavGroup = { title: 'NewApi()', href: '/reference/go/api/api', }, + { + title: 'NewJob()', + href: '/reference/go/batch/job', + }, { title: 'NewKv()', href: '/reference/go/keyvalue/keyvalue', @@ -101,6 +105,19 @@ export const GoReference: NavGroup = { }, ], }, + { + title: 'Batch', + items: [ + { + title: 'Job.Handler()', + href: '/reference/go/batch/job-handler', + }, + { + title: 'Job.Submit()', + href: '/reference/go/batch/job-submit', + }, + ], + }, { title: 'Key Value Stores', items: [ diff --git a/src/config/reference/node.ts b/src/config/reference/node.ts index ffdc88e51..939d08a70 100644 --- a/src/config/reference/node.ts +++ b/src/config/reference/node.ts @@ -67,6 +67,23 @@ export const NodeReference: NavGroup = { }, ], }, + { + title: 'Batch', + items: [ + { + title: 'job()', + href: '/reference/nodejs/batch/job', + }, + { + title: 'job.handler()', + href: '/reference/nodejs/batch/job-handler', + }, + { + title: 'job.submit()', + href: '/reference/nodejs/batch/job-submit', + }, + ], + }, { title: 'HTTP', items: [ diff --git a/src/config/reference/python.ts b/src/config/reference/python.ts index b0935809e..b692a220b 100644 --- a/src/config/reference/python.ts +++ b/src/config/reference/python.ts @@ -47,6 +47,23 @@ export const PyReference: NavGroup = { }, ], }, + { + title: 'Batch', + items: [ + { + title: 'job()', + href: '/reference/python/batch/job', + }, + { + title: 'job.handler()', + href: '/reference/python/batch/job-handler', + }, + { + title: 'job.submit()', + href: '/reference/python/batch/job-submit', + }, + ], + }, { title: 'Key Value Stores', items: [ @@ -72,19 +89,6 @@ export const PyReference: NavGroup = { }, ], }, - { - title: 'Sql', - items: [ - { - title: 'sql()', - href: '/reference/python/sql/sql', - }, - { - title: 'sql.connection_string()', - href: '/reference/python/sql/sql-connection-string', - }, - ], - }, { title: 'Topics', items: [ @@ -185,6 +189,19 @@ export const PyReference: NavGroup = { }, ], }, + { + title: 'SQL', + items: [ + { + title: 'sql()', + href: '/reference/python/sql/sql', + }, + { + title: 'sql.connection_string()', + href: '/reference/python/sql/sql-connection-string', + }, + ], + }, { title: 'Schedules', items: [