doc: replace diagram examples links (#3435)

* cmd/internal: fix help message for "new" command

* doc: replace example links
This commit is contained in:
Noam Cattan
2023-04-03 16:38:57 +03:00
committed by GitHub
parent e685413055
commit d143432580
3 changed files with 24 additions and 23 deletions

View File

@@ -18,10 +18,10 @@ Edges are the relations (or associations) of entities. For example, user's pets,
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![erd-group-users](https://entgo.io/images/assets/erd/edges-quick-summary.png)](https://gh.atlasgo.cloud/explore/38be6c19)
[![erd-group-users](https://entgo.io/images/assets/erd/edges-quick-summary.png)](https://gh.atlasgo.cloud/explore/saved/60129542144)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/38be6c19"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542144"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -211,10 +211,10 @@ Let's go over a few examples that show how to define different relation types us
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-o2o-two-types](https://entgo.io/images/assets/erd/edges-o2o-two-types.png)](https://gh.atlasgo.cloud/explore/b6264668)
[![edges-o2o-two-types](https://entgo.io/images/assets/erd/edges-o2o-two-types.png)](https://gh.atlasgo.cloud/explore/saved/60129542145)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/b6264668"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542145"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -309,10 +309,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-linked-list](https://entgo.io/images/assets/erd/edges-o2o-same-type.png)](https://gh.atlasgo.cloud/explore/6645164b)
[![edges-linked-list](https://entgo.io/images/assets/erd/edges-o2o-same-type.png)](https://gh.atlasgo.cloud/explore/saved/60129542146)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/6645164b"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542146"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -419,10 +419,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-o2o-bidirectional](https://entgo.io/images/assets/erd/edges-o2o-bidirectional.png)](https://gh.atlasgo.cloud/explore/e2e76d55)
[![edges-o2o-bidirectional](https://entgo.io/images/assets/erd/edges-o2o-bidirectional.png)](https://gh.atlasgo.cloud/explore/saved/60129542147)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/e2e76d55"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542147"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -529,10 +529,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-o2m-two-types](https://entgo.io/images/assets/erd/edges-o2m-two-types.png)](https://gh.atlasgo.cloud/explore/8a360fce)
[![edges-o2m-two-types](https://entgo.io/images/assets/erd/edges-o2m-two-types.png)](https://gh.atlasgo.cloud/explore/saved/60129542148)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/8a360fce"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542148"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -654,10 +654,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-o2m-same-type](https://entgo.io/images/assets/erd/edges-o2m-same-type.png)](https://gh.atlasgo.cloud/explore/74c74ac7)
[![edges-o2m-same-type](https://entgo.io/images/assets/erd/edges-o2m-same-type.png)](https://gh.atlasgo.cloud/explore/saved/60129542149)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/74c74ac7"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542149"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -799,10 +799,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-m2m-two-types](https://entgo.io/images/assets/erd/edges-m2m-two-types.png)](https://gh.atlasgo.cloud/explore/25b70c29)
[![edges-m2m-two-types](https://entgo.io/images/assets/erd/edges-m2m-two-types.png)](https://gh.atlasgo.cloud/explore/saved/60129542150)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/25b70c29"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542150"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -920,10 +920,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-m2m-same-type](https://entgo.io/images/assets/erd/edges-m2m-same-type.png)](https://gh.atlasgo.cloud/explore/8cb4fd4e)
[![edges-m2m-same-type](https://entgo.io/images/assets/erd/edges-m2m-same-type.png)](https://gh.atlasgo.cloud/explore/saved/60129542151)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/8cb4fd4e"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542151"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -1043,10 +1043,10 @@ The full example exists in [GitHub](https://github.com/ent/ent/tree/master/examp
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-m2m-bidirectional](https://entgo.io/images/assets/erd/edges-m2m-bidirectional.png)](https://gh.atlasgo.cloud/explore/74c5bd30)
[![edges-m2m-bidirectional](https://entgo.io/images/assets/erd/edges-m2m-bidirectional.png)](https://gh.atlasgo.cloud/explore/saved/60129542152)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/74c5bd30"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542152"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>
@@ -1228,10 +1228,10 @@ is automatically set on creation.
</TabItem>
<TabItem value="erd" label="ERD and SQL">
[![edges-schema](https://entgo.io/images/assets/erd/edges-schema.png)](https://gh.atlasgo.cloud/explore/90e2415f)
[![edges-schema](https://entgo.io/images/assets/erd/edges-schema.png)](https://gh.atlasgo.cloud/explore/saved/60129542153)
<div style={{textAlign: 'center'}}>
<a href={"https://gh.atlasgo.cloud/explore/90e2415f"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
<a href={"https://gh.atlasgo.cloud/explore/saved/60129542153"} style={{fontSize: 12}}>ERD was generated by Atlas</a>
</div>
</TabItem>