Skip to content

Commit 52c50a6

Browse files
committed
code cleanup
1 parent 6632d64 commit 52c50a6

13 files changed

Lines changed: 30 additions & 194 deletions

.gitmodules

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

backend

Lines changed: 0 additions & 1 deletion
This file was deleted.

dashboard

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/Introduction.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
2-
3-
4-
5-
1+
---
2+
slug : /
63
---
74

85
# Lake Monitoring System

docusaurus.config.ts

Lines changed: 19 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
import { themes as prismThemes } from 'prism-react-renderer';
2-
import type { Config } from '@docusaurus/types';
1+
import {themes as prismThemes} from 'prism-react-renderer';
2+
import type {Config} from '@docusaurus/types';
33
import type * as Preset from '@docusaurus/preset-classic';
44

5-
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
6-
75
const config: Config = {
86
title: 'Lake Monitoring System',
97
tagline: 'A website for monitoring the water quality of lakes',
8+
109
favicon: 'img/icon.ico',
1110

12-
// Production URL for GitHub Pages
11+
// Set the production url of your site here
1312
url: 'https://nammalakes.github.io/',
13+
// Set the /<baseUrl>/ pathname under which your site is served
14+
// For GitHub pages deployment, it is often '/<projectName>/'
15+
baseUrl: '/docs/',
1416

15-
// Base URL for GitHub Pages deployment (matches repository name)
16-
baseUrl: '/NammaLakes/',
17-
18-
// GitHub Pages deployment configuration
19-
organizationName: 'NammaLakes', // GitHub org/user name
20-
projectName: 'NammaLakes', // Repository name
17+
// GitHub pages deployment config.
18+
// If you aren't using GitHub pages, you don't need these.
19+
organizationName: 'NammaLakes', // Usually your GitHub org/user name.
20+
projectName: 'docs', // Usually your repo name.
2121
deploymentBranch: 'gh-pages',
22-
22+
2323
onBrokenLinks: 'throw',
2424
onBrokenMarkdownLinks: 'warn',
2525

26-
// Ensures URLs are clean (avoids .html extensions)
27-
trailingSlash: false,
28-
26+
// Even if you don't use internationalization, you can use this field to set
27+
// useful metadata like html lang. For example, if your site is Chinese, you
28+
// may want to replace "en" with "zh-Hans".
2929
i18n: {
3030
defaultLocale: 'en',
3131
locales: ['en'],
@@ -36,56 +36,33 @@ const config: Config = {
3636
'classic',
3737
{
3838
docs: {
39-
sidebarPath: require.resolve('./sidebars.ts'),
40-
},
41-
blog: {
42-
showReadingTime: true,
43-
feedOptions: {
44-
type: ['rss', 'atom'],
45-
xslt: true,
46-
},
47-
// Useful options to enforce blogging best practices
48-
onInlineTags: 'warn',
49-
onInlineAuthors: 'warn',
50-
onUntruncatedBlogPosts: 'warn',
51-
},
52-
theme: {
53-
customCss: require.resolve('./src/css/custom.css'),
39+
sidebarPath: './sidebars.ts',
40+
routeBasePath: '/',
5441
},
42+
blog: false,
5543
} satisfies Preset.Options,
5644
],
5745
],
5846

5947
themeConfig: {
60-
// Social preview image
61-
image: 'img/docusaurus-social-card.jpg',
62-
6348
navbar: {
6449
title: 'NammaLakes',
6550
logo: {
6651
alt: 'NammaLakes',
6752
src: 'img/nammalakes.png',
6853
},
69-
items: [
70-
{
71-
type: 'docSidebar',
72-
sidebarId: 'tutorialSidebar',
73-
position: 'left',
74-
label: 'Docs',
75-
},
54+
items: [
7655
{
7756
href: 'https://github.com/NammaLakes',
7857
label: 'GitHub',
7958
position: 'right',
8059
},
8160
],
8261
},
83-
8462
footer: {
8563
style: 'light',
8664
copyright: `Copyright © ${new Date().getFullYear()} NammaLakes.`,
8765
},
88-
8966
prism: {
9067
theme: prismThemes.github,
9168
darkTheme: prismThemes.dracula,

node

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "my-website",
3-
"version": "0.0.0",
2+
"name": "nammalakes-docs",
3+
"version": "0.0.1",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

src/components/HomepageFeatures.tsx

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

src/css/custom.css

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

0 commit comments

Comments
 (0)