Comments (6)
https://docs.travis-ci.com/user/deployment/pages/
from examples.
OR, with circleci deployment.sh, like below
mkdir build
- checkout this repo to
build/examples
- checkout docs to
build/docs
- run
gulp build
underbuild/examples
- run
git -C build/docs commit -a -m "update examples"
- run
git -C build/docs push --force
, after setup token(how to?)
circle ci 1.0
https://circleci.com/docs/1.0/configuration/#deployment
circle ci 2.0
https://circleci.com/docs/2.0/deployment_integrations/
from examples.
我认为, travis ci的deploy还是简单些.
对于这个repo, 可以改名为maptalks/examples, 然后发布到它的gh-pages分支, 形成https://maptalks.github.io/examples/en/index.html
这样的url;
对于api文档, 可以发布到maptalks/maptalks.js的gh-pages分支, 也可以新建一个repo, 如maptalks/api;
from examples.
CircleCI的deploy也不算是很复杂, 这里有个参考.
- 需要设置ssh key(machine user key/github user key), 或者OAuth Token. 自行评估三种方式的安全性.
- circle.yml里的deployment配置
- deployment脚本
- CircleCI的WebUI中的git相关环境变量(如果写在deployment脚本中, 就不需要)
对于发布的目标位置(gh-pages的话), 我觉得仓库自身的gh-pages分支比较好.
@fuzhenn @brucin
from examples.
circleCI目前比较强势, 到处在打广告, 我们还是用circleCI
我也同意按你说的, 把页面发布在仓库自身的gh-pages中.
那就按照你的想法先把examples做一下吧
- 用circleCI
- CI中设置maptalks-doc-robot的ssh key
- 编写脚本, 每次更新时, 自动生成页面并commit到gh-pages分支中
from examples.
API文档的生成有两个选择:
- 按你说的提交到maptalks.js的gh-pages分支中
- 每次npm publish时, 在maptalks.js的master/doc目录下生成文档(github支持在master/doc下发布网站)
我感觉第二个选择也不错
from examples.
Related Issues (20)
- 9.1 模型位置和视频无法吻合
- 5.4 模拟交通整理成一个单独的大类 HOT 1
- vt的性能太差了 HOT 1
- 优化identify代码 HOT 1
- 增加动态修改后处理设置得示例
- 增加ExtrudePolygonLayer顶面渐变贴图的示例
- maptiler4326的图层设置需要调整 HOT 1
- VectorTileLayer图层初始化参数调整 HOT 1
- ExtrudePolygon实现光幕效果
- code error HOT 1
- 增加有高度的点线面的GeoJSONVectorTileLayer相关示例
- 雾示例出现的问题
- 线填充动画的示例不是很好看
- 添加地形示例和文档说明
- add UIMarker bind mvvm component
- add UIMarker bind mvvm component
- 增加用vt在extrusion上添加文字的示例
- 增加加载中科星图地形和矢量瓦片数据的示例
- Create a altitude wall along GeoJSONVectorTileLayer HOT 2
- Infowindow的动画属性没有效果
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.