---
import { type Frontmatter, type KnownLanguageCode } from "../../config";
import { getIsRtlFromLangCode } from "../../languages";
import OnThisPageLinks from "../navigation/OnThisPageLinks";
import BreadCrumbs from "./breadCrumbs";
import OutdatedDocsBanner from "./outdatedDocsBanner.astro";
import Pagination from "./pagination.astro";
import { type MarkdownHeading } from "astro";
export interface Props {
frontmatter: Frontmatter;
path: string;
headings: MarkdownHeading[];
}
const { frontmatter, path, headings } = Astro.props;
const title = frontmatter.title;
const [_1, _2, lang] = path.split("/");
const isRtl = getIsRtlFromLangCode((lang || "en") as KnownLanguageCode);
---
{lang && lang !== "en" && }