Skip to content

Commit d6a7572

Browse files
committed
updating data for a new documentation website
1 parent 992d395 commit d6a7572

File tree

6 files changed

+55
-94
lines changed

6 files changed

+55
-94
lines changed

docusaurus/my-website/999-from-old-website-cfg/pages/en/index.js renamed to docusaurus/my-website/999-from-old-website-cfg/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ const FeatureCallout = props => (
123123
<div
124124
className="showcaseSection paddingBottom"
125125
style={{textAlign: 'center'}}>
126+
127+
128+
129+
126130
<h2>Table of contents</h2>
127131
<div className = "tableofcontents" style={{margin: '0px 150px'}}>
128132

docusaurus/my-website/999-from-old-website-cfg/sidebars.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

docusaurus/my-website/999-from-old-website-cfg/siteConfig.js

Lines changed: 0 additions & 54 deletions
This file was deleted.

docusaurus/my-website/docusaurus.config.js

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
66

77
/** @type {import('@docusaurus/types').Config} */
88
const config = {
9-
title: 'My Site',
10-
tagline: 'Dinosaurs are cool',
11-
url: 'https://your-docusaurus-test-site.com',
12-
baseUrl: '/',
9+
title: 'GroceriStar Fetch Module',
10+
tagline: 'Documentation for Food Tech projects',
11+
url: 'https://groceristar.github.io',
12+
baseUrl: '/static-food-data-documentation/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
1515
favicon: 'img/favicon.ico',
16-
organizationName: 'facebook', // Usually your GitHub org/user name.
17-
projectName: 'docusaurus', // Usually your repo name.
16+
organizationName: 'groceristar', // Usually your GitHub org/user name.
17+
projectName: 'static-food-data-documentation', // Usually your repo name.
1818

1919
presets: [
2020
[
@@ -46,7 +46,7 @@ const config = {
4646
title: 'My Site',
4747
logo: {
4848
alt: 'My Site Logo',
49-
src: 'img/logo.svg',
49+
src: 'img/LOGO1.png',
5050
},
5151
items: [
5252
{
@@ -56,8 +56,16 @@ const config = {
5656
label: 'Tutorial',
5757
},
5858
{to: '/blog', label: 'Blog', position: 'left'},
59+
60+
61+
// {doc: 'summary', label: 'Summary'},
62+
// {href : 'https://github.com/GroceriStar/groceristar-fetch/', label: 'GitHub'},
63+
// {page: 'help', label: 'Help'},
64+
65+
66+
5967
{
60-
href: 'https://github.com/facebook/docusaurus',
68+
href: 'https://github.com/GroceriStar/groceristar-fetch',
6169
label: 'GitHub',
6270
position: 'right',
6371
},
@@ -78,18 +86,18 @@ const config = {
7886
{
7987
title: 'Community',
8088
items: [
81-
{
82-
label: 'Stack Overflow',
83-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
84-
},
85-
{
86-
label: 'Discord',
87-
href: 'https://discordapp.com/invite/docusaurus',
88-
},
89-
{
90-
label: 'Twitter',
91-
href: 'https://twitter.com/docusaurus',
92-
},
89+
// {
90+
// label: 'Stack Overflow',
91+
// href: 'https://stackoverflow.com/questions/tagged/docusaurus',
92+
// },
93+
// {
94+
// label: 'Discord',
95+
// href: 'https://discordapp.com/invite/docusaurus',
96+
// },
97+
// {
98+
// label: 'Twitter',
99+
// href: 'https://twitter.com/docusaurus',
100+
// },
93101
],
94102
},
95103
{
@@ -101,12 +109,12 @@ const config = {
101109
},
102110
{
103111
label: 'GitHub',
104-
href: 'https://github.com/facebook/docusaurus',
112+
href: 'https://github.com/GroceriStar/groceristar-fetch',
105113
},
106114
],
107115
},
108116
],
109-
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
117+
copyright: `Copyright © ${new Date().getFullYear()} Food Static Data, Built with Docusaurus.`,
110118
},
111119
prism: {
112120
theme: lightCodeTheme,

docusaurus/my-website/sidebars.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,34 @@ const sidebars = {
2020
}],
2121

2222
// But you can create a sidebar manually
23-
/*
23+
2424
tutorialSidebar: [
2525
{
2626
type: 'category',
2727
label: 'Tutorial',
2828
items: ['hello'],
2929
},
3030
],
31-
*/
31+
32+
33+
// docsSidebar: [
34+
// {
35+
// type: 'category',
36+
// label: 'Documentation',
37+
// items: [
38+
// "intro",
39+
// "chickenkyiv-project",
40+
// "groceristar-project",
41+
// "mealcalendar-project",
42+
// "searchapi-project",
43+
// "searchform-project",
44+
// "GraphQL",
45+
// "Selector",
46+
// "stretch-goals",
47+
// ]
48+
// }
49+
// ]
50+
3251
};
3352

3453
module.exports = sidebars;
414 KB
Loading

0 commit comments

Comments
 (0)