Giter VIP home page Giter VIP logo

gedoor.github.io's Introduction

开源阅读官网

  • 该网站是使用现代静态网站生成器 Docusaurus 2 构建的。
  • 阅读APP项目地址 - Github

贡献

Alt

向网站贡献内容

你可以专注于内容创作,只需编写 Markdown 文件即可。

网站目录结构

gedoor.github.io  #网站的根目录
├──blog  #博客
│   ├── 2022-08-01-book-source.md  #八月书源更新
│   ├── authors.yaml  #作者信息
│   └── ...
├──docs  #文档
│   ├── GettingStarted.md  #入门
│   └── ...
├──src
│   └──pages  #独立页面
│       ├── download.md  #下载
│       └── ...
├── docusaurus.config.js  #网站配置
├── ...

帮助我们改进网站

安装阅读官网

Docusaurus 本质上是一组 npm 包

要求

  • Node.js

    • v16.14 或以上版本(你可以运行 node -v 命令查看版本号)。

    • 你可以用 nvm 来管理同一机器上的多个 Node 版本。

    • 安装 Node.js 时,建议勾选所有和依赖相关的选项。

流程

1.将项目克隆到本地

您也可以使用 Github 桌面客户端

  1. 复刻仓库

  2. 克隆复刻

2.运行开发服务器

要实时预览你的编辑,你可以运行本地开发服务器。它会部署网站,并反映最新更改。

  1. gedoor.github.io 文件夹空白处按下 Shift + 右键 ,选择 在终端打开

  2. 在 Windows PowerShell 中运行下面代码:

    npm run start
    

默认情况下,浏览器会自动打开 http://localhost:3000 的新窗口。

恭喜! 你刚刚成功运行了网站! 四处逛逛,并对其改进。

3.提交代码
  1. 创建和推送更改

  2. 创建拉取请求

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.