Skip to content

Commit eaea9e9

Browse files
committed
Prettier formatting
1 parent 736ad43 commit eaea9e9

File tree

4 files changed

+64
-54
lines changed

4 files changed

+64
-54
lines changed

components/Sidebar.tsx

Lines changed: 61 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export const DocsNav = ({
340340
getStarted: false,
341341
getGuides: !active.getGuides,
342342
getReference: false,
343-
getSpecification:false,
343+
getSpecification: false,
344344
});
345345
};
346346

@@ -529,10 +529,10 @@ export const DocsNav = ({
529529
>
530530
<DocLink uri='/learn' label='Overview' setOpen={setOpen} />
531531
<DocLink
532-
uri='/understanding-json-schema/about'
533-
label='What is a schema?'
534-
setOpen={setOpen}
535-
/>
532+
uri='/understanding-json-schema/about'
533+
label='What is a schema?'
534+
setOpen={setOpen}
535+
/>
536536
<DocLink
537537
uri='/understanding-json-schema/basics'
538538
label='The basics'
@@ -697,7 +697,7 @@ export const DocsNav = ({
697697
setOpen={setOpen}
698698
/>*/}
699699
{/*<div className='pl-4 pb-1 pt-1'>*/}
700-
{/*<DocLink
700+
{/*<DocLink
701701
uri='/understanding-json-schema/conventions'
702702
label='Conventions used'
703703
setOpen={setOpen}
@@ -713,54 +713,59 @@ export const DocsNav = ({
713713
label='JSON data types'
714714
setOpen={setOpen}
715715
/>
716-
<div className='pl-4 pb-1 pt-1'> {/*Opening div: JSON data types*/}
717-
<DocLink
718-
uri='/understanding-json-schema/reference/array'
719-
label='array'
720-
setOpen={setOpen}
721-
/>
722-
<DocLink
723-
uri='/understanding-json-schema/reference/boolean'
724-
label='boolean'
725-
setOpen={setOpen}
726-
/>
727-
<DocLink
728-
uri='/understanding-json-schema/reference/null'
729-
label='null'
730-
setOpen={setOpen}
731-
/>
732-
<DocLink
733-
uri='/understanding-json-schema/reference/numeric'
734-
label='numeric types'
735-
setOpen={setOpen}
736-
/>
737-
<DocLink
738-
uri='/understanding-json-schema/reference/object'
739-
label='object'
740-
setOpen={setOpen}
741-
/>
742-
<DocLink
743-
uri='/understanding-json-schema/reference/regular_expressions'
744-
label='regular expressions'
745-
setOpen={setOpen}
746-
/>
747-
<DocLink
748-
uri='/understanding-json-schema/reference/string'
749-
label='string'
750-
setOpen={setOpen}
751-
/>
752-
</div> {/*Closing div: JSON data types*/}
753-
<DocLink
754-
uri='/understanding-json-schema/reference/schema'
755-
label='Dialect and vocabulary declaration'
716+
<div className='pl-4 pb-1 pt-1'>
717+
{' '}
718+
{/*Opening div: JSON data types*/}
719+
<DocLink
720+
uri='/understanding-json-schema/reference/array'
721+
label='array'
756722
setOpen={setOpen}
723+
/>
724+
<DocLink
725+
uri='/understanding-json-schema/reference/boolean'
726+
label='boolean'
727+
setOpen={setOpen}
728+
/>
729+
<DocLink
730+
uri='/understanding-json-schema/reference/null'
731+
label='null'
732+
setOpen={setOpen}
733+
/>
734+
<DocLink
735+
uri='/understanding-json-schema/reference/numeric'
736+
label='numeric types'
737+
setOpen={setOpen}
738+
/>
739+
<DocLink
740+
uri='/understanding-json-schema/reference/object'
741+
label='object'
742+
setOpen={setOpen}
743+
/>
744+
<DocLink
745+
uri='/understanding-json-schema/reference/regular_expressions'
746+
label='regular expressions'
747+
setOpen={setOpen}
748+
/>
749+
<DocLink
750+
uri='/understanding-json-schema/reference/string'
751+
label='string'
752+
setOpen={setOpen}
753+
/>
754+
</div>{' '}
755+
{/*Closing div: JSON data types*/}
756+
<DocLink
757+
uri='/understanding-json-schema/reference/schema'
758+
label='Dialect and vocabulary declaration'
759+
setOpen={setOpen}
757760
/>
758761
<DocLink
759762
uri='/understanding-json-schema/reference/generic'
760763
label='Enumerated and Constant Values'
761764
setOpen={setOpen}
762765
/>
763-
<div className='pl-4 pb-1 pt-1'> {/*Opening div: Schema constraints*/}
766+
<div className='pl-4 pb-1 pt-1'>
767+
{' '}
768+
{/*Opening div: Schema constraints*/}
764769
<DocLink
765770
uri='/understanding-json-schema/reference/enum'
766771
label='Enumerated values'
@@ -771,7 +776,8 @@ export const DocsNav = ({
771776
label='Constant values'
772777
setOpen={setOpen}
773778
/>
774-
</div> {/*Closing div: Schema constraints*/}
779+
</div>{' '}
780+
{/*Closing div: Schema constraints*/}
775781
<DocLink
776782
uri='/understanding-json-schema/reference/metadata'
777783
label='Schema annotations and comments'
@@ -789,7 +795,8 @@ export const DocsNav = ({
789795
label='Comments'
790796
setOpen={setOpen}
791797
/>
792-
</div> {/*Closing div: Schema metadata*/}
798+
</div>{' '}
799+
{/*Closing div: Schema metadata*/}
793800
<DocLink
794801
uri='/understanding-json-schema/reference/conditionals'
795802
label='Conditional schema validation'
@@ -800,7 +807,9 @@ export const DocsNav = ({
800807
label='Schema composition'
801808
setOpen={setOpen}
802809
/>
803-
<div className='pl-4 pb-1 pt-1'> {/*Opening div: Schema composition*/}
810+
<div className='pl-4 pb-1 pt-1'>
811+
{' '}
812+
{/*Opening div: Schema composition*/}
804813
<DocLink
805814
uri='/understanding-json-schema/reference/combining'
806815
label='Boolean JSON Schema combination'
@@ -811,7 +820,8 @@ export const DocsNav = ({
811820
label='Modular JSON Schema combination'
812821
setOpen={setOpen}
813822
/>
814-
</div> {/*Closing div: Schema composition*/}
823+
</div>{' '}
824+
{/*Closing div: Schema composition*/}
815825
<DocLink
816826
uri='/understanding-json-schema/reference/non_json_data'
817827
label='Media: string-encoding non-JSON data'

pages/learn/guides/index.page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function Welcome() {
1818
</Head>
1919
<Headline1>{newTitle}</Headline1>
2020
<p>
21-
Welcome to our new Guides section!
21+
Welcome to our new Guides section!
2222
<br />
2323
</p>
2424
<div className='w-full lg:w-full grid grid-cols-1 sm:grid-cols-2 gap-6 my-[10px] mx-auto mt-8'>

pages/learn/index.page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Welcome() {
2222
<br />
2323
</p>
2424
<div className='w-full lg:w-full grid grid-cols-1 sm:grid-cols-2 gap-6 my-[10px] mx-auto mt-8'>
25-
<Card
25+
<Card
2626
title='What is a Schema?'
2727
body='Let us start by defining what is a Schema'
2828
headerSize='medium'

pages/understanding-json-schema/reference/index.page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default function Welcome() {
108108
nextURL='/understanding-json-schema/keywords'
109109
/>
110110
<DocsHelp fileRenderType={fileRenderType} />
111-
</SectionContext.Provider>
111+
</SectionContext.Provider>
112112
);
113113
}
114114
Welcome.getLayout = getLayout;

0 commit comments

Comments
 (0)