Skip to content

Commit

Permalink
Merge pull request #4 from ThaiProgrammer/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ponggun authored Jul 1, 2024
2 parents 01fd430 + 43303dc commit 898d322
Show file tree
Hide file tree
Showing 24 changed files with 2,153 additions and 36 deletions.
55 changes: 47 additions & 8 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,55 @@ export default defineConfig({
function sidebarASPNetCore(): DefaultTheme.SidebarItem[] {
return [
{
text: 'ASP.NET Core', link: 'index',
text: 'ASP.NET Core',
items: [
{
text: 'Basics of CSharp',
collapsed: false,
text: '2024 Bonus Track',
collapsed: true,
base: '/paths/aspnet-core/000-2024-bonus-track/',
items: [
{ text: 'C# Fundamentals', link: '100-2024-bonus-track-01' },
{ text: 'Test Driven Development (TDD)', link: '100-2024-bonus-track-02' },
{ text: 'เริ่มต้นอีกครั้งกับ .NET 6 Web API', link: '100-2024-bonus-track-03' },
{ text: 'Clean Architecture', link: '100-2024-bonus-track-04' },
{ text: 'Beginner Playlist', link: '100-2024-bonus-track-05' },
{ text: 'Awesome .NET', link: '100-2024-bonus-track-06' },
]
},
{
text: 'เรื่องพื้นฐานที่ควรรู้เกี่ยวกับ C#',
collapsed: true,
base: '/paths/aspnet-core/100-basics-of-csharp/',
items: [
{ text: 'CSharp', link: '100-csharp' },
{ text: 'Dotnet', link: '101-dotnet' },
{ text: 'Dotnet CLI', link: '102-dotnet-cli' },
{ text: 'ภาษา C# คืออะไร', link: '100-csharp' },
{ text: 'Dotnet คืออะไร', link: '101-dotnet' },
{ text: 'Dotnet CLI คืออะไร', link: '102-dotnet-cli' },
]
},
{
text: 'ความรู้เบื้องต้นที่สำคัญที่ช่วยในการศึกษา C# ได้ดียิ่งขึ้น',
collapsed: true,
base: '/paths/aspnet-core/101-general-development-skills/',
items: [
{ text: 'ความรู้เบื้องต้นที่สำคัญที่ช่วยในการศึกษา C# ได้ดียิ่งขึ้น', link: '000-index' },
{ text: 'Git', link: '100-git' },
{ text: 'Azure Devops Services', link: '101-azure-devops-services' },
{ text: 'Repo Hosting Services', link: '102-vcs-hosting-services' },
{ text: 'HTTPS', link: '103-http-https' },
{ text: 'Data Structures', link: '104-datastructures-and-algorithms' },
]
},
{
text: 'Database fundamentals',
collapsed: true,
base: '/paths/aspnet-core/102-database-fundamentals/',
items: [
{ text: 'Database fundamentals', link: '000-index' },
{ text: 'Database design basics', link: '100-database-design-basics' },
{ text: 'Sql basics', link: '101-sql-basics' },
{ text: 'Stored Procedures', link: '102-stored-procedures' },
{ text: 'Constraints', link: '103-constraints' },
{ text: 'Triggers', link: '104-triggers' },
]
},
]
Expand All @@ -45,7 +84,7 @@ function sidebarASPNetCore(): DefaultTheme.SidebarItem[] {
function sidebarDevOps(): DefaultTheme.SidebarItem[] {
return [
{
text: 'DevOps', link: 'index',
text: 'DevOps',
items: [
{
text: 'Language',
Expand All @@ -66,7 +105,7 @@ function sidebarDevOps(): DefaultTheme.SidebarItem[] {
function sidebarJava(): DefaultTheme.SidebarItem[] {
return [
{
text: 'Java', link: 'index',
text: 'Java',
items: [
{
text: 'Java fundamentals',
Expand Down
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
# tpa-path
# tpa-path

## Installation
### Prerequisites
- [Node.js](https://nodejs.org/) version 18 or higher.
- Terminal for accessing VitePress via its command line interface (CLI).
- Text Editor with [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax support.
- [VSCode](https://code.visualstudio.com/) is recommended, along with the [official Vue extension](https://marketplace.visualstudio.com/items?itemName=Vue.volar).

VitePress can be used on its own, or be installed into an existing project. In both cases, you can install it with:

```bash
$ npm add -D vitepress
```

### Up and Running
The tool should have also injected the following npm scripts to your `package.json` if you allowed it to do so during the setup process:

```json
{
...
"scripts": {
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
...
}
```
The `docs:dev` script will start a local dev server with instant hot updates. Run it with the following command:

```bash
$ npm run docs:dev
```
Loading

0 comments on commit 898d322

Please sign in to comment.