lthn.io/app/Website/Docs/Views/show.blade.php
Claude 0bc44d483d
feat: Website/Docs module for docs.lthn.io
Full documentation site with sidebar navigation, search, markdown
rendering, and prev/next navigation. Initial content: introduction,
chain overview, name system, API reference, CIC governance.

Lethean Boot.php now only registers routes on matching domains
(lthn.io, testnet.lthn.io, localhost) — no longer bleeds onto
api.*, docs.*, explorer.* subdomains.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 10:07:21 +01:00

33 lines
735 B
PHP

@extends('docs::layout')
@section('title', $title)
@section('content')
<div class="prose">
{!! $content !!}
</div>
@if($prev || $next)
<div class="page-nav">
@if($prev)
<a href="/{{ $prev['section'] }}/{{ $prev['page'] }}" class="prev">
<div class="label">&larr; Previous</div>
{{ $prev['label'] }}
</a>
@else
<div></div>
@endif
@if($next)
<a href="/{{ $next['section'] }}/{{ $next['page'] }}" class="next">
<div class="label">Next &rarr;</div>
{{ $next['label'] }}
</a>
@endif
</div>
@endif
<div class="docs-footer">
<p>Lethean CIC &mdash; Community Interest Company &middot; <a href="https://forge.lthn.ai">Edit on Forge</a></p>
</div>
@endsection