Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

补充说明:预览文档不需要执行构建 #28

Open
jingjingxyk opened this issue Dec 22, 2023 · 0 comments
Open

补充说明:预览文档不需要执行构建 #28

jingjingxyk opened this issue Dec 22, 2023 · 0 comments

Comments

@jingjingxyk
Copy link

jingjingxyk commented Dec 22, 2023

补充说明:

预览文档,只需要进入 zh-ch/ 目录 运行web 服务即可

浏览器打开 http://0.0.0.0:9503 即可预览文档

cd  docs/zh-ch/

php -S 0.0.0.0:9503 -t .   
# or 
docker run --rm --name swoole-docs  -v $(pwd):/usr/share/nginx/html/  -p 9503:80  nginx:1.25-alpine

浏览器打开: http://0.0.0.0:9503 即可预览

修改实时文档预览

文档工具使用的是 Docsify

cd zh-ch

docsify serve  .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant