Skip to content

Commit

Permalink
feat: install tex packages, beautify, Merge pull request #1 from Samu…
Browse files Browse the repository at this point in the history
…ka007:main

feat: install tex packages, beautify
  • Loading branch information
Samuka007 authored Sep 18, 2024
2 parents 82c11fe + 62d436d commit 72b0b72
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 43 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.15",
"mathjax-full": "^3.2.2",
"vue": "^3.5.6",
"vuepress": "2.0.0-rc.15",
"vuepress-theme-hope": "2.0.0-rc.52"
Expand Down
71 changes: 65 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,12 @@ export default navbar([
// "/portfolio",
// "/demo/",
{
text: "编写指南",
icon: "book",
link: "/demo/",
},
{
text: "指南",
text: "Get Started",
icon: "lightbulb",
prefix: "/guide/",
children: [
"bar/",
"foo/",
"windows_cpp",
{ text: "更多内容", icon: "ellipsis", link: "" }
// {
// text: "Bar",
// icon: "lightbulb",
Expand All @@ -30,6 +25,11 @@ export default navbar([
// },
],
},
{
text: "编写指南",
icon: "book",
link: "/demo/",
},
{
text: "OSC Lab",
icon: "laptop-code",
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export default sidebar({
// // link: "https://plugin-md-enhance.vuejs.press/zh/guide/content/revealjs/demo.html",
// // },
// ],
"/demo/": "structure",
"/guide/": "structure",
"/demo/": "structure",
});
6 changes: 3 additions & 3 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import navbar from "./navbar.js";
import sidebar from "./sidebar.js";

export default hopeTheme({
hostname: "https://vuepress-theme-hope-docs-demo.netlify.app",
hostname: "https://guide.scutosc.cn/",

author: {
name: "SCUT Open Source Community",
url: "https://github.com/SCUTOSC",
url: "https://github.com/SCUTOSC/",
},

iconAssets: "fontawesome-with-brands",
Expand Down Expand Up @@ -110,7 +110,7 @@ export default hopeTheme({
// katex: true,

// 在启用之前安装 mathjax-full
// mathjax: true,
mathjax: true,

// 在启用之前安装 mermaid
// mermaid: true,
Expand Down
46 changes: 23 additions & 23 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ heroText: OSC Guide
heroFullScreen: true
tagline: "由华工开源俱乐部,携手众学生,共同倾心打造。"
actions:
- text: 使用指南
- text: 开始阅读
icon: lightbulb
link: ./demo/
link: ./guide/
type: primary

- text: 文档
link: ./guide/
- text: 编写指南
link: ./demo/

highlights:
- header: 可定制的页面
description: 完整无障碍支持的可定制外观
image: /assets/image/ui.svg
bgImage: https://theme-hope-assets.vuejs.press/bg/9-light.svg
bgImageDark: https://theme-hope-assets.vuejs.press/bg/9-dark.svg
highlights:
- title: 深色模式
icon: circle-half-stroke
details: 可以自由切换浅色模式与深色模式
link: https://theme-hope.vuejs.press/zh/guide/interface/darkmode.html
# highlights:
# - header: 可定制的页面
# description: 完整无障碍支持的可定制外观
# image: /assets/image/ui.svg
# bgImage: https://theme-hope-assets.vuejs.press/bg/9-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/9-dark.svg
# highlights:
# - title: 深色模式
# icon: circle-half-stroke
# details: 可以自由切换浅色模式与深色模式
# link: https://theme-hope.vuejs.press/zh/guide/interface/darkmode.html

- title: 主题色切换
icon: palette
details: 支持自定义主题色并允许用户在预设的主题颜色之间切换
link: https://theme-hope.vuejs.press/zh/guide/interface/theme-color.html
# - title: 主题色切换
# icon: palette
# details: 支持自定义主题色并允许用户在预设的主题颜色之间切换
# link: https://theme-hope.vuejs.press/zh/guide/interface/theme-color.html

- title: 更多
icon: ellipsis
details: RTL 布局,打印支持,全局按钮等
link: https://theme-hope.vuejs.press/zh/guide/interface/others.html
# - title: 更多
# icon: ellipsis
# details: RTL 布局,打印支持,全局按钮等
# link: https://theme-hope.vuejs.press/zh/guide/interface/others.html

# copyright: Samuka007
# footer: 使用 <a href="https://theme-hope.vuejs.press/zh/" target="_blank">VuePress Theme Hope</a> 主题 | CC-BY-SA-4.0 协议, 版权所有 © 2024-至今
7 changes: 5 additions & 2 deletions src/guide/windows_cpp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "VSCode C++项目 Windows环境 从零配置保姆指南"
title: "C++ on Windows"
date: 2024-09-13T14:04:21+08:00
author: { name: Samuka007, url: https://github.com/Samuka007 }
categories:
Expand All @@ -8,9 +8,12 @@ tags:
- "VSCode"
- "C++"
- "Windows"
summary: 本篇指南会带你从零开始,在完全干净的Windows环境中,配置一个足够上项目规模的,基于VSCode的,现代的C++开发环境。
summary: 本篇指南会带你从零开始,在完全干净的Windows环境中,配置一种足够上项目规模的,基于VSCode的,现代的C++开发环境。
---

:::tip VSCode C++项目 Windows环境 从零配置保姆指南
:::

本篇指南会带你从零开始,在完全干净的Windows环境中,配置一个足够上项目规模的,基于VS Code的,现代的C++开发环境。

如果有不明白的步骤,也可以参考本人录制的[B站视频](https://www.bilibili.com/video/BV13F4WeLEqR),如果对你有帮助请不吝送上三连~
Expand Down

0 comments on commit 72b0b72

Please sign in to comment.