Git Product home page Git Product logo

dromara.github.io's Introduction

Dromara 官方网站

Website Deploy

此项目保存了用于构建 Dromara 官方网站的所有资源,网站托管在 https://dromara.org/.

此网站使用 VuePress Theme Hope 主题的 V2 版本构建。V2 基于 VuePress2, 带有 Vite4 / Webpack5Vue3 的强大功能。

新增文档

1. 定位到源文件夹

  • 对于英文内容,请导航至相应的文件夹,例如 src\news
  • 对于中文内容,请导航至中文的相应文件夹,例如 src\zh\news

2. 复制已有文档

  • 从相应的文件夹中找到一篇已有的文档作为模板进行复制,鉴于文档格式有特殊要求。

3. 修改 Frontmatter

  • 更新复制文档中的 Frontmatter 信息。需要修改的信息包括:
    • 标题
    • 作者
    • 标签
    • 日期
    • 封面
  • 请注意,head 部分的内容保持不变。

通过遵循以上步骤,你应该可以顺利地新增所需的文档。

安装

pnpm install

本地开发

  • 使用以下命令启动本地化网站。然后,您的网站可以在 http://localhost:8080/ 上访问。
pnpm start
  • 更改完成可使用以下命令检查格式。
pnpm lint

贡献

  • 创建新分支
  • 提交并推送内容更改 (例如 /src/zh/activity 中的 .md 文件,须遵守同类型文章的 frontmatter).
  • 翻译 markdown 文件,提交并推送内容更改 (例如 /src/activity 中的 .md 文件).
  • master 分支提交 pull request

许可

Apache 2.0 License.

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.