Layout¶
The page layout follows jorgemartinez.space. It uses four HTML elements:
<header>Shows the project name (
projectinconf.py) in white on black. Setsite_descriptionto add a description below it. Social links, search, and optional version selection wrap into rows as space narrows. On narrow screens the search and version labels sit above their fields; native controls retain visible keyboard focus.<nav>Styled native links lead to the top-level sections and the current section’s child pages. They show white text on black when hovered or active.
<main>Contains the document and uses the available width, up to 800 px. Prose links remain underlined before and after visiting them.
<footer>Shows
footer_textin white on black. The default is the copyright text and a Sphinx notice.
Table of Contents¶
The theme hides the basic theme’s sidebar. To add a table of contents
inside a page, use the .. contents:: directive in your .rst file:
.. contents:: On this page
:local:
:depth: 2