Skip to content

Commit 2deab5d

Browse files
SteveMacenskiclaude
andcommitted
Fix index.md structure to match home layout template
The issue was a mismatch between index.md content and the home.html layout. The layout template contains all the HTML structure and Jekyll templating, so index.md should only contain front matter. This resolves the GitHub Pages 404 by ensuring proper template rendering. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ddeeea8 commit 2deab5d

2 files changed

Lines changed: 2 additions & 41 deletions

File tree

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
api.nav2.org

index.md

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,4 @@
11
---
22
layout: home
33
title: "Nav2 API Docs"
4-
---
5-
6-
# Nav2 API Docs
7-
8-
Welcome to the C++ developer-friendly Nav2 API documentation. This site provides comprehensive Doxygen-generated documentation for multiple Nav2 distributions because I (Your Friendly Neighborhood Navigator) find the new format utterly unreadable and I needed a new solution before my total descent into madness.
9-
10-
## Available Distributions
11-
12-
### Nav2 API Documentation
13-
14-
<div class="distribution-grid">
15-
{% assign sorted_nav2_distributions = site.nav2_distributions | sort: 'order' %}
16-
{% for dist in sorted_nav2_distributions %}
17-
<div class="distribution-card nav2-card">
18-
<h3><a href="/nav2-{{ dist.slug }}/html/index.html">{{ dist.title }}</a></h3>
19-
<p>{{ dist.description }}</p>
20-
<p><strong>Status:</strong> {{ dist.status }}</p>
21-
</div>
22-
{% endfor %}
23-
</div>
24-
25-
### ROS 2 API Documentation
26-
27-
<div class="distribution-grid">
28-
{% assign sorted_distributions = site.distributions | sort: 'order' %}
29-
{% for dist in sorted_distributions %}
30-
<div class="distribution-card">
31-
<h3><a href="/{{ dist.slug }}/html/index.html">{{ dist.title }}</a></h3>
32-
<p>{{ dist.description }}</p>
33-
<p><strong>Status:</strong> {{ dist.status }}</p>
34-
</div>
35-
{% endfor %}
36-
</div>
37-
38-
## Resources
39-
40-
- [ROS 2 Official Documentation](https://docs.ros.org/)
41-
- [Rclcpp GitHub Repository](https://github.com/ros2/rclcpp)
42-
- [Nav2 GitHub Repository](https://github.com/ros-navigation/navigation2)
43-
- [Nav2 Project](https://nav2.org/)
44-
- [Nav2 Docs](https://docs.nav2.org/)
4+
---

0 commit comments

Comments
 (0)