Commit Graph

14 Commits

Author SHA1 Message Date
Cyril Brulebois
9ff209d1f3 doc: remove executable flag for md, mdx, png, js, and .gitignore files (#3015)
Spotted by lintian running against a Debian package: the executable flag
is strange for all those files in the doc directory.
2022-10-16 16:47:56 +03:00
Bill Mill
f3b6dd9d7e doc/md: add -mod=mod to 'go run' commands in documentation (#2881)
https://go.dev/ref/mod#build-commands is the documentation for the -mod flag. It seems that basically -mod=mod is never harmful in ent's case, all it does is tell the go command that it can add ent to the go.mod file if it's not already present
2022-08-23 21:15:30 +03:00
Amit Shani
d071e0c70a doc/md: fix some broken links (#2589) 2022-06-01 16:44:25 +03:00
MasseElch
2c8e58ce94 entc/gen: skip Table() predicate and warn about reserved schema name (Client) (#2486)
* entc/gen: do no generate `Table()` predicate and warn the user in case of reserved schema name like `Client`.

* doc/md: document reserved schema name

* doc/md: revert reserved schema name as this was already working

* doc/md: rephrase
2022-04-20 16:30:59 +02:00
Frédéric G. MARAND
0d9173c0b9 doc: update schema-def to use proper method (#2416)
The exemple incorrectly adds an ignored `User.Index` method, although ent actually needs a `User.Indexes` method as part of `ent.Interface`
2022-03-20 11:46:06 +02:00
Ariel Mashraki
712d0e1b53 doc/tutorial: add skeleton and initial posts (#1317) 2021-03-09 21:44:03 +02:00
Ariel Mashraki
dd4792f5b3 go: rename module from github.com/facebook/ent => entgo.io/ent (#1226) 2021-02-02 23:03:04 +02:00
Ariel Mashraki
d0b41ab0f6 doc: rename cmd entc to ent (#997) 2020-11-29 10:43:16 +02:00
Ariel Mashraki
fd0a7f9f02 all: facebookincubator/ent => facebook/ent (#660)
ent repository is going to be migrated to facebook organization
2020-08-18 11:05:08 +03:00
Ariel Mashraki
6913e80e43 ent/doc: minor changes for doc websote and readme
Reviewed By: dlvhdr

Differential Revision: D17163026

fbshipit-source-id: 62536da9a450ac80eb224252e12ae8dc835acb11
2019-09-03 07:56:32 -07:00
Ariel Mashraki
684d219a35 ent/doc: grammar and typo fixes
Reviewed By: dlvhdr

Differential Revision: D17152480

fbshipit-source-id: dfd248625ba8be9bf3b5f922f29b476821fdf78e
2019-09-02 02:24:05 -07:00
Ariel Mashraki
9b7ea021ef ent/doc: transaction example and docs
Summary: {F205899335}

Reviewed By: dlvhdr

Differential Revision: D17149531

fbshipit-source-id: cb8595d41ede6f813370564ca688f33d0dfe6905
2019-09-01 07:22:42 -07:00
Ariel Mashraki
51a4dd4412 ent/doc: schema inbtro section
Reviewed By: idoshveki

Differential Revision: D16889912

fbshipit-source-id: 40359e1cf7930c0b0e7afdcfe221061edebee97f
2019-08-19 02:51:47 -07:00
Ariel Mashraki
930cf29367 ent/website: add docs structure
Reviewed By: alexsn

Differential Revision: D16782780

fbshipit-source-id: 084a50bc935597a5be8a5c04b2f9347e683ea45a
2019-08-13 05:31:22 -07:00