mirror of
https://github.com/nlohmann/json.git
synced 2026-10-26 07:48:55 +00:00
Apply the brand to the Material for MkDocs site: Inter and JetBrains Mono served by the site (upright and real italic), brand colours, blue header band with the syntax pattern, wordmark in the header, new home page (hero, cards, animated feature tour), 404 page, polish for tabs, search, footer, focus rings, tables and code blocks, and theme features (code copy, previous/next footer, TOC follow, search suggestions). Draw the number railroad diagram, the parser callback events and the iterator illustrations as inline SVGs that follow the light and dark scheme. The generator scripts are in docs/mkdocs/scripts/figures; the feature slideshow (json-light.svg, json-dark.svg, replacing json.gif on the home page) is built by docs/mkdocs/scripts/slideshow. Decision nodes in five flowcharts become hexagons, which need far less room. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
16 lines
616 B
HTML
16 lines
616 B
HTML
{#- 404 page: say what happened and offer the three useful ways out -#}
|
|
{% extends "main.html" %}
|
|
|
|
{% block content %}
|
|
<div class="nj-404">
|
|
<p class="nj-404__code">// error 404</p>
|
|
<h1>This page does not exist</h1>
|
|
<p>The page may have moved or been renamed. Try the search in the header, or start from one of these pages.</p>
|
|
<p>
|
|
<a href="{{ '' | url }}" class="md-button md-button--primary">Home</a>
|
|
<a href="{{ 'features/' | url }}" class="md-button">Features</a>
|
|
<a href="{{ 'api/basic_json/' | url }}" class="md-button">API documentation</a>
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|