Compare commits

...

1 Commits

Author SHA1 Message Date
Nico 34f9904986 started directus doc 2022-10-03 20:46:29 +02:00
10 changed files with 139 additions and 118 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

29
docs/directus/index.md Normal file
View File

@ -0,0 +1,29 @@
---
layout: doc
---
# Directus
Outil de gestion de contenus (CMS).
## Présentation
Directus est un outil permettant de gérer des informations stockées dans une base de données. Ici, il va nous permettre d'administrer les contenus d'un site web.
## Interface
### Connexion
L'interface d'administration est accessible via l'URL qui vous a été communiquée.
![](./assets/directus-login.jpg)
### Contenus (collections)
Les contenus sont organisés en "collections". Généralement, une collection représente une page ou un ensemble de pages identiques.
Exemple de collection de pages identiques. Ici, les champs de contenus sont configurés à l'avance.
![](./assets/collections-asso.jpg)
Exemple de collection d'une page unique. Chaque nouvel élément créé dans cette collection deviendra une page sur le site.
![](./assets/collections-accueil.jpg)

View File

@ -7,7 +7,7 @@
"serve": "vitepress serve docs"
},
"devDependencies": {
"vitepress": "1.0.0-alpha.16",
"vue": "^3.2.39"
"vitepress": "1.0.0-alpha.19",
"vue": "^3.2.40"
}
}

224
yarn.lock
View File

@ -286,160 +286,160 @@ __metadata:
languageName: node
linkType: hard
"@vitejs/plugin-vue@npm:^3.1.0":
version: 3.1.0
resolution: "@vitejs/plugin-vue@npm:3.1.0"
"@vitejs/plugin-vue@npm:^3.1.2":
version: 3.1.2
resolution: "@vitejs/plugin-vue@npm:3.1.2"
peerDependencies:
vite: ^3.0.0
vue: ^3.2.25
checksum: 351436306090dee709314f71bb52f0b502c284c8f556d4aecbbdfea840b1d35a8af32e78e962df28d3a6034a75c78886448e3371cee320f711dab833f6ada274
checksum: 1da84ccfc8f31b612ad51dfbbbc39816900346168c1b66a0870ddeddc622d227ac9a1d571a94d9bc63c75e50320fb8b2f7c986a115e0b87140100b0ac35b9fd6
languageName: node
linkType: hard
"@vue/compiler-core@npm:3.2.39":
version: 3.2.39
resolution: "@vue/compiler-core@npm:3.2.39"
"@vue/compiler-core@npm:3.2.40":
version: 3.2.40
resolution: "@vue/compiler-core@npm:3.2.40"
dependencies:
"@babel/parser": ^7.16.4
"@vue/shared": 3.2.39
"@vue/shared": 3.2.40
estree-walker: ^2.0.2
source-map: ^0.6.1
checksum: dd70ed60b14faba2f46a2a99ddf20819db7dff124dd49ec15ba76ea3c6d8311feca4256d4dac8e8316c6670434cbb7c0c6a2cb5f6e97b321ba42ff454102c3be
checksum: 2683bf13ef93701af1ca4850e887c8d4d67e5583b9c426fc2b08b5512df090bc464955f031cca9f52c11cc6ad49f1ab682011fdf3ba0b6c63b5ae8bea4e68c69
languageName: node
linkType: hard
"@vue/compiler-dom@npm:3.2.39":
version: 3.2.39
resolution: "@vue/compiler-dom@npm:3.2.39"
"@vue/compiler-dom@npm:3.2.40":
version: 3.2.40
resolution: "@vue/compiler-dom@npm:3.2.40"
dependencies:
"@vue/compiler-core": 3.2.39
"@vue/shared": 3.2.39
checksum: 505a8f8515f8551795e3a01859d451645e0bd77be2d70d5c48f6edd02ebc255d911230c66ccfc478fd0218ab8a7b69bd99e2c12b406db4889285058f52d13363
"@vue/compiler-core": 3.2.40
"@vue/shared": 3.2.40
checksum: d928a16ebdda9d91a579546d108c9399f8c9a5c9c976196cfefa32f10c0ecb3111233c3291ba05898def85fcfccdc71e3446b977a7cdbc0d47d5d47b0dac75a3
languageName: node
linkType: hard
"@vue/compiler-sfc@npm:3.2.39":
version: 3.2.39
resolution: "@vue/compiler-sfc@npm:3.2.39"
"@vue/compiler-sfc@npm:3.2.40":
version: 3.2.40
resolution: "@vue/compiler-sfc@npm:3.2.40"
dependencies:
"@babel/parser": ^7.16.4
"@vue/compiler-core": 3.2.39
"@vue/compiler-dom": 3.2.39
"@vue/compiler-ssr": 3.2.39
"@vue/reactivity-transform": 3.2.39
"@vue/shared": 3.2.39
"@vue/compiler-core": 3.2.40
"@vue/compiler-dom": 3.2.40
"@vue/compiler-ssr": 3.2.40
"@vue/reactivity-transform": 3.2.40
"@vue/shared": 3.2.40
estree-walker: ^2.0.2
magic-string: ^0.25.7
postcss: ^8.1.10
source-map: ^0.6.1
checksum: b82755eec28c03800e38b99603a90b85af03d670558c845f9916650fea5cac8c2eb1511d66aa71e602ca9af8d2795e9f6a16fc867efce8c8694a6ea106f0ac95
checksum: 96cbfd078ad9c5718afced84a1a46dfed87f61bb30ff50ebb929331470d11e672d6a090ad5766ff1e60a5287b7596be31f925af44b6b1bdf69b6f14e938ae7e2
languageName: node
linkType: hard
"@vue/compiler-ssr@npm:3.2.39":
version: 3.2.39
resolution: "@vue/compiler-ssr@npm:3.2.39"
"@vue/compiler-ssr@npm:3.2.40":
version: 3.2.40
resolution: "@vue/compiler-ssr@npm:3.2.40"
dependencies:
"@vue/compiler-dom": 3.2.39
"@vue/shared": 3.2.39
checksum: 27323a548df3696d38a8b029b55e136fc94195f1a9e12a25161a8d524cc779dbcc5f69db525a8d86f6ed28326f9f8595db5ba94ccaa7c8f127f752be36bffe5f
"@vue/compiler-dom": 3.2.40
"@vue/shared": 3.2.40
checksum: 026461fcee54cf9968b1e12c32dada6dcde0a322919aa5a2c2e6e13cff7b6b2bdbc06860796895a8deef03ed1f8000e4320878576c498a1f218a62aa3e1c0bf6
languageName: node
linkType: hard
"@vue/devtools-api@npm:^6.2.1":
version: 6.2.1
resolution: "@vue/devtools-api@npm:6.2.1"
checksum: 34765af0be9b0cc7e3def73b2792b1514e3c348852c5a7503fe07d013f0e907af6c27c0a32c0637dd748caf37c075af8e53ca3220433e0bd34b6f3405f358272
"@vue/devtools-api@npm:^6.4.2":
version: 6.4.3
resolution: "@vue/devtools-api@npm:6.4.3"
checksum: 48893be576630267cdb88709bc5006c36b5839d66cec3da1dbe783cfdad82d52c8947c00d848c1d1c41dd66d3fcba3512bfffdeaef87d440e3d58c1c577116e2
languageName: node
linkType: hard
"@vue/reactivity-transform@npm:3.2.39":
version: 3.2.39
resolution: "@vue/reactivity-transform@npm:3.2.39"
"@vue/reactivity-transform@npm:3.2.40":
version: 3.2.40
resolution: "@vue/reactivity-transform@npm:3.2.40"
dependencies:
"@babel/parser": ^7.16.4
"@vue/compiler-core": 3.2.39
"@vue/shared": 3.2.39
"@vue/compiler-core": 3.2.40
"@vue/shared": 3.2.40
estree-walker: ^2.0.2
magic-string: ^0.25.7
checksum: b609d9367d875bf326ca8f31779407723cad2b2b4a26e7fb8860089c720e1b0bb8d5fe19604e8baff1d9ffc1fdbafb21a43db9063a24ae4ad30cb70b1c712de3
checksum: b86fc29b52f2460801a3c820370104b734b33cc3a66dbe0ad389a00a62b7a1069121b1ef5dfa50ca3530cbfa98c158743eee0e25af54ca45806f9497757db8c0
languageName: node
linkType: hard
"@vue/reactivity@npm:3.2.39":
version: 3.2.39
resolution: "@vue/reactivity@npm:3.2.39"
"@vue/reactivity@npm:3.2.40":
version: 3.2.40
resolution: "@vue/reactivity@npm:3.2.40"
dependencies:
"@vue/shared": 3.2.39
checksum: c4d440a53b2196e46129271affdb22182586a8123bc44d082468cd089242023890bccd6eaa1acc72919ea2c1febad979504be737720632afefee6ec6b75370a9
"@vue/shared": 3.2.40
checksum: 927d22b424b63a14234810a3b8e4e9127b7238a7cb2fbd749180279048a109348a29fc724fd9d636a6e09b5f4c902f71c789f081d3ab9b4473faedc6a03d7865
languageName: node
linkType: hard
"@vue/runtime-core@npm:3.2.39":
version: 3.2.39
resolution: "@vue/runtime-core@npm:3.2.39"
"@vue/runtime-core@npm:3.2.40":
version: 3.2.40
resolution: "@vue/runtime-core@npm:3.2.40"
dependencies:
"@vue/reactivity": 3.2.39
"@vue/shared": 3.2.39
checksum: 13f6b92d70fb3bc8b12caef9eaf9cc1fb3aa1f1bd07e2392013f02d65c74b09d4121e62d149d7f7c316ef2c6b3496c9ec828795286480f08e5f45e910b0f2671
"@vue/reactivity": 3.2.40
"@vue/shared": 3.2.40
checksum: 47c4918c1294a3dc9b50effac8fb0af4ae34476a9bf443774f66cd18230e44b6b6d1cb49657ea5670f04691fc116a1040356492393dd43523b43fd90be81078a
languageName: node
linkType: hard
"@vue/runtime-dom@npm:3.2.39":
version: 3.2.39
resolution: "@vue/runtime-dom@npm:3.2.39"
"@vue/runtime-dom@npm:3.2.40":
version: 3.2.40
resolution: "@vue/runtime-dom@npm:3.2.40"
dependencies:
"@vue/runtime-core": 3.2.39
"@vue/shared": 3.2.39
"@vue/runtime-core": 3.2.40
"@vue/shared": 3.2.40
csstype: ^2.6.8
checksum: 0c47f941148a000ac0cb93add51edb08eca5ae16fa7898dd070300f22e4ba77533c85342f0ceca0cab8637b80b1f92cfab10adb2160e4c6dd4be4a5b27ae1ff3
checksum: 4615d00cc4e2e19dc3e6e2baf5fa0cbab7d33fbbd7550b42264b6ef2e2ef5b750ef0d0c98591c10fea60d69fc33444ba4824954bce38abfa3473785a58d74c80
languageName: node
linkType: hard
"@vue/server-renderer@npm:3.2.39":
version: 3.2.39
resolution: "@vue/server-renderer@npm:3.2.39"
"@vue/server-renderer@npm:3.2.40":
version: 3.2.40
resolution: "@vue/server-renderer@npm:3.2.40"
dependencies:
"@vue/compiler-ssr": 3.2.39
"@vue/shared": 3.2.39
"@vue/compiler-ssr": 3.2.40
"@vue/shared": 3.2.40
peerDependencies:
vue: 3.2.39
checksum: ae6ccd08b85ad8c18cae461404ad8c4b3b602c779fe07ab3a69e0a9a4cef274ea8dcd662fa365f3717f67d4ba02a9eac88dd2ebf5194072ae43dd5db99c2cb2c
vue: 3.2.40
checksum: f9d53aefcace97b9e6d20de2d9bc106112bd0ff0ef849a104996fc1256e994b64e33e91853ba7bc716d4f75a2ade81b57f3fb1482eba07324eb7cedbd0dab96d
languageName: node
linkType: hard
"@vue/shared@npm:3.2.39":
version: 3.2.39
resolution: "@vue/shared@npm:3.2.39"
checksum: 0bf9f5b4851b634cfae92c08d64173c2db674bd817424473d28fc58af7c17c54a255f9b3e837d3857e1e62f9092ab1d74b4714237e45c94fcd46f92155ef653f
"@vue/shared@npm:3.2.40":
version: 3.2.40
resolution: "@vue/shared@npm:3.2.40"
checksum: d91a1e12ffb106a444dcb42c0a54d39f6688f98151dc3b77e8da1e7d3cfd09e1761268d11e7f920f233b43162e727d06f3af4408ef59c53ac2dce9c1d2881511
languageName: node
linkType: hard
"@vueuse/core@npm:^9.1.1":
version: 9.2.0
resolution: "@vueuse/core@npm:9.2.0"
"@vueuse/core@npm:^9.3.0":
version: 9.3.0
resolution: "@vueuse/core@npm:9.3.0"
dependencies:
"@types/web-bluetooth": ^0.0.15
"@vueuse/metadata": 9.2.0
"@vueuse/shared": 9.2.0
"@vueuse/metadata": 9.3.0
"@vueuse/shared": 9.3.0
vue-demi: "*"
checksum: 2ae6ef58ae932fe260911239888405e39e7cf7f9afdd512cc184248d97b66e1ec15a6a54b75835db040e68c35eafefe265071ff1a42b45d220217b8f9974a403
checksum: 875f9ee7b9a2b88167b32e58ba8677e61369077459643e396c6037e2fd2421a0dd9f7c3bf5de7cff8c68ea6bd10d9b0653bd210f6b15544e3e85c991d9b26870
languageName: node
linkType: hard
"@vueuse/metadata@npm:9.2.0":
version: 9.2.0
resolution: "@vueuse/metadata@npm:9.2.0"
checksum: 99c63f3ba1bf8b4aac9ec226d918906842589a93f3affafb17aaa9c64da433c8747f6fd829ac6a2f313c1d8c6003742ccbedba45d2dcce38da7ea5ff657e63c9
"@vueuse/metadata@npm:9.3.0":
version: 9.3.0
resolution: "@vueuse/metadata@npm:9.3.0"
checksum: 94e066f8f51a5a558426656f6240eb3e4c20e46c7f3e28579974a3f48b0c1bd806943f21ef5a43ca668d84ee5cb6bd7cd606fbdb036c4388936e99b9d509ce26
languageName: node
linkType: hard
"@vueuse/shared@npm:9.2.0":
version: 9.2.0
resolution: "@vueuse/shared@npm:9.2.0"
"@vueuse/shared@npm:9.3.0":
version: 9.3.0
resolution: "@vueuse/shared@npm:9.3.0"
dependencies:
vue-demi: "*"
checksum: b4d84dbb29e42fce062d8f33a011107d3187f40f1fa8cc83a28bc67c2280f4e33864309b5e70ecd078c5cb3c14106accd696b78c81c3ea6ed896ab5357ebc055
checksum: c20fcfbbad3a17fa26191823f4022b7dd6f7a6e5ede648466562f3b9f4268fb417cd825ed002e2d74ef8f81971a3ca1691f35b4497676173b62c077b2a17d032
languageName: node
linkType: hard
@ -533,7 +533,7 @@ __metadata:
languageName: node
linkType: hard
"body-scroll-lock@npm:^4.0.0-beta.0":
"body-scroll-lock@npm:4.0.0-beta.0":
version: 4.0.0-beta.0
resolution: "body-scroll-lock@npm:4.0.0-beta.0"
checksum: 61d40007fddf64ecc69e9e02ed9d96bb895f88d7da65cea7651081110225de48efa44ffc4acd376ed004788e242a9af12059fec728c096774b49365524ea6f46
@ -1364,13 +1364,6 @@ __metadata:
languageName: node
linkType: hard
"nprogress@npm:^0.2.0":
version: 0.2.0
resolution: "nprogress@npm:0.2.0"
checksum: 66b7bec5d563ecf2d1c3d2815e6d5eb74ed815eee8563e0afa63d3f185ab1b9cf2ddd97e1ded263b9995c5019d26d600320e849e50f3747984daa033744619dc
languageName: node
linkType: hard
"once@npm:^1.3.0":
version: 1.4.0
resolution: "once@npm:1.4.0"
@ -1715,9 +1708,9 @@ __metadata:
languageName: node
linkType: hard
"vite@npm:^3.1.0":
version: 3.1.3
resolution: "vite@npm:3.1.3"
"vite@npm:^3.1.4":
version: 3.1.4
resolution: "vite@npm:3.1.4"
dependencies:
esbuild: ^0.15.6
fsevents: ~2.3.2
@ -1743,7 +1736,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: af13c9820c292792f02d0a25fd46d8557e627b93f95bc05b5f7f1261e9565e9e69fda2df0c0898f248edb811ebcac5400a85a81625ef29749f50b18273439d91
checksum: f3e532952b896ca7f746de0e51fc8c98ac482b2a5f0b89538ec89ac615f6edbfe45628fe4fbabab4c5fe07f6e4c2e624360af00d8c5c454af31771952b8c6e72
languageName: node
linkType: hard
@ -1751,28 +1744,27 @@ __metadata:
version: 0.0.0-use.local
resolution: "vitepress-starter@workspace:."
dependencies:
vitepress: 1.0.0-alpha.16
vue: ^3.2.39
vitepress: 1.0.0-alpha.19
vue: ^3.2.40
languageName: unknown
linkType: soft
"vitepress@npm:1.0.0-alpha.16":
version: 1.0.0-alpha.16
resolution: "vitepress@npm:1.0.0-alpha.16"
"vitepress@npm:1.0.0-alpha.19":
version: 1.0.0-alpha.19
resolution: "vitepress@npm:1.0.0-alpha.19"
dependencies:
"@docsearch/css": ^3.2.1
"@docsearch/js": ^3.2.1
"@vitejs/plugin-vue": ^3.1.0
"@vue/devtools-api": ^6.2.1
"@vueuse/core": ^9.1.1
body-scroll-lock: ^4.0.0-beta.0
nprogress: ^0.2.0
"@vitejs/plugin-vue": ^3.1.2
"@vue/devtools-api": ^6.4.2
"@vueuse/core": ^9.3.0
body-scroll-lock: 4.0.0-beta.0
shiki: ^0.11.1
vite: ^3.1.0
vue: ^3.2.38
vite: ^3.1.4
vue: ^3.2.40
bin:
vitepress: bin/vitepress.js
checksum: 232f743b883cba81f076fd122de163a6a6438b235053f978f12e2ce3ed7e3a6c7221c0d3dd36550f99bd404e655d1cf740ff8b78e247d03398d1e205e9b282c0
checksum: 94dc0a92cb050c283d2a25e7733f20277c74c9bcde3d3c4501ac24a07ed71a7bb22ab4f8613f9f5e9455c18c09a3fa933d5311cdeff9f2e5121504d69c22b195
languageName: node
linkType: hard
@ -1806,16 +1798,16 @@ __metadata:
languageName: node
linkType: hard
"vue@npm:^3.2.38, vue@npm:^3.2.39":
version: 3.2.39
resolution: "vue@npm:3.2.39"
"vue@npm:^3.2.40":
version: 3.2.40
resolution: "vue@npm:3.2.40"
dependencies:
"@vue/compiler-dom": 3.2.39
"@vue/compiler-sfc": 3.2.39
"@vue/runtime-dom": 3.2.39
"@vue/server-renderer": 3.2.39
"@vue/shared": 3.2.39
checksum: f096a3f0a5f72c65d26246ff7989729eda2b996dc30c63fd8cd7ccda07e9c318d478e3e24661ff01e49bcf5fed6f330142fcf29d6ad46c13423f36b3ae1a54cc
"@vue/compiler-dom": 3.2.40
"@vue/compiler-sfc": 3.2.40
"@vue/runtime-dom": 3.2.40
"@vue/server-renderer": 3.2.40
"@vue/shared": 3.2.40
checksum: fb5ca87c16e58f24c0088add152ca1ef70ac6d198ec3a60e7904201c31aadefb2c28e361934c42a704742835cdd9c02ab5765f0c29e8335eb13261d7b764b0ee
languageName: node
linkType: hard