Update .gitignore and mkdocs.yml config

Added site directory to .gitignore for GitHub Pages output. Adjusted mkdocs.yml formatting and moved use_directory_urls to the top for improved clarity.
This commit is contained in:
PurplePower
2025-08-26 15:08:33 +08:00
parent c80243d784
commit 135cecdc6a
2 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View File

@@ -18,3 +18,6 @@ target
# #
misc/lab*_ans.yaml misc/lab*_ans.yaml
# github pages
site/**/*

View File

@@ -1,11 +1,10 @@
site_name: 2025-Yatcpu-Fall-Docs site_name: 2025-Yatcpu-Fall-Docs
site_author: Tokisakix site_author: Tokisakix
copyright: Copyright © 2023 Tokisakix copyright: Copyright © 2023 Tokisakix
use_directory_urls: false
nav: nav:
- 前言: docs/index.md - 前言: docs/index.md
- 最终验收: docs/test.md - 最终验收: docs/test.md
- docs/better-tut/intro.md - docs/better-tut/intro.md
- 实验环境配置: - 实验环境配置:
@@ -52,7 +51,7 @@ theme:
- content.tabs.link - content.tabs.link
- navigation.expand - navigation.expand
use_directory_urls: false
markdown_extensions: markdown_extensions:
- toc: - toc:
permalink: "🚁" permalink: "🚁"