From 43ffbc9232d737fabe7b021758e126f122a34aba Mon Sep 17 00:00:00 2001 From: SasikaA073 Date: Fri, 12 Apr 2024 00:39:31 +0530 Subject: [PATCH] Add test.md --- docs/en.search-data.json | 2 +- docs/tags/example/index.xml | 103 +++++++++++++++++++------- docs/tags/guide/index.xml | 103 +++++++++++++++++++------- docs/tags/markdown/index.xml | 103 +++++++++++++++++++------- docs/test/index.html | 137 +++++++++++++++++++++++++---------- 5 files changed, 334 insertions(+), 114 deletions(-) diff --git a/docs/en.search-data.json b/docs/en.search-data.json index ea29868..5f7ea31 100644 --- a/docs/en.search-data.json +++ b/docs/en.search-data.json @@ -1 +1 @@ -{"/test/":{"data":{"":"","how-to-get-started#How to get started":"How to get started\rClone the Repository:\nDevelopers should start by cloning the repository to their local machine: git clone https://github.com/mora-bprs/mora-bprs.github.io.git\rNavigate to the Hugo Site Directory:\nOnce cloned, developers should navigate to the directory where the Hugo site is located: cd mora-bprs.github.io\rInstall Hugo:\nDevelopers need to have Hugo installed on their local machine. They can follow the installation instructions provided on the official Hugo website. Start Editing the Site:\nDevelopers can start editing the Hugo site by modifying the content files located in the content directory. They can use Markdown syntax to write content and make changes as needed. Preview Changes Locally:\nTo preview their changes locally, developers can run the Hugo development server: hugo server -D\rThis command starts a local web server, and developers can view the site in their web browser at http://localhost:1313. Commit Changes to the “dev” Branch:\nAfter making changes, developers should commit their changes to the “dev” branch: git checkout dev\rgit add .\rgit commit -m \"Description of changes made\"\rgit push origin dev\rSubmit Pull Requests (Optional):\nIf your workflow involves code reviews, developers can submit pull requests from the “dev” branch to other branches (e.g., “main” for production). This allows for review and collaboration before merging changes. Deploy to Production (Optional):\nOnce changes are ready to be deployed to production, you can merge the “dev” branch into the appropriate branch (e.g., “main”) to trigger a deployment. By documenting these steps, developers will have a clear understanding of how to clone, edit, and push updates to the Hugo site hosted in the “mora-bprs.github.io” repository, helping to streamline the development process."},"title":"How to get started"}} \ No newline at end of file +{"/test/":{"data":{"":"","how-to-get-started#How to get started":"How to get started\rClone the Repository:\nyou should start by cloning the repository to their local machine:\ngit clone https://github.com/mora-bprs/mora-bprs.github.io.git\rNavigate to the Hugo Site Directory:\nOnce cloned, you should navigate to the directory where the Hugo site is located:\ncd mora-bprs.github.io\rInstall Hugo:\nYou need to have Hugo installed on their local machine. They can follow the installation instructions provided on the official Hugo website. Start Editing the Site:\nRefer to this hugo theme documentation to edit the pages. You can start editing the Hugo site by modifying the content files located in the content directory. They can use Markdown syntax to write content and make changes as needed. first create a folder with the slug name in the content folder, then create an index.md file in that folder and write the content in it.\ntemplate for index.md file:\n--- title: \"Title of the page\" date: 2024-03-03 authors: - name: imfing link: https://go.io tags: - Markdown - Example - Guide draft: false --- ## Sample Markdown content Here write the content of the page in markdown syntax.\rPreview Changes Locally:\nTo preview their changes locally, you can run the Hugo development server: hugo server -D\rThis command starts a local web server, and you can view the site in their web browser at http://localhost:1313.\nGenerate the changes locally:\nTo generate the changes locally, you can run the Hugo command: hugo --destination docs\rThis command generates the static files in the docs directory.\nCommit Changes to the “dev” Branch:\nCreate a branch named dev when you run this for the first time.\ngit checkout -b dev\rIf this is not your first time working with dev branch do the following.\nAfter making changes, you should commit their changes to the “dev” branch:\ngit checkout dev git add . git commit -m \"Description of changes made\" git push origin dev"},"title":"How to get started"}} \ No newline at end of file diff --git a/docs/tags/example/index.xml b/docs/tags/example/index.xml index 71789c9..eba3cfc 100644 --- a/docs/tags/example/index.xml +++ b/docs/tags/example/index.xml @@ -29,11 +29,12 @@ <li> <p><strong>Clone the Repository:</strong></p> <ul> -<li>Developers should start by cloning the repository to their local machine: +<li> +<p>you should start by cloning the repository to their local machine:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>git clone https://github.com/mora-bprs/mora-bprs.github.io.git</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git clone https://github.com/mora-bprs/mora-bprs.github.io.git</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -51,11 +52,12 @@ <li> <p><strong>Navigate to the Hugo Site Directory:</strong></p> <ul> -<li>Once cloned, developers should navigate to the directory where the Hugo site is located: +<li> +<p>Once cloned, you should navigate to the directory where the Hugo site is located:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>cd mora-bprs.github.io</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>cd mora-bprs.github.io</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -73,18 +75,38 @@ <li> <p><strong>Install Hugo:</strong></p> <ul> -<li>Developers need to have Hugo installed on their local machine. They can follow the installation instructions provided on the <a href="https://gohugo.io/installation/" target="_blank" rel="noopener">official Hugo website</a>.</li> +<li>You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the <a href="https://gohugo.io/installation/" target="_blank" rel="noopener">official Hugo website</a>.</li> </ul> </li> <li> <p><strong>Start Editing the Site:</strong></p> <ul> -<li>Developers can start editing the Hugo site by modifying the content files located in the <code>content</code> directory. They can use Markdown syntax to write content and make changes as needed.</li> +<li>Refer to this <a href="https://imfing.github.io/hextra/docs/" target="_blank" rel="noopener">hugo theme documentation</a> to edit the pages.</li> +<li>You can start editing the Hugo site by modifying the content files located in the <code>content</code> directory. They can use Markdown syntax to write content and make changes as needed.</li> </ul> +<p>first create a folder with the slug name in the content folder, then create an index.md file in that folder and write the content in it.</p> +<p>template for index.md file:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code></code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-markdown" data-lang="markdown"><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span>title: &#34;Title of the page&#34; +</span></span><span style="display:flex;"><span>date: 2024-03-03 +</span></span><span style="display:flex;"><span>authors: +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> name: imfing +</span></span><span style="display:flex;"><span> link: https://go.io +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>tags: +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Markdown +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Example +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Guide +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>draft: false +</span></span><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span><span style="color:#75715e">## Sample Markdown content +</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span> +</span></span><span style="display:flex;"><span>Here write the content of the page in markdown syntax.</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -100,11 +122,12 @@ <li> <p><strong>Preview Changes Locally:</strong></p> <ul> -<li>To preview their changes locally, developers can run the Hugo development server: +<li>To preview their changes locally, you can run the Hugo development server:</li> +</ul> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>hugo server -D</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo server -D</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -116,20 +139,39 @@ </div> -This command starts a local web server, and developers can view the site in their web browser at <code>http://localhost:1313</code>.</li> +<p>This command starts a local web server, and you can view the site in their web browser at <code>http://localhost:1313</code>.</p> +</li> +<li> +<p><strong>Generate the changes locally:</strong></p> +<ul> +<li>To generate the changes locally, you can run the Hugo command:</li> </ul> +<div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> + + +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo --destination docs</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> + <button + class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" + title="Copy code" + > + <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> + <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> + </button> +</div> + + +</div> +<p>This command generates the static files in the <code>docs</code> directory.</p> </li> <li> <p><strong>Commit Changes to the &ldquo;dev&rdquo; Branch:</strong></p> <ul> -<li>After making changes, developers should commit their changes to the &ldquo;dev&rdquo; branch: +<li> +<p>Create a branch named <code>dev</code> when you run this for the first time.</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>git checkout dev -git add . -git commit -m &#34;Description of changes made&#34; -git push origin dev</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git checkout -b dev</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -142,22 +184,33 @@ git push origin dev</code></pre><div class="hextra-code-copy- </div> </li> -</ul> -</li> <li> -<p><strong>Submit Pull Requests (Optional):</strong></p> -<ul> -<li>If your workflow involves code reviews, developers can submit pull requests from the &ldquo;dev&rdquo; branch to other branches (e.g., &ldquo;main&rdquo; for production). This allows for review and collaboration before merging changes.</li> -</ul> +<p>If this is not your first time working with <code>dev</code> branch do the following.</p> </li> <li> -<p><strong>Deploy to Production (Optional):</strong></p> -<ul> -<li>Once changes are ready to be deployed to production, you can merge the &ldquo;dev&rdquo; branch into the appropriate branch (e.g., &ldquo;main&rdquo;) to trigger a deployment.</li> +<p>After making changes, you should commit their changes to the &ldquo;dev&rdquo; branch:</p> +<div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> + + +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git checkout dev +</span></span><span style="display:flex;"><span>git add . +</span></span><span style="display:flex;"><span>git commit -m <span style="color:#e6db74">&#34;Description of changes made&#34;</span> +</span></span><span style="display:flex;"><span>git push origin dev</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> + <button + class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" + title="Copy code" + > + <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> + <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> + </button> +</div> + + +</div> +</li> </ul> </li> </ol> -<p>By documenting these steps, developers will have a clear understanding of how to clone, edit, and push updates to the Hugo site hosted in the &ldquo;mora-bprs.github.io&rdquo; repository, helping to streamline the development process.</p> diff --git a/docs/tags/guide/index.xml b/docs/tags/guide/index.xml index cbca849..89a4b51 100644 --- a/docs/tags/guide/index.xml +++ b/docs/tags/guide/index.xml @@ -29,11 +29,12 @@ <li> <p><strong>Clone the Repository:</strong></p> <ul> -<li>Developers should start by cloning the repository to their local machine: +<li> +<p>you should start by cloning the repository to their local machine:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>git clone https://github.com/mora-bprs/mora-bprs.github.io.git</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git clone https://github.com/mora-bprs/mora-bprs.github.io.git</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -51,11 +52,12 @@ <li> <p><strong>Navigate to the Hugo Site Directory:</strong></p> <ul> -<li>Once cloned, developers should navigate to the directory where the Hugo site is located: +<li> +<p>Once cloned, you should navigate to the directory where the Hugo site is located:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>cd mora-bprs.github.io</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>cd mora-bprs.github.io</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -73,18 +75,38 @@ <li> <p><strong>Install Hugo:</strong></p> <ul> -<li>Developers need to have Hugo installed on their local machine. They can follow the installation instructions provided on the <a href="https://gohugo.io/installation/" target="_blank" rel="noopener">official Hugo website</a>.</li> +<li>You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the <a href="https://gohugo.io/installation/" target="_blank" rel="noopener">official Hugo website</a>.</li> </ul> </li> <li> <p><strong>Start Editing the Site:</strong></p> <ul> -<li>Developers can start editing the Hugo site by modifying the content files located in the <code>content</code> directory. They can use Markdown syntax to write content and make changes as needed.</li> +<li>Refer to this <a href="https://imfing.github.io/hextra/docs/" target="_blank" rel="noopener">hugo theme documentation</a> to edit the pages.</li> +<li>You can start editing the Hugo site by modifying the content files located in the <code>content</code> directory. They can use Markdown syntax to write content and make changes as needed.</li> </ul> +<p>first create a folder with the slug name in the content folder, then create an index.md file in that folder and write the content in it.</p> +<p>template for index.md file:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code></code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-markdown" data-lang="markdown"><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span>title: &#34;Title of the page&#34; +</span></span><span style="display:flex;"><span>date: 2024-03-03 +</span></span><span style="display:flex;"><span>authors: +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> name: imfing +</span></span><span style="display:flex;"><span> link: https://go.io +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>tags: +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Markdown +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Example +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Guide +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>draft: false +</span></span><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span><span style="color:#75715e">## Sample Markdown content +</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span> +</span></span><span style="display:flex;"><span>Here write the content of the page in markdown syntax.</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -100,11 +122,12 @@ <li> <p><strong>Preview Changes Locally:</strong></p> <ul> -<li>To preview their changes locally, developers can run the Hugo development server: +<li>To preview their changes locally, you can run the Hugo development server:</li> +</ul> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>hugo server -D</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo server -D</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -116,20 +139,39 @@ </div> -This command starts a local web server, and developers can view the site in their web browser at <code>http://localhost:1313</code>.</li> +<p>This command starts a local web server, and you can view the site in their web browser at <code>http://localhost:1313</code>.</p> +</li> +<li> +<p><strong>Generate the changes locally:</strong></p> +<ul> +<li>To generate the changes locally, you can run the Hugo command:</li> </ul> +<div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> + + +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo --destination docs</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> + <button + class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" + title="Copy code" + > + <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> + <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> + </button> +</div> + + +</div> +<p>This command generates the static files in the <code>docs</code> directory.</p> </li> <li> <p><strong>Commit Changes to the &ldquo;dev&rdquo; Branch:</strong></p> <ul> -<li>After making changes, developers should commit their changes to the &ldquo;dev&rdquo; branch: +<li> +<p>Create a branch named <code>dev</code> when you run this for the first time.</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>git checkout dev -git add . -git commit -m &#34;Description of changes made&#34; -git push origin dev</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git checkout -b dev</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -142,22 +184,33 @@ git push origin dev</code></pre><div class="hextra-code-copy- </div> </li> -</ul> -</li> <li> -<p><strong>Submit Pull Requests (Optional):</strong></p> -<ul> -<li>If your workflow involves code reviews, developers can submit pull requests from the &ldquo;dev&rdquo; branch to other branches (e.g., &ldquo;main&rdquo; for production). This allows for review and collaboration before merging changes.</li> -</ul> +<p>If this is not your first time working with <code>dev</code> branch do the following.</p> </li> <li> -<p><strong>Deploy to Production (Optional):</strong></p> -<ul> -<li>Once changes are ready to be deployed to production, you can merge the &ldquo;dev&rdquo; branch into the appropriate branch (e.g., &ldquo;main&rdquo;) to trigger a deployment.</li> +<p>After making changes, you should commit their changes to the &ldquo;dev&rdquo; branch:</p> +<div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> + + +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git checkout dev +</span></span><span style="display:flex;"><span>git add . +</span></span><span style="display:flex;"><span>git commit -m <span style="color:#e6db74">&#34;Description of changes made&#34;</span> +</span></span><span style="display:flex;"><span>git push origin dev</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> + <button + class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" + title="Copy code" + > + <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> + <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> + </button> +</div> + + +</div> +</li> </ul> </li> </ol> -<p>By documenting these steps, developers will have a clear understanding of how to clone, edit, and push updates to the Hugo site hosted in the &ldquo;mora-bprs.github.io&rdquo; repository, helping to streamline the development process.</p> diff --git a/docs/tags/markdown/index.xml b/docs/tags/markdown/index.xml index 05e3c7e..fc45992 100644 --- a/docs/tags/markdown/index.xml +++ b/docs/tags/markdown/index.xml @@ -29,11 +29,12 @@ <li> <p><strong>Clone the Repository:</strong></p> <ul> -<li>Developers should start by cloning the repository to their local machine: +<li> +<p>you should start by cloning the repository to their local machine:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>git clone https://github.com/mora-bprs/mora-bprs.github.io.git</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git clone https://github.com/mora-bprs/mora-bprs.github.io.git</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -51,11 +52,12 @@ <li> <p><strong>Navigate to the Hugo Site Directory:</strong></p> <ul> -<li>Once cloned, developers should navigate to the directory where the Hugo site is located: +<li> +<p>Once cloned, you should navigate to the directory where the Hugo site is located:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>cd mora-bprs.github.io</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>cd mora-bprs.github.io</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -73,18 +75,38 @@ <li> <p><strong>Install Hugo:</strong></p> <ul> -<li>Developers need to have Hugo installed on their local machine. They can follow the installation instructions provided on the <a href="https://gohugo.io/installation/" target="_blank" rel="noopener">official Hugo website</a>.</li> +<li>You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the <a href="https://gohugo.io/installation/" target="_blank" rel="noopener">official Hugo website</a>.</li> </ul> </li> <li> <p><strong>Start Editing the Site:</strong></p> <ul> -<li>Developers can start editing the Hugo site by modifying the content files located in the <code>content</code> directory. They can use Markdown syntax to write content and make changes as needed.</li> +<li>Refer to this <a href="https://imfing.github.io/hextra/docs/" target="_blank" rel="noopener">hugo theme documentation</a> to edit the pages.</li> +<li>You can start editing the Hugo site by modifying the content files located in the <code>content</code> directory. They can use Markdown syntax to write content and make changes as needed.</li> </ul> +<p>first create a folder with the slug name in the content folder, then create an index.md file in that folder and write the content in it.</p> +<p>template for index.md file:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code></code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-markdown" data-lang="markdown"><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span>title: &#34;Title of the page&#34; +</span></span><span style="display:flex;"><span>date: 2024-03-03 +</span></span><span style="display:flex;"><span>authors: +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> name: imfing +</span></span><span style="display:flex;"><span> link: https://go.io +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>tags: +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Markdown +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Example +</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">-</span> Guide +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>draft: false +</span></span><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span><span style="color:#75715e">## Sample Markdown content +</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span> +</span></span><span style="display:flex;"><span>Here write the content of the page in markdown syntax.</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -100,11 +122,12 @@ <li> <p><strong>Preview Changes Locally:</strong></p> <ul> -<li>To preview their changes locally, developers can run the Hugo development server: +<li>To preview their changes locally, you can run the Hugo development server:</li> +</ul> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>hugo server -D</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo server -D</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -116,20 +139,39 @@ </div> -This command starts a local web server, and developers can view the site in their web browser at <code>http://localhost:1313</code>.</li> +<p>This command starts a local web server, and you can view the site in their web browser at <code>http://localhost:1313</code>.</p> +</li> +<li> +<p><strong>Generate the changes locally:</strong></p> +<ul> +<li>To generate the changes locally, you can run the Hugo command:</li> </ul> +<div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> + + +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>hugo --destination docs</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> + <button + class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" + title="Copy code" + > + <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> + <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> + </button> +</div> + + +</div> +<p>This command generates the static files in the <code>docs</code> directory.</p> </li> <li> <p><strong>Commit Changes to the &ldquo;dev&rdquo; Branch:</strong></p> <ul> -<li>After making changes, developers should commit their changes to the &ldquo;dev&rdquo; branch: +<li> +<p>Create a branch named <code>dev</code> when you run this for the first time.</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> -<pre><code>git checkout dev -git add . -git commit -m &#34;Description of changes made&#34; -git push origin dev</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git checkout -b dev</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" @@ -142,22 +184,33 @@ git push origin dev</code></pre><div class="hextra-code-copy- </div> </li> -</ul> -</li> <li> -<p><strong>Submit Pull Requests (Optional):</strong></p> -<ul> -<li>If your workflow involves code reviews, developers can submit pull requests from the &ldquo;dev&rdquo; branch to other branches (e.g., &ldquo;main&rdquo; for production). This allows for review and collaboration before merging changes.</li> -</ul> +<p>If this is not your first time working with <code>dev</code> branch do the following.</p> </li> <li> -<p><strong>Deploy to Production (Optional):</strong></p> -<ul> -<li>Once changes are ready to be deployed to production, you can merge the &ldquo;dev&rdquo; branch into the appropriate branch (e.g., &ldquo;main&rdquo;) to trigger a deployment.</li> +<p>After making changes, you should commit their changes to the &ldquo;dev&rdquo; branch:</p> +<div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code"> + + +<div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>git checkout dev +</span></span><span style="display:flex;"><span>git add . +</span></span><span style="display:flex;"><span>git commit -m <span style="color:#e6db74">&#34;Description of changes made&#34;</span> +</span></span><span style="display:flex;"><span>git push origin dev</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> + <button + class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" + title="Copy code" + > + <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> + <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> + </button> +</div> + + +</div> +</li> </ul> </li> </ol> -<p>By documenting these steps, developers will have a clear understanding of how to clone, edit, and push updates to the Hugo site hosted in the &ldquo;mora-bprs.github.io&rdquo; repository, helping to streamline the development process.</p> diff --git a/docs/test/index.html b/docs/test/index.html index b7d2ebe..7bb5d08 100644 --- a/docs/test/index.html +++ b/docs/test/index.html @@ -13,9 +13,11 @@ How to get started – Mora BPRS +you should start by cloning the repository to their local machine: +git clone https://github.com/mora-bprs/mora-bprs.github.io.git Navigate to the Hugo Site Directory: +Once cloned, you should navigate to the directory where the Hugo site is located: +cd mora-bprs.github.io Install Hugo: +You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the official Hugo website. Start Editing the Site:" /> @@ -25,9 +27,11 @@ +you should start by cloning the repository to their local machine: +git clone https://github.com/mora-bprs/mora-bprs.github.io.git Navigate to the Hugo Site Directory: +Once cloned, you should navigate to the directory where the Hugo site is located: +cd mora-bprs.github.io Install Hugo: +You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the official Hugo website. Start Editing the Site:" /> @@ -35,16 +39,20 @@ +you should start by cloning the repository to their local machine: +git clone https://github.com/mora-bprs/mora-bprs.github.io.git Navigate to the Hugo Site Directory: +Once cloned, you should navigate to the directory where the Hugo site is located: +cd mora-bprs.github.io Install Hugo: +You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the official Hugo website. Start Editing the Site:"> - + +you should start by cloning the repository to their local machine: +git clone https://github.com/mora-bprs/mora-bprs.github.io.git Navigate to the Hugo Site Directory: +Once cloned, you should navigate to the directory where the Hugo site is located: +cd mora-bprs.github.io Install Hugo: +You need to have Hugo installed on their local machine. They can follow the installation instructions provided on the official Hugo website. Start Editing the Site:"/> @@ -190,11 +198,12 @@

How to get started -
git clone https://github.com/mora-bprs/mora-bprs.github.io.git
+
git clone https://github.com/mora-bprs/mora-bprs.github.io.git
+
+ + +
+

This command generates the static files in the docs directory.

  • Commit Changes to the “dev” Branch:

      -
    • After making changes, developers should commit their changes to the “dev” branch: +
    • +

      Create a branch named dev when you run this for the first time.

      -
      git checkout dev
      -git add .
      -git commit -m "Description of changes made"
      -git push origin dev
      +
      git checkout -b dev
      +
      + + +
      +
  • -

    By documenting these steps, developers will have a clear understanding of how to clone, edit, and push updates to the Hugo site hosted in the “mora-bprs.github.io” repository, helping to streamline the development process.