[Git][reproducible-builds/reproducible-website][master] docs: add table of contents

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Mon Aug 5 08:45:49 UTC 2024



Mattia Rizzolo pushed to branch master at Reproducible Builds / reproducible-website


Commits:
2550843a by hulkoba at 2024-08-05T08:44:07+00:00
docs: add table of contents

- - - - -


1 changed file:

- docs.md


Changes:

=====================================
docs.md
=====================================
@@ -1,13 +1,42 @@
 ---
-layout: docs
+layout: default
 title: Documentation
 permalink: /docs/
 order: 25
 redirect_from: /docs/.
 ---
 
+# Documentation
+
 Getting reproducible builds for your software or distribution might be easier than you think.
 
 However, it might require small changes to your build system and a strategy on
 how to enable others to recreate an environment in which the builds can be
 reproduced.
+
+
+{% for section in site.data.docs %}
+  <h2>{{ section.title }}</h2>
+
+  <ul class="list-unstyled">
+  {% for item in section.docs %}
+    {% assign item_url = item | prepend: "/docs/" | append:"/" %}
+    {% for p in site.docs %}
+      {% if p.url == item_url %}
+      <li><a href="{{ p.url | relative_url }}">{{ p.title }}</a></li>
+      {% endif %}
+    {% endfor %}
+  {% endfor %}
+  </ul>
+{% endfor %}
+
+<h2>Specifications</h2>
+
+<ul class="list-unstyled">
+  <li>
+    <a href="{{ "/specs/source-date-epoch/" | absolute_url }}"><tt>SOURCE_DATE_EPOCH</tt></a>
+  </li>
+  <li>
+    <a href="{{ "/specs/build-path-prefix-map/" | absolute_url }}"><tt>BUILD_PATH_PREFIX_MAP</tt> (WIP)</a>
+  </li>
+</ul>



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/2550843a283565ab48506d58e4848c1131ef221d

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/2550843a283565ab48506d58e4848c1131ef221d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20240805/711e12f1/attachment.htm>


More information about the rb-commits mailing list