<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>myDocsy – Pepper</title>
    <link>/fruits/pepper/</link>
    <description>Recent content in Pepper on myDocsy</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    
	  <atom:link href="/fruits/pepper/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: Guidelines for Contribution to Docsy</title>
      <link>/docs/dev-test-content/contribution-guidelines/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/dev-test-content/contribution-guidelines/</guid>
      <description>
        
        
        &lt;p&gt;Docsy is an open source project and we love getting patches and contributions to make Docsy and its docs even better.&lt;/p&gt;
&lt;h2 id=&#34;contributing-to-docsy&#34;&gt;Contributing to Docsy&lt;/h2&gt;
&lt;p&gt;The Docsy theme itself lives in &lt;a href=&#34;https://github.com/google/docsy&#34;&gt;https://github.com/google/docsy&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;contributor-license-agreement&#34;&gt;Contributor License Agreement&lt;/h3&gt;
&lt;p&gt;Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution;
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to &lt;a href=&#34;https://cla.developers.google.com/&#34;&gt;https://cla.developers.google.com/&lt;/a&gt; to see
your current agreements on file or to sign a new one.&lt;/p&gt;
&lt;p&gt;You generally only need to submit a CLA once, so if you&amp;rsquo;ve already submitted one
(even if it was for a different project), you probably don&amp;rsquo;t need to do it
again.&lt;/p&gt;
&lt;h3 id=&#34;code-reviews&#34;&gt;Code reviews&lt;/h3&gt;
&lt;p&gt;All submissions, including submissions by project members, require review. We
use GitHub pull requests for this purpose. Consult
&lt;a href=&#34;https://help.github.com/articles/about-pull-requests/&#34;&gt;GitHub Help&lt;/a&gt; for more
information on using pull requests.&lt;/p&gt;
&lt;h3 id=&#34;previewing-your-changes&#34;&gt;Previewing your changes&lt;/h3&gt;
&lt;p&gt;As Docsy is a theme rather than a site, you can&amp;rsquo;t serve the theme directly to check your changes work. Instead use your updated local theme in a local copy of the Docsy example site (copy or make your changes in the &lt;code&gt;themes/docsy&lt;/code&gt; directory) and &lt;a href=&#34;/docs/deployment/&#34;&gt;preview&lt;/a&gt; from there. Alternatively, clone the &lt;a href=&#34;https://github.com/google/docsy&#34;&gt;Docsy theme repo&lt;/a&gt; and test your changes in a local copy of this site, as described &lt;a href=&#34;#previewing-your-changes-locally&#34;&gt;below&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;community-guidelines&#34;&gt;Community guidelines&lt;/h3&gt;
&lt;p&gt;This project follows
&lt;a href=&#34;https://opensource.google.com/conduct/&#34;&gt;Google&amp;rsquo;s Open Source Community Guidelines&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;creating-issues&#34;&gt;Creating issues&lt;/h3&gt;
&lt;p&gt;Alternatively, if there&amp;rsquo;s something you&amp;rsquo;d like to see in Docsy (or if you&amp;rsquo;ve found something that isn&amp;rsquo;t working the way you&amp;rsquo;d expect), but you&amp;rsquo;re not sure how to fix it yourself, please create an &lt;a href=&#34;https://github.com/google/docsy/issues&#34;&gt;issue&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;contributing-to-these-docs&#34;&gt;Contributing to these docs&lt;/h2&gt;
&lt;p&gt;This user guide is, like our example site, a Docsy site that uses the Hugo static site generator. We welcome updates to the docs!&lt;/p&gt;
&lt;p&gt;We use &lt;a href=&#34;https://www.netlify.com/&#34;&gt;Netlify&lt;/a&gt; to manage the deployment of the site and provide previews of doc updates. The instructions here assume you&amp;rsquo;re familiar with basic GitHub workflows.&lt;/p&gt;
&lt;h3 id=&#34;quick-start-with-netlify&#34;&gt;Quick start with Netlify&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Fork the &lt;a href=&#34;https://github.com/google/docsy&#34;&gt;Docsy repo&lt;/a&gt; on GitHub: this site&amp;rsquo;s files live in the &lt;code&gt;userguide&lt;/code&gt; subdirectory.&lt;/li&gt;
&lt;li&gt;Make your changes and send a pull request (PR).&lt;/li&gt;
&lt;li&gt;If you&amp;rsquo;re not yet ready for a review, add &amp;ldquo;WIP&amp;rdquo; to the PR name to indicate
it&amp;rsquo;s a work in progress. (&lt;strong&gt;Don&amp;rsquo;t&lt;/strong&gt; add the Hugo property
&amp;ldquo;draft = true&amp;rdquo; to the page front matter, because that prevents the
auto-deployment of the content preview described in the next point.)&lt;/li&gt;
&lt;li&gt;Wait for the automated PR workflow to do some checks. When it&amp;rsquo;s ready,
you should see a comment like this: &lt;strong&gt;deploy/netlify — Deploy preview ready!&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Details&lt;/strong&gt; to the right of &amp;ldquo;Deploy preview ready&amp;rdquo; to see a preview
of your updates.&lt;/li&gt;
&lt;li&gt;Continue updating your doc and pushing your changes until you&amp;rsquo;re happy with
the content.&lt;/li&gt;
&lt;li&gt;When you&amp;rsquo;re ready for a review, add a comment to the PR, and remove any
&amp;ldquo;WIP&amp;rdquo; markers.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;updating-a-single-page&#34;&gt;Updating a single page&lt;/h3&gt;
&lt;p&gt;If you&amp;rsquo;ve just spotted something you&amp;rsquo;d like to change while using the docs, Docsy has a shortcut for you:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Edit this page&lt;/strong&gt; in the top right hand corner of the page.&lt;/li&gt;
&lt;li&gt;If you don&amp;rsquo;t already have an up to date fork of the project repo, you are prompted to get one - click &lt;strong&gt;Fork this repository and propose changes&lt;/strong&gt; or &lt;strong&gt;Update your Fork&lt;/strong&gt; to get an up to date version of the project to edit. The appropriate page in your fork is displayed in edit mode.&lt;/li&gt;
&lt;li&gt;Follow the rest of the &lt;a href=&#34;#quick-start-with-netlify&#34;&gt;Quick start with Netlify&lt;/a&gt; process above to make and preview your changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;previewing-your-changes-locally&#34;&gt;Previewing your changes locally&lt;/h3&gt;
&lt;p&gt;If you want to run your own local Hugo server to preview your changes as you work:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Follow the instructions in &lt;a href=&#34;/docs/getting-started&#34;&gt;Getting started&lt;/a&gt; to install Hugo and any other tools you need.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Fork the &lt;a href=&#34;https://github.com/google/docsy&#34;&gt;Docsy&lt;/a&gt; repo into your own project, then create a local copy using &lt;code&gt;git clone&lt;/code&gt;. Don’t forget to use &lt;code&gt;--recurse-submodules&lt;/code&gt; or you won’t pull down some of the code you need to generate a working site.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git clone --recurse-submodules --depth 1 https://github.com/google/docsy.git
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change to the &lt;code&gt;userguide&lt;/code&gt; directory and run the following Hugo command to build the site and start the Hugo server.
Note that you need the &lt;code&gt;themesDir&lt;/code&gt; flag because the site files are inside the theme repo.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;cd userguide
hugo server --themesDir ../..
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;By default your site will be available at http://localhost:1313/. Now that you&amp;rsquo;re serving your site locally, Hugo will watch for changes to the content and automatically refresh your site.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Continue with the usual GitHub workflow to edit files, commit them, push the
changes up to your fork, and create a pull request.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;creating-an-issue&#34;&gt;Creating an issue&lt;/h3&gt;
&lt;p&gt;If there&amp;rsquo;s something you&amp;rsquo;d like to see in the docs, but you&amp;rsquo;re not sure how to fix it yourself, please create an issue in &lt;a href=&#34;https://github.com/google/docsy&#34;&gt;this repository&lt;/a&gt;. You can also create an issue about a specific page by clicking the &lt;strong&gt;Create Issue&lt;/strong&gt; button in the top right hand corner of the page.&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
