CLAUDE
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
概述
这是 zmurder.github.io 博客的 Hexo 源码仓库。博客使用 Hexo + NexT 主题,内容主要为技术笔记,涵盖 CUDA、TensorRT、DeepLearning、Linux、ESP32、RaspberryPi 等领域。
Hexo 常用命令
1 | hexo server # 本地预览 (http://localhost:4000) |
目录结构
source/_posts/— 所有博客文章的 Markdown 源文件,按子目录分类(如CUDA/、TensorRT/、esp32/等)source/fragment/Markdown数学公式/— 数学公式的 SVG 组件(供 Markdown 引用)hexo/— 有关 Hexo 博客搭建和维护的文章themes/next/— NexT 主题(子模块)_config.yml— Hexo 主配置(url、deploy、theme: next等)
文章组织
- 每篇文章放在
source/_posts/<category>/子目录下 post_asset_folder: true开启后,创建文章时会自动生成同名文件夹存放图片- 文章通过
hexo-auto-category或hexo-enhancer根据目录路径自动生成分类 - 标签在
_config.yml的tags:字段中定义,文章中出现对应关键词会自动打标签
部署
部署目标为 git@github.com:zmurder/zmurder.github.io.git,分支 master。.deploy_git/ 为临时部署目录。