Skip to content

Commit

Permalink
Add contribute tab
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsukiKigoshi committed Jul 30, 2024
1 parent e220b11 commit 15c93e6
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 20 deletions.
33 changes: 33 additions & 0 deletions docs/contribute/specification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
sidebar_position: 1
---

# Specification

### Mission

- Enhance the liberal arts

### Motivation

-

### Members (Call for members)

### Features

1. Syllabus search feature (incl. advanced filter, integrated curriculum tree)
2. Enrolled courses save feature via online database
3. Course recommendation system based on the user data with privacy security

### Notes

- App
- https://www.catalogue.icu (redirected from https://www.catalogue.icu)
- repo: https://github.com/ItsukiKigoshi/icu-catalogue (not yet created)
- API
- https://api.catalogue.icu (not yet deployed)
- repo: https://github.com/ItsukiKigoshi/icu-catalogue-api
- Docs
- https://docs.catalogue.icu
- repo: https://github.com/ItsukiKigoshi/icu-catalogue-docs
2 changes: 1 addition & 1 deletion docs/intro.md → docs/tutorial/intro.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 1
sidebar_position: 2
---

# Tutorial Intro
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Tutorial - Basics",
"position": 2,
"position": 3,
"link": {
"type": "generated-index",
"description": "5 minutes to learn the most important Docusaurus concepts."
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Tutorial - Extras",
"position": 3,
"position": 4,
"link": {
"type": "generated-index"
}
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ const config: Config = {
position: "left",
label: "Tutorial",
},
{
type: "docSidebar",
sidebarId: "contributeSidebar",
position: "left",
label: "Contribute",
},
{ to: "/blog", label: "Blog", position: "left" },
{
href: "https://www.catalogue.icu/",
Expand Down
19 changes: 3 additions & 16 deletions sidebars.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";

/**
* Creating a sidebar enables you to:
Expand All @@ -11,21 +11,8 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],

// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
tutorialSidebar: [{ type: "autogenerated", dirName: "tutorial" }],
contributeSidebar: [{ type: "autogenerated", dirName: "contribute" }],
};

export default sidebars;
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function HomepageHeader() {
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro"
to="/docs/tutorial/intro"
>
Go to Docs
</Link>
Expand Down

0 comments on commit 15c93e6

Please sign in to comment.