Skip to content
Snippets Groups Projects
Commit dac20c74 authored by trantzas's avatar trantzas
Browse files

Deployed 45b10439 to develop in public with MkDocs 1.6.1 and mike 2.1.3

parent e2f663dd
No related branches found
No related tags found
No related merge requests found
...@@ -2435,9 +2435,6 @@ ...@@ -2435,9 +2435,6 @@
<h1 id="documenting">Documenting</h1> <h1 id="documenting">Documenting</h1>
<p>OpenSlice's documentation runs on <a href="https://www.mkdocs.org/">MkDocs</a>.</p> <p>OpenSlice's documentation runs on <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
<blockquote>
<p>This page is a WIP. Updates are ongoing.</p>
</blockquote>
<h2 id="eligibility">Eligibility</h2> <h2 id="eligibility">Eligibility</h2>
<p>Documenting OpenSlice is limited to active contributors. So, if you:</p> <p>Documenting OpenSlice is limited to active contributors. So, if you:</p>
<ol> <ol>
...@@ -2455,23 +2452,27 @@ ...@@ -2455,23 +2452,27 @@
<p><a href="https://www.mkdocs.org/">MkDocs</a> is a fast and simple static site generator that's geared towards building project documentation. Documentation source files are written in <code>Markdown</code>, and configured with a single <code>YAML</code> configuration file. Start by reading the <a href="https://www.mkdocs.org/getting-started/">introductory tutorial</a>, then check the <a href="https://www.mkdocs.org/user-guide/">User Guide</a> for more information.</p> <p><a href="https://www.mkdocs.org/">MkDocs</a> is a fast and simple static site generator that's geared towards building project documentation. Documentation source files are written in <code>Markdown</code>, and configured with a single <code>YAML</code> configuration file. Start by reading the <a href="https://www.mkdocs.org/getting-started/">introductory tutorial</a>, then check the <a href="https://www.mkdocs.org/user-guide/">User Guide</a> for more information.</p>
<h2 id="getting-started">Getting Started</h2> <h2 id="getting-started">Getting Started</h2>
<p>To contribute to OpenSlice's documentation, you need to follow those easy steps:</p> <p>To contribute to OpenSlice's documentation, you need to follow those easy steps:</p>
<ol> <p>1) Clone the <a href="https://labs.etsi.org/rep/osl/documentation">Documentation repository</a> with:</p>
<li> <pre><code class="language-bash">git clone https://labs.etsi.org/rep/osl/documentation.git
<p>Clone the <a href="https://labs.etsi.org/rep/osl/documentation">repository</a> with:</p> </code></pre>
<p><code>bash <p>2) Checkout the develop branch (incoming contributions are only accepted to the develop branch):</p>
git clone https://labs.etsi.org/rep/osl/documentation.git</code></p> <pre><code class="language-bash">cd ./documentation
</li> git checkout develop
<li> </code></pre>
<p>Checkout the desired branch (don't forget to select one or make one!):</p> <p>3) Setup a local mkdocs server, using a virtual environment</p>
<p><code>bash <pre><code class="language-bash">python3 -m venv venv
git checkout develop #[or another branch]</code></p> source venv/bin/activate
</li> python -m pip install mkdocs
<li> python -m pip install mkdocs-material
<p>Document (and commit)! 😊</p> python -m pip install mike
</li> </code></pre>
</ol> <p>4) Wait for all downloads to finish and start the mkdocs server</p>
<pre><code class="language-bash">mkdocs serve
</code></pre>
<p>5) Document (and commit)! 😊</p>
<p>Before committing, you should make sure that the local mkdcocs server's terminal is not producing any INFO/WARNING message regarding your contributions.</p>
<blockquote> <blockquote>
<p>The documentation website supports branches, so your changes will be reflected in the corresponding branch.</p> <p>The documentation website supports branches, so your accepted changes will be reflected to the develop branch which becomes the Release branch after each corresponding cycle.</p>
</blockquote> </blockquote>
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment