Skip to content

Commit 0ab670b

Browse files
committed
deploy: 3040ce4
1 parent a9ff98c commit 0ab670b

File tree

12 files changed

+396
-141
lines changed

12 files changed

+396
-141
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: d4c4c9cae46479850f4421c4eecaf5af
3+
config: d1a7ef06ecb70dbff6f0894cd99f80af
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_sources/git.rst.txt

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -102,68 +102,3 @@ If you no longer need the branch locally, you can delete it:
102102
.. code:: bash
103103
104104
git branch -d update_readme
105-
106-
107-
Modifying the HTML Webpage
108-
---------------------------
109-
110-
1. Compile the HTML Webpage Locally
111-
____________________________________
112-
113-
To compile the HTML files locally, navigate to the parent directory of your project and run:
114-
115-
.. code-block:: bash
116-
117-
make html
118-
119-
This command will generate the HTML files for your webpage.
120-
121-
**Troubleshooting:**
122-
123-
- If the ``make html`` command fails, you might need to install the necessary dependencies first. You can do this by running:
124-
125-
.. code-block:: bash
126-
127-
pip install -r requirements.txt
128-
129-
2. View the Compiled HTML
130-
__________________________
131-
132-
Once the compilation is successful, you can view the HTML files by navigating to the ``docs/build/html`` directory. Open the files in this folder with your preferred web browser to see your webpage.
133-
134-
3. Modify the Documentation
135-
____________________________
136-
137-
**Important:**
138-
139-
- **Never modify files directly in the** ``html`` **folder.**
140-
- Always make changes in the ``docs/source`` folder, which contains the source files used to generate the HTML.
141-
142-
**Steps for Modifying Content:**
143-
144-
1. **Create a New** ``.rst`` **File:**
145-
146-
If you need to add new content, you can create a new ``.rst`` file in the ``docs/source`` directory. Use an existing file, such as ``oar.rst``, as a template for the new file.
147-
148-
- **Formatting Tips:** For guidance on formatting ``.rst`` files, refer to `appropriate documentation <https://developer.lsst.io/restructuredtext/style.html>`_.
149-
150-
151-
2. **Update the** ``index.rst`` **File:**
152-
153-
After adding or modifying ``.rst`` files, update the ``index.rst`` file to include your new content in the table of contents or navigation structure.
154-
155-
4. Re-compile the HTML Webpage
156-
_______________________________
157-
158-
Once you've made your changes, recompile the HTML files by running ``make html`` again from the parent directory (``docs``), where the ``make.bat`` file is located:
159-
160-
.. code-block:: bash
161-
162-
make html
163-
164-
This will regenerate the HTML files with your latest modifications.
165-
166-
5. Commit and Push Changes
167-
__________________________
168-
169-
After confirming your changes are reflected in the compiled HTML, it's time to commit and push your changes to the repository. For detailed instructions on how to commit and push changes, see see `Getting Started with Git and GitHub <#getting-started-with-git-and-github>`_.

_sources/index.rst.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ start a discussion on |GitHub_discussion|
1515

1616
oar
1717
git
18+
19+
.. toctree::
20+
:maxdepth: 2
21+
:caption: Contributors:
22+
23+
sphinx

_sources/sphinx.rst.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
Sphinx tips
2+
===========
3+
4+
Contributing to this Documentation
5+
----------------------------------
6+
7+
1. Compile the HTML Webpage Locally
8+
____________________________________
9+
10+
To compile the HTML files locally, navigate to the parent directory of your project and run:
11+
12+
.. code-block:: bash
13+
14+
make html
15+
16+
This command will generate the HTML files for your webpage.
17+
18+
**Troubleshooting:**
19+
20+
- If the ``make html`` command fails, you might need to install the necessary dependencies first. You can do this by running:
21+
22+
.. code-block:: bash
23+
24+
pip install -r requirements.txt
25+
26+
2. View the Compiled HTML
27+
__________________________
28+
29+
Once the compilation is successful, you can view the HTML files by navigating to the ``docs/build/html`` directory. Open the files in this folder with your preferred web browser to see your webpage.
30+
31+
3. Modify the Documentation
32+
____________________________
33+
34+
**Important:**
35+
36+
- **Never modify files directly in the** ``html`` **folder.**
37+
- Always make changes in the ``docs/source`` folder, which contains the source files used to generate the HTML.
38+
39+
**Steps for Modifying Content:**
40+
41+
1. **Create a New** ``.rst`` **File:**
42+
43+
If you need to add new content, you can create a new ``.rst`` file in the ``docs/source`` directory. Use an existing file, such as ``oar.rst``, as a template for the new file.
44+
45+
- **Formatting Tips:** For guidance on formatting ``.rst`` files, refer to `appropriate documentation <https://developer.lsst.io/restructuredtext/style.html>`_.
46+
47+
48+
2. **Update the** ``index.rst`` **File:**
49+
50+
After adding or modifying ``.rst`` files, update the ``index.rst`` file to include your new content in the table of contents or navigation structure.
51+
52+
4. Re-compile the HTML Webpage
53+
_______________________________
54+
55+
Once you've made your changes, first delete previous files to avoid conflict:
56+
57+
.. code-block:: bash
58+
59+
make clean
60+
61+
Second recompile the HTML files by running ``make html`` again from the parent directory (``docs``), where the ``make.bat`` file is located:
62+
63+
.. code-block:: bash
64+
65+
make html
66+
67+
This will regenerate the HTML files with your latest modifications.
68+
69+
5. Commit and Push Changes
70+
__________________________
71+
72+
After confirming your changes are reflected in the compiled HTML, it's time to commit and push your changes to the repository. For detailed instructions on how to commit and push changes, see `Getting Started with Git and GitHub <#git-tips>`_.

genindex.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<img src="_static/img/wagtail-logo-new.svg" width="45" height="59" alt="Wagtail"
2626
class="logo-img"
2727
/>
28-
Sphinx Wagtail Theme
28+
PSM tips
2929
</a>
3030

3131

@@ -57,6 +57,10 @@
5757
<ul>
5858
<li class="toctree-l1"><a class="reference internal" href="oar.html">OAR tips</a></li>
5959
<li class="toctree-l1"><a class="reference internal" href="git.html">GIT tips</a></li>
60+
</ul>
61+
<p class="caption" role="heading"><span class="caption-text">Contributors:</span></p>
62+
<ul>
63+
<li class="toctree-l1"><a class="reference internal" href="sphinx.html">Sphinx tips</a></li>
6064
</ul>
6165

6266
</nav>
@@ -89,7 +93,7 @@
8993
<span class="dark-only"><i class="fas fa-sun"></i> Light mode</span>
9094
<span class="light-only"><i class="fas fa-moon"></i> Dark mode</span>
9195
</button>
92-
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docsgenindex" rel="nofollow">
96+
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docs/source/genindex" rel="nofollow">
9397
<span class="btn-icon"><span class="fab fa-github"></span></span>
9498
<span class="btn-text">Edit on GitHub</span>
9599
</a>

git.html

Lines changed: 10 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<link rel="index" title="Index" href="genindex.html" />
1414
<link rel="search" title="Search" href="search.html" />
1515
<link rel="top" title="PSM tips and trics page" href="#" />
16+
<link rel="next" title="Sphinx tips" href="sphinx.html" />
1617
<link rel="prev" title="OAR tips" href="oar.html" />
1718
</head>
1819
<body>
@@ -28,7 +29,7 @@
2829
<img src="_static/img/wagtail-logo-new.svg" width="45" height="59" alt="Wagtail"
2930
class="logo-img"
3031
/>
31-
Sphinx Wagtail Theme
32+
PSM tips
3233
</a>
3334

3435

@@ -60,6 +61,10 @@
6061
<ul class="current">
6162
<li class="toctree-l1"><a class="reference internal" href="oar.html">OAR tips</a></li>
6263
<li class="toctree-l1 current"><a class="current reference internal" href="#">GIT tips</a></li>
64+
</ul>
65+
<p class="caption" role="heading"><span class="caption-text">Contributors:</span></p>
66+
<ul>
67+
<li class="toctree-l1"><a class="reference internal" href="sphinx.html">Sphinx tips</a></li>
6368
</ul>
6469

6570
</nav>
@@ -92,7 +97,7 @@
9297
<span class="dark-only"><i class="fas fa-sun"></i> Light mode</span>
9398
<span class="light-only"><i class="fas fa-moon"></i> Dark mode</span>
9499
</button>
95-
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docsgit.rst" rel="nofollow">
100+
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docs/source/git.rst" rel="nofollow">
96101
<span class="btn-icon"><span class="fab fa-github"></span></span>
97102
<span class="btn-text">Edit on GitHub</span>
98103
</a>
@@ -187,68 +192,16 @@ <h3>7. Delete the Branch Locally (Optional)<a class="headerlink" href="#delete-t
187192
</div>
188193
</section>
189194
</section>
190-
<section id="modifying-the-html-webpage">
191-
<h2>Modifying the HTML Webpage<a class="headerlink" href="#modifying-the-html-webpage" title="Link to this heading"></a></h2>
192-
<section id="compile-the-html-webpage-locally">
193-
<h3>1. Compile the HTML Webpage Locally<a class="headerlink" href="#compile-the-html-webpage-locally" title="Link to this heading"></a></h3>
194-
<p>To compile the HTML files locally, navigate to the parent directory of your project and run:</p>
195-
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>make<span class="w"> </span>html
196-
</pre></div>
197-
</div>
198-
<p>This command will generate the HTML files for your webpage.</p>
199-
<p><strong>Troubleshooting:</strong></p>
200-
<ul>
201-
<li><p>If the <code class="docutils literal notranslate"><span class="pre">make</span> <span class="pre">html</span></code> command fails, you might need to install the necessary dependencies first. You can do this by running:</p>
202-
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>-r<span class="w"> </span>requirements.txt
203-
</pre></div>
204-
</div>
205-
</li>
206-
</ul>
207-
</section>
208-
<section id="view-the-compiled-html">
209-
<h3>2. View the Compiled HTML<a class="headerlink" href="#view-the-compiled-html" title="Link to this heading"></a></h3>
210-
<p>Once the compilation is successful, you can view the HTML files by navigating to the <code class="docutils literal notranslate"><span class="pre">docs/build/html</span></code> directory. Open the files in this folder with your preferred web browser to see your webpage.</p>
211-
</section>
212-
<section id="modify-the-documentation">
213-
<h3>3. Modify the Documentation<a class="headerlink" href="#modify-the-documentation" title="Link to this heading"></a></h3>
214-
<p><strong>Important:</strong></p>
215-
<ul class="simple">
216-
<li><p><strong>Never modify files directly in the</strong> <code class="docutils literal notranslate"><span class="pre">html</span></code> <strong>folder.</strong></p></li>
217-
<li><p>Always make changes in the <code class="docutils literal notranslate"><span class="pre">docs/source</span></code> folder, which contains the source files used to generate the HTML.</p></li>
218-
</ul>
219-
<p><strong>Steps for Modifying Content:</strong></p>
220-
<ol class="arabic">
221-
<li><p><strong>Create a New</strong> <code class="docutils literal notranslate"><span class="pre">.rst</span></code> <strong>File:</strong></p>
222-
<p>If you need to add new content, you can create a new <code class="docutils literal notranslate"><span class="pre">.rst</span></code> file in the <code class="docutils literal notranslate"><span class="pre">docs/source</span></code> directory. Use an existing file, such as <code class="docutils literal notranslate"><span class="pre">oar.rst</span></code>, as a template for the new file.</p>
223-
<ul class="simple">
224-
<li><p><strong>Formatting Tips:</strong> For guidance on formatting <code class="docutils literal notranslate"><span class="pre">.rst</span></code> files, refer to <a class="reference external" href="https://developer.lsst.io/restructuredtext/style.html">appropriate documentation</a>.</p></li>
225-
</ul>
226-
</li>
227-
<li><p><strong>Update the</strong> <code class="docutils literal notranslate"><span class="pre">index.rst</span></code> <strong>File:</strong></p>
228-
<p>After adding or modifying <code class="docutils literal notranslate"><span class="pre">.rst</span></code> files, update the <code class="docutils literal notranslate"><span class="pre">index.rst</span></code> file to include your new content in the table of contents or navigation structure.</p>
229-
</li>
230-
</ol>
231-
</section>
232-
<section id="re-compile-the-html-webpage">
233-
<h3>4. Re-compile the HTML Webpage<a class="headerlink" href="#re-compile-the-html-webpage" title="Link to this heading"></a></h3>
234-
<p>Once you’ve made your changes, recompile the HTML files by running <code class="docutils literal notranslate"><span class="pre">make</span> <span class="pre">html</span></code> again from the parent directory (<code class="docutils literal notranslate"><span class="pre">docs</span></code>), where the <code class="docutils literal notranslate"><span class="pre">make.bat</span></code> file is located:</p>
235-
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>make<span class="w"> </span>html
236-
</pre></div>
237-
</div>
238-
<p>This will regenerate the HTML files with your latest modifications.</p>
239-
</section>
240-
<section id="id1">
241-
<h3>5. Commit and Push Changes<a class="headerlink" href="#id1" title="Link to this heading"></a></h3>
242-
<p>After confirming your changes are reflected in the compiled HTML, it’s time to commit and push your changes to the repository. For detailed instructions on how to commit and push changes, see see <a class="reference external" href="#getting-started-with-git-and-github">Getting Started with Git and GitHub</a>.</p>
243-
</section>
244-
</section>
245195
</section>
246196

247197
</main>
248198
<nav aria-label="Page navigation" class="py-4 my-5 clearfix font-weight-bold border-top">
249199
<a class="float-left" href="oar.html" title="Previous">
250200
<span aria-hidden="true">←&nbsp;</span>OAR tips
251201
</a>
202+
<a class="float-right" href="sphinx.html" title="Next">
203+
Sphinx tips <span aria-hidden="true">&nbsp;→</span>
204+
</a>
252205
</nav>
253206
</div>
254207

@@ -268,14 +221,6 @@ <h3>5. Commit and Push Changes<a class="headerlink" href="#id1" title="Link to t
268221
<li><a class="reference internal" href="#delete-the-branch-locally-optional">7. Delete the Branch Locally (Optional)</a></li>
269222
</ul>
270223
</li>
271-
<li><a class="reference internal" href="#modifying-the-html-webpage">Modifying the HTML Webpage</a><ul>
272-
<li><a class="reference internal" href="#compile-the-html-webpage-locally">1. Compile the HTML Webpage Locally</a></li>
273-
<li><a class="reference internal" href="#view-the-compiled-html">2. View the Compiled HTML</a></li>
274-
<li><a class="reference internal" href="#modify-the-documentation">3. Modify the Documentation</a></li>
275-
<li><a class="reference internal" href="#re-compile-the-html-webpage">4. Re-compile the HTML Webpage</a></li>
276-
<li><a class="reference internal" href="#id1">5. Commit and Push Changes</a></li>
277-
</ul>
278-
</li>
279224
</ul>
280225
</li>
281226
</ul>

index.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<img src="_static/img/wagtail-logo-new.svg" width="45" height="59" alt="Wagtail"
2929
class="logo-img"
3030
/>
31-
Sphinx Wagtail Theme
31+
PSM tips
3232
</a>
3333

3434

@@ -60,6 +60,10 @@
6060
<ul>
6161
<li class="toctree-l1"><a class="reference internal" href="oar.html">OAR tips</a></li>
6262
<li class="toctree-l1"><a class="reference internal" href="git.html">GIT tips</a></li>
63+
</ul>
64+
<p class="caption" role="heading"><span class="caption-text">Contributors:</span></p>
65+
<ul>
66+
<li class="toctree-l1"><a class="reference internal" href="sphinx.html">Sphinx tips</a></li>
6367
</ul>
6468

6569
</nav>
@@ -92,7 +96,7 @@
9296
<span class="dark-only"><i class="fas fa-sun"></i> Light mode</span>
9397
<span class="light-only"><i class="fas fa-moon"></i> Dark mode</span>
9498
</button>
95-
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docsindex.rst" rel="nofollow">
99+
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docs/source/index.rst" rel="nofollow">
96100
<span class="btn-icon"><span class="fab fa-github"></span></span>
97101
<span class="btn-text">Edit on GitHub</span>
98102
</a>
@@ -126,7 +130,15 @@ <h1>Unofficial PSM tips and tricks<a class="headerlink" href="#unofficial-psm-ti
126130
</li>
127131
<li class="toctree-l1"><a class="reference internal" href="git.html">GIT tips</a><ul>
128132
<li class="toctree-l2"><a class="reference internal" href="git.html#getting-started-with-git-and-github">Getting Started with Git and GitHub</a></li>
129-
<li class="toctree-l2"><a class="reference internal" href="git.html#modifying-the-html-webpage">Modifying the HTML Webpage</a></li>
133+
</ul>
134+
</li>
135+
</ul>
136+
</div>
137+
<div class="toctree-wrapper compound">
138+
<p class="caption" role="heading"><span class="caption-text">Contributors:</span></p>
139+
<ul>
140+
<li class="toctree-l1"><a class="reference internal" href="sphinx.html">Sphinx tips</a><ul>
141+
<li class="toctree-l2"><a class="reference internal" href="sphinx.html#contributing-to-this-documentation">Contributing to this Documentation</a></li>
130142
</ul>
131143
</li>
132144
</ul>

oar.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<img src="_static/img/wagtail-logo-new.svg" width="45" height="59" alt="Wagtail"
3030
class="logo-img"
3131
/>
32-
Sphinx Wagtail Theme
32+
PSM tips
3333
</a>
3434

3535

@@ -61,6 +61,10 @@
6161
<ul class="current">
6262
<li class="toctree-l1 current"><a class="current reference internal" href="#">OAR tips</a></li>
6363
<li class="toctree-l1"><a class="reference internal" href="git.html">GIT tips</a></li>
64+
</ul>
65+
<p class="caption" role="heading"><span class="caption-text">Contributors:</span></p>
66+
<ul>
67+
<li class="toctree-l1"><a class="reference internal" href="sphinx.html">Sphinx tips</a></li>
6468
</ul>
6569

6670
</nav>
@@ -93,7 +97,7 @@
9397
<span class="dark-only"><i class="fas fa-sun"></i> Light mode</span>
9498
<span class="light-only"><i class="fas fa-moon"></i> Dark mode</span>
9599
</button>
96-
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docsoar.rst" rel="nofollow">
100+
<a class="btn btn-sm btn-light text-decoration-none" href="https://github.com/psm-compute/psm-compute.github.io/tree/main/docs/source/oar.rst" rel="nofollow">
97101
<span class="btn-icon"><span class="fab fa-github"></span></span>
98102
<span class="btn-text">Edit on GitHub</span>
99103
</a>

objects.inv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
# Project: tips-and-tricks
33
# Version:
44
# The remainder of this file is compressed using zlib.
5-
xڅ�1�0 E���(+�PQ8@H��"M��H��@D+!����gc��켺Z�\�nz<��Q8� ��3���>��7� ��K�]���6� Є���͏�\}Ni��{[�D5-��V����Y���ʙ���ɪI�k#��Ӳ.��� 3�qC
5+
xڅ�A� D���_�&nݹ2]46V�@�G
6+
M�&��*c�����7�`M���靗W�ڂ-����~�Eʐ�*#H��3�I|{
7+
�������Pzh�&� ��Pݒ���b����-M�woʞ(��c�+C����,�zۙ\ ��d��:�g:�[i�H�ð�:+�d7oz�W

0 commit comments

Comments
 (0)