<?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-2662--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-2662--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-2662--docsydocs.netlify.app/fr/docs/deployment/amazon/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/deployment/amazon/</guid><description>&lt;p&gt;There are several options for publishing your web site using
&lt;a href="https://aws.amazon.com"&gt;Amazon Web Services&lt;/a&gt;. This section describes the most
basic option, deploying your site using an S3 bucket and activating the
CloudFront CDN (content delivery network) to speed up the delivery of your
deployed contents.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;After your
&lt;a href="https://portal.aws.amazon.com/billing/signup#/start"&gt;registration&lt;/a&gt; at AWS,
create your S3 bucket, connect it with your domain, and add it to the
CloudFront CDN. This
&lt;a href="https://www.noorix.com.au/blog/how-to/hosting-static-website-with-aws-s3-cloudfront/"&gt;blog post&lt;/a&gt;
has all the details and provides easy to follow step-by-step instructions for
the whole procedure.&lt;/p&gt;</description></item><item><title>Chrome build modes</title><link>https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/deployment/chrome/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/deployment/chrome/</guid><description>&lt;p&gt;A docs site re-emits 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,
footer, and left-nav — on &lt;em&gt;every&lt;/em&gt; page, even though those regions are
usually identical site-wide. That repetition slows the build, bloats the output,
and slows anything that processes every page, such as a link checker; it also
makes for noisy output diffs.&lt;/p&gt;
&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;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;full&lt;/code&gt;&lt;/strong&gt; (default) emits each page&amp;rsquo;s chrome on the page itself, ready for
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
a typo fails safe.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;shared&lt;/code&gt;&lt;/strong&gt; emits each region on just &lt;strong&gt;one&lt;/strong&gt; &lt;em&gt;donor&lt;/em&gt; page per locale and
restores it on the other pages in the browser with a small script. The output
stays lean, while readers still get the full navigation once the page loads.&lt;/li&gt;
&lt;/ul&gt;
&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;
 &lt;div class="td-alert-body"&gt;
 &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
applied to page chrome, where a single region instance is fetched from its
donor and restored on the client, over an otherwise static &lt;a href="https://web.dev/learn/pwa/architecture/"&gt;multi-page
site&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Deployment on GitHub Pages</title><link>https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/deployment/github-pages/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2662--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
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,
user, and organization sites; for a project site, your site URL will be
&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
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
actions, while the &lt;a href="https://github.com/marketplace?no-link-check&amp;amp;type=actions"&gt;marketplace for actions&lt;/a&gt; has useful tools for spell and
link checking, deploy previews, and more. Using your existing GitHub account,
you can start by using the free plan for publicly available repositories, with
premium tiers available for business use cases.&lt;/p&gt;</description></item><item><title>Serving your site locally</title><link>https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/deployment/local/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2662--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
during development to preview content changes. To serve your site locally:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Ensure you have an up to date local copy of your site files cloned from your
repo.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ensure you have the tools described in &lt;a href="https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/installation-prerequisites/"&gt;Prerequisites and
installation&lt;/a&gt; installed on your local machine, including
&lt;code&gt;postcss-cli&lt;/code&gt; (you&amp;rsquo;ll need it to generate the site resources the first time
you run the server).&lt;/p&gt;</description></item><item><title>Deployment on Netlify</title><link>https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/deployment/netlify/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2662--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 from your Git provider (GitHub, GitLab, or BitBucket),
with &lt;a href="https://www.netlify.com/docs/continuous-deployment/"&gt;continuous deployment&lt;/a&gt;, previews of the generated site when you or
your users create pull requests against the doc repo, and more. Netlify is free
to use for Open Source projects, with premium tiers if you require greater
support.&lt;/p&gt;
&lt;p&gt;Before deploying with Netlify, make sure that you&amp;rsquo;ve pushed your site source to
your chosen GitHub (or other provider) repo, following any setup instructions in
&lt;a href="https://deploy-preview-2662--docsydocs.netlify.app/fr/docs/get-started/docsy-as-module/"&gt;Using the theme&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>