<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Deployment and previews on Docsy</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/</link><description>Recent content in Deployment and previews on Docsy</description><generator>Hugo</generator><language>fr</language><atom:link href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/index.xml" rel="self" type="application/rss+xml"/><item><title>Deployment with Amazon S3 and CloudFront</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/amazon/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/amazon/</guid><description>&lt;p&gt;There are several options for publishing your web site using&#10;&lt;a href="https://aws.amazon.com"&gt;Amazon Web Services&lt;/a&gt;. This section describes the most&#10;basic option, deploying your site using an S3 bucket and activating the&#10;CloudFront CDN (content delivery network) to speed up the delivery of your&#10;deployed contents.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;After your&#10;&lt;a href="https://portal.aws.amazon.com/billing/signup#/start"&gt;registration&lt;/a&gt; at AWS,&#10;create your S3 bucket, connect it with your domain, and add it to the&#10;CloudFront CDN. This&#10;&lt;a href="https://www.noorix.com.au/blog/how-to/hosting-static-website-with-aws-s3-cloudfront/"&gt;blog post&lt;/a&gt;&#10;has all the details and provides easy to follow step-by-step instructions for&#10;the whole procedure.&lt;/p&gt;</description></item><item><title>Chrome build modes</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/chrome/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/chrome/</guid><description>&lt;p&gt;A docs site repeats the same auto-generated &lt;em&gt;&lt;a href="https://www.nngroup.com/articles/browser-and-gui-chrome/"&gt;chrome&lt;/a&gt;&lt;/em&gt; — the navbar,&#10;footer, and left-nav — on &lt;em&gt;every&lt;/em&gt; page, even though those regions are&#10;usually identical site-wide.&lt;/p&gt;&#10;&lt;p&gt;Use the &lt;code&gt;td.chrome&lt;/code&gt; parameter to select one of two &lt;strong&gt;build modes&lt;/strong&gt;:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;&lt;code&gt;full&lt;/code&gt;&lt;/strong&gt; (default) renders each page&amp;rsquo;s chrome on the page itself, ready for&#10;any client. Any &lt;code&gt;td.chrome&lt;/code&gt; value other than &lt;code&gt;shared&lt;/code&gt; is treated as &lt;code&gt;full&lt;/code&gt;, so&#10;a typo fails safe.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;&lt;code&gt;shared&lt;/code&gt;&lt;/strong&gt; renders each region on just &lt;strong&gt;one&lt;/strong&gt; &lt;em&gt;donor&lt;/em&gt; page per locale and&#10;restores it on the other pages in the browser with a small script. The output&#10;stays lean, while readers still get the full navigation once the page loads.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="td-alert td-alert--md alert alert-note" role="alert"&gt;&lt;div class="td-alert-heading alert-heading" role="heading"&gt;Web dev note&lt;/div&gt;&#10; &lt;div class="td-alert-body"&gt;&#10; &lt;p&gt;&lt;code&gt;shared&lt;/code&gt; mode is in the spirit of the &lt;a href="https://developer.chrome.com/blog/app-shell"&gt;app-shell pattern&lt;/a&gt; but&#10;applied to page chrome, where a single region instance is fetched from its&#10;donor and restored on the client, over an otherwise static &lt;a href="https://web.dev/learn/pwa/architecture/"&gt;multi-page&#10;site&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Deployment on GitHub Pages</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/github-pages/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/github-pages/</guid><description>&lt;p&gt;If your repo is hosted on &lt;a href="https://github.com"&gt;GitHub&lt;/a&gt;, a simple option is to&#10;serve your site with &lt;a href="https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages"&gt;GitHub Pages&lt;/a&gt;. GitHub Pages lets you create project,&#10;user, and organization sites; for a project site, your site URL will be&#10;&lt;code&gt;http(s)://&amp;lt;username&amp;gt;.github.io/&amp;lt;repository_name&amp;gt;&lt;/code&gt;, custom domains are also&#10;supported. GitHub Pages come with &lt;a href="https://docs.github.com/en/actions/deployment/about-deployments/about-continuous-deployment"&gt;continuous deployment&lt;/a&gt; using GitHub&#10;actions, while the &lt;a href="https://github.com/marketplace?link-check=no&amp;amp;type=actions"&gt;marketplace for actions&lt;/a&gt; has useful tools for spell and&#10;link checking, deploy previews, and more. Using your existing GitHub account,&#10;you can start by using the free plan for publicly available repositories, with&#10;premium tiers available for business use cases.&lt;/p&gt;</description></item><item><title>Serving your site locally</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/local/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/local/</guid><description>&lt;p&gt;Depending on your deployment choice you may want to serve your site locally&#10;during development to preview content changes. To serve your site locally:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Ensure you have an up to date local copy of your site files cloned from your&#10;repo.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Ensure you have the tools described in &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/"&gt;Prerequisites and&#10;installation&lt;/a&gt; installed on your local machine, including&#10;&lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/#install-postcss"&gt;PostCSS&lt;/a&gt; if your site needs it.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Run the &lt;code&gt;hugo server&lt;/code&gt; command in your site root. By default your site will be&#10;available at &lt;a href="http://localhost:1313"&gt;http://localhost:1313&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Deployment on Netlify</title><link>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/netlify/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/deployment/netlify/</guid><description>&lt;p&gt;We recommend using &lt;a href="https://www.netlify.com/"&gt;Netlify&lt;/a&gt; as a particularly simple way to serve your site&#10;from your Git provider (GitHub, GitLab, or BitBucket), with &lt;a href="https://www.netlify.com/docs/continuous-deployment/"&gt;continuous&#10;deployment&lt;/a&gt;, previews of the generated site when you or your users create&#10;pull requests against the doc repo, and more. Netlify is free to use for Open&#10;Source projects, with premium tiers if you require greater support.&lt;/p&gt;&#10;&lt;p&gt;Before deploying with Netlify, make sure that you&amp;rsquo;ve pushed your site source to&#10;your chosen GitHub (or other provider) repo, following any setup instructions in&#10;&lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/"&gt;Using the theme&lt;/a&gt;, and that your site&amp;rsquo;s &lt;code&gt;package.json&lt;/code&gt; declares&#10;&lt;code&gt;sass-embedded&lt;/code&gt;, per &lt;a href="https://deploy-preview-2855--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/#install-dart-sass"&gt;Install Dart Sass&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>