diff --git a/docs/installation.md b/docs/installation.md index 12e87a5e..158eabf8 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -5,7 +5,31 @@ title: Installation ## Install the `` suite of custom elements -### Requirements +### CDN + +To include the `` suite of elements on your page, you can add one of the following [Content Delivery Network](https://en.wikipedia.org/wiki/Content_delivery_network) to the `` of your HTML code: + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```html + +``` + + + + +```html + +``` + + + + +### Node.js / NPM To install the `` in your web site project, you use the Node Package Manager (npm), so to get that you must install [node.js](https://nodejs.org/en/download/). npm should be installed by the linked installers. You can now obtain the latest version of the `` suite of custom elements, by installing it in the node_modules directory of your web site directory, using the following commands: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/installation.md b/i18n/fr/docusaurus-plugin-content-docs/current/installation.md index f07b5b30..0d655dab 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/installation.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/installation.md @@ -5,7 +5,31 @@ title: Installation ## Installer les éléments personnalisés ``. -### Exigences +### CDN + +Pour inclure la suite d'éléments `` dans votre page, vous pouvez ajouter l'un des [Content Delivery Network](https://fr.wikipedia.org/wiki/R%C3%A9seau_de_diffusion_de_contenu) suivants au `` de votre code HTML : + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + +```html + +``` + + + + +```html + +``` + + + + +### Node.js / NPM Pour installer les éléments `` dans votre projet de site Web, vous devez utiliser Node Package Manager (npm). Pour ce faire, vous devez installer [node.js](https://nodejs.org/en/download/). Le gestionnaire npm devrait être installé par les installateurs liés. Vous pouvez maintenant obtenir la version la plus récente des éléments personnalisés ``, en les installant dans le répertoire node_modules du répertoire de votre site Web à l’aide des commandes suivantes :