<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>devkuma – Docusaurus</title>
    <link>https://www.devkuma.com/en/tags/docusaurus/</link>
    <image>
      <url>https://www.devkuma.com/en/tags/docusaurus/logo/180x180.jpg</url>
      <title>Docusaurus</title>
      <link>https://www.devkuma.com/en/tags/docusaurus/</link>
    </image>
    <description>Recent content in Docusaurus on devkuma</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>kc@example.com (kc kim)</managingEditor>
    <webMaster>kc@example.com (kc kim)</webMaster>
    <copyright>The devkuma</copyright>
    
	  <atom:link href="https://www.devkuma.com/en/tags/docusaurus/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docusaurus Documentation Generator</title>
      <link>https://www.devkuma.com/en/docs/docusaurus/getting-started/</link>
      <pubDate>Mon, 11 Mar 2024 01:03:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/docusaurus/getting-started/</guid>
      <description>
        
        
        &lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/docusaurus/docusaurus-eyecatch-960x504.png&#34; alt=&#34;docusaurus&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-is-docusaurus&#34;&gt;What Is Docusaurus?&lt;/h2&gt;
&lt;p&gt;Docusaurus is an &lt;a href=&#34;https://github.com/facebook/docusaurus&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;open-source project&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt; created by Facebook for building static websites. It is especially used by developers to write and host technical documentation. It is a React-based, user-friendly documentation tool, and documents can be written easily with Markdown.&lt;/p&gt;
&lt;p&gt;Main features include user-friendly documentation, Markdown and MDX support, customizable layouts and themes, search integration through Algolia, responsive design, internationalization, a plugin system, and document versioning.&lt;/p&gt;
&lt;h2 id=&#34;environment&#34;&gt;Environment&lt;/h2&gt;
&lt;p&gt;The article was verified in a macOS environment with Node.js and npx installed.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% node -v
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;v21.6.2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% npx -v
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;10.2.4
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;creating-a-project&#34;&gt;Creating a Project&lt;/h2&gt;
&lt;p&gt;Docusaurus provides a scaffold command for project creation.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ npx @docusaurus/init@latest init &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;siteName&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;template&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;rootDir&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ npx @docusaurus/init@latest init devkuma-mysite classic
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After creation, move into the directory and start the site.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ &lt;span style=&#34;color:#204a87&#34;&gt;cd&lt;/span&gt; devkuma-mysite
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ npm start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The generated project contains directories such as &lt;code&gt;blog/&lt;/code&gt;, &lt;code&gt;docs/&lt;/code&gt;, &lt;code&gt;src/&lt;/code&gt;, and &lt;code&gt;static/&lt;/code&gt;, along with configuration files such as &lt;code&gt;docusaurus.config.js&lt;/code&gt; and &lt;code&gt;sidebars.js&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;customization&#34;&gt;Customization&lt;/h2&gt;
&lt;p&gt;The first page can be customized by editing &lt;code&gt;src/pages/index.js&lt;/code&gt;. The site header and navigation are configured in &lt;code&gt;docusaurus.config.js&lt;/code&gt;, not in each individual page. Docusaurus automatically reloads the browser during development, so changes can be checked quickly.&lt;/p&gt;
&lt;h2 id=&#34;summary&#34;&gt;Summary&lt;/h2&gt;
&lt;p&gt;Docusaurus is a useful tool for creating and managing documentation sites with Markdown, React, and a structured sidebar. For documentation-focused projects, the main files to edit are usually &lt;code&gt;docs/&lt;/code&gt;, &lt;code&gt;docusaurus.config.js&lt;/code&gt;, and &lt;code&gt;sidebars.js&lt;/code&gt;.&lt;/p&gt;

      </description>
      
      <category>Docusaurus</category>
      
      <category>Blog</category>
      
    </item>
    
  </channel>
</rss>
