Coder Social home page Coder Social logo

关于目前在用的几个问题 about rdoc HOT 3 OPEN

jaywcjlove avatar jaywcjlove commented on August 14, 2024
关于目前在用的几个问题

from rdoc.

Comments (3)

jaywcjlove avatar jaywcjlove commented on August 14, 2024

@zhuhoudan
需求

  1. 默认板式支持移动端,这个要在有空的时候搞一下。
  2. icon支持替换

第二个需求是支持的 https://react-doc.github.io/#/introduce/api/conf

package.json 中添加配置

{
  "name": "doc",
  "version": "1.0.0",
  "scripts": {
    "deploy": "rdoc --publish <your repo url>",
    "build": "rdoc -d home,introduce --clean --build",
    "start": "rdoc -d home,introduce --clean"
  },
  "rdoc": {
    "theme": "rdoc-theme-load-react",
+    "favicon": "./assets/favicon.ico",
+    "logo": "./assets/rdoc.logo.svg",
    "react_modules": {
      "Hotkeys": "react-hot-keys"
    }
  },
  "dependencies": {
    "rdoc": "1.4.x",
    "rdoc-theme-load-react": "^1.1.0",
    "react-hot-keys": "^1.1.0"
  }
}

或者在 .rdocrc.json 中添加配置。

{
  "title": "Rdoc title",
  "theme": "rdoc-theme-load-react",
  "favicon": "./assets/favicon.ico",
  "logo": "./assets/rdoc.logo.svg",
  "react_modules": {
    "Hotkeys": "react-hot-keys"
  }
}

from rdoc.

zhuhoudan avatar zhuhoudan commented on August 14, 2024
  1. 默认版式目前支持移动端是没错的,但是版式的排版是很不友好。
  2. icon是支持换的,这个我是知道的,我是想说Copyright支不支持不更改主题的方式更换呢?

from rdoc.

jaywcjlove avatar jaywcjlove commented on August 14, 2024

@zhuhoudan Copyright 也是支持的,你把皮肤拷贝出来,改一下就还了

from rdoc.

Related Issues (20)

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.