Giter Site home page Giter Site logo

ceobe-canteen-blog's Introduction

“很怪的笔记”

Netlify Status pnpm Docusaurus

博士捡到了一本笔记本,你有什么头猪吗?

笔记扉页

ceobo

Ceobe Blog 使用 Docusaurus 2 构建! 包管理工具是 pnpm 哦! 日记交给 Netlify 托管啦!

使用笔记本

想要写笔记吗?你要有笔记本哦!

#安装依赖
pnpm i

启动本地预览

博士说,写笔记前需要先打开日记本!

# 启动一个本地开发服务器,并打开一个浏览器窗口。
pnpm start
# 大多数更改都可以实时反映,无需重新启动服务器。

开始写咯

火神大姐说,新的日记要写在新的一页上!嗯!

我想写日记

blog 目录下新建一个 .md 文件,取名为 <YYYY>-<MM>-<DD>-<Title>.md,然后开始写吧!

在文件开头加上以下内容:

---
slug: <想要显示在侧边栏的文本>
title: <博客标题>
authors:
  name: <作者名字>
  title: <作者介绍>
  url: <作者链接>
  image_url: <作者头像链接>
  email: <作者邮箱>
tags: [<标签1>, <标签2>, ...]
---

更详细的用法小刻记在笔记本里啦!

我想记笔记

docs 目录下新建一个 .md 文件,取名为 <index>-<Title>.md,然后开始写吧!

在文件开头加上以下内容:

---
id: <文档id>
title: <文档标题>
tags: [<标签1>, <标签2>, ...]
---

更详细的用法小刻记在笔记本里啦!

日记写完啦

角峰大叔说写完的日记要保管好哦!

# 将更改推送到远程分支
# 假设你的更改正确的处于一个基于最新的 main 分支的 new-page 分支上
git add .
git commit -m ":memo: <日记标题>"
git push origin new-page

日记本要更新啦

好啦,日记写完啦,去告诉火神大姐他们吧!

在GitHub上创建一个新的Pull Request,请求将你的更改合并到主分支
GitHub Actions将自动构建并生成更改的预览
合并后,Netlify将自动部署

ceobe-canteen-blog's People

Contributors

azidecupric avatar goodjooy avatar phidialam avatar

Watchers

YuI avatar

Forkers

goodjooy

ceobe-canteen-blog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.