Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit eaf0d24

Browse files
authored
fix: missing batch links and some typos fixed (#669)
1 parent 9180572 commit eaf0d24

File tree

7 files changed

+84
-16
lines changed

7 files changed

+84
-16
lines changed

docs/reference/go/batch/job-handler.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Reference for Nitric's Go library - Register a job handler to with the Nitric Go SDK"
33
---
44

5-
# Go - job.handler()
5+
# Go - Job.Handler()
66

77
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.
88

docs/reference/go/batch/job-submit.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Reference for Nitric's Go library - Submit a batch job request with the Nitric Go SDK"
33
---
44

5-
# Go - job.submit()
5+
# Go - Job.Submit()
66

77
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.
88

docs/reference/go/batch/job.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Reference for Nitric's Go library - Create Batch Jobs with the Nitric Go SDK"
33
---
44

5-
# Go - job()
5+
# Go - NewJob()
66

77
Creates a new Batch Job.
88

src/config/reference/dart.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,23 @@ export const DartReference: NavGroup = {
7171
},
7272
],
7373
},
74+
{
75+
title: 'Batch',
76+
items: [
77+
{
78+
title: 'job()',
79+
href: '/reference/dart/batch/job',
80+
},
81+
{
82+
title: 'job.handler()',
83+
href: '/reference/dart/batch/job-handler',
84+
},
85+
{
86+
title: 'job.submit()',
87+
href: '/reference/dart/batch/job-submit',
88+
},
89+
],
90+
},
7491
{
7592
title: 'Key Value Stores',
7693
items: [

src/config/reference/go.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export const GoReference: NavGroup = {
1818
title: 'NewApi()',
1919
href: '/reference/go/api/api',
2020
},
21+
{
22+
title: 'NewJob()',
23+
href: '/reference/go/batch/job',
24+
},
2125
{
2226
title: 'NewKv()',
2327
href: '/reference/go/keyvalue/keyvalue',
@@ -101,6 +105,19 @@ export const GoReference: NavGroup = {
101105
},
102106
],
103107
},
108+
{
109+
title: 'Batch',
110+
items: [
111+
{
112+
title: 'Job.Handler()',
113+
href: '/reference/go/batch/job-handler',
114+
},
115+
{
116+
title: 'Job.Submit()',
117+
href: '/reference/go/batch/job-submit',
118+
},
119+
],
120+
},
104121
{
105122
title: 'Key Value Stores',
106123
items: [

src/config/reference/node.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,23 @@ export const NodeReference: NavGroup = {
6767
},
6868
],
6969
},
70+
{
71+
title: 'Batch',
72+
items: [
73+
{
74+
title: 'job()',
75+
href: '/reference/nodejs/batch/job',
76+
},
77+
{
78+
title: 'job.handler()',
79+
href: '/reference/nodejs/batch/job-handler',
80+
},
81+
{
82+
title: 'job.submit()',
83+
href: '/reference/nodejs/batch/job-submit',
84+
},
85+
],
86+
},
7087
{
7188
title: 'HTTP',
7289
items: [

src/config/reference/python.ts

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,23 @@ export const PyReference: NavGroup = {
4747
},
4848
],
4949
},
50+
{
51+
title: 'Batch',
52+
items: [
53+
{
54+
title: 'job()',
55+
href: '/reference/python/batch/job',
56+
},
57+
{
58+
title: 'job.handler()',
59+
href: '/reference/python/batch/job-handler',
60+
},
61+
{
62+
title: 'job.submit()',
63+
href: '/reference/python/batch/job-submit',
64+
},
65+
],
66+
},
5067
{
5168
title: 'Key Value Stores',
5269
items: [
@@ -72,19 +89,6 @@ export const PyReference: NavGroup = {
7289
},
7390
],
7491
},
75-
{
76-
title: 'Sql',
77-
items: [
78-
{
79-
title: 'sql()',
80-
href: '/reference/python/sql/sql',
81-
},
82-
{
83-
title: 'sql.connection_string()',
84-
href: '/reference/python/sql/sql-connection-string',
85-
},
86-
],
87-
},
8892
{
8993
title: 'Topics',
9094
items: [
@@ -185,6 +189,19 @@ export const PyReference: NavGroup = {
185189
},
186190
],
187191
},
192+
{
193+
title: 'SQL',
194+
items: [
195+
{
196+
title: 'sql()',
197+
href: '/reference/python/sql/sql',
198+
},
199+
{
200+
title: 'sql.connection_string()',
201+
href: '/reference/python/sql/sql-connection-string',
202+
},
203+
],
204+
},
188205
{
189206
title: 'Schedules',
190207
items: [

0 commit comments

Comments
 (0)