Giter Site home page Giter Site logo

xfusion-docs's Introduction

Document

本地构建与测试

如需本地预览效果,请确保已经安装(nodejs >= 18)环境

# 安装依赖
npm install

# 在开发模式中查看效果
npm run docs:dev

# 编译为静态文件
npm run docs:build

# 在开发模式中查看效果
npm run docs:preview

tips

文档生成配置所在目录 doc/.vitepress 目录下的 config 文件或者 config目录 vitepress会自动导入 config文件或者config文件夹下的index.mts文件

其中的字段 sidebar 表示配置 侧边栏 ,nav表示配置导航栏,具体细节可以参考 vitepress 官方文档

github actions

deploy.yml 配置依赖于 yarn.lock 文件。若使用 github actions 配合 GitHub 自动生成页面, 请保证 github {path}/settings/actions 页面内单选项全部选择顶部第一个。

在第一次生成后,将 gh-pages 分支(详见配置 deploy.yml) 设为 GitHub pages,后续页面更新由 actions 自动完成。

xfusion-docs's People

Contributors

coralzone avatar 303u avatar

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.