docsify
特性
- 无需构建,写完文档直接发布
- 容易使用并且轻量 (压缩后 ~21kB)
- 智能的全文搜索
- 提供多套主题
- 丰富的 API
- 支持 Emoji
基于Gitlab CI/CD部署
FROM node:10-alpineCOPY / /docs/
WORKDIR /docs
RUN npm i docsify-cli -g --registry=https://registry.npm.taobao.org
EXPOSE 3000/tcp
ENTRYPOINT docsify serve .
apiVersion: apps/v1kind: Deployment
metadata:
name: docsify
namespace: doc
spec:
replicas: 1
selector:
matchLabels:
app: docsify
template:
metadata:
labels:
app: docsify
spec:
imagePullSecrets:
- name: docker-secret
containers:
- name: docsify
image: docker.demo.lan/dapeng/docsify
ports:
- containerPort: 3000
name: web
---
apiVersion: v1
kind: Service
metadata:
name: docsify
namespace: doc
spec:
ports:
- name: web
port: 3000
selector:
app: docsify
以上是 docsify 的全部内容, 来源链接: utcz.com/z/518967.html