From 0f184f9a005ada076dddebe9e03e66f360bf5019 Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Wed, 20 Nov 2024 15:40:11 -0800 Subject: [PATCH] Add to toctree --- docs/user/index.rst | 1 + docs/user/intro/markdoc.rst | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/user/index.rst b/docs/user/index.rst index f2f6fd5141d..19d27abd0b0 100644 --- a/docs/user/index.rst +++ b/docs/user/index.rst @@ -10,6 +10,7 @@ Read the Docs: documentation simplified /intro/doctools /intro/mkdocs /intro/sphinx + /intro/markdoc /intro/add-project /examples diff --git a/docs/user/intro/markdoc.rst b/docs/user/intro/markdoc.rst index 00c268f18f7..aae91ae493a 100644 --- a/docs/user/intro/markdoc.rst +++ b/docs/user/intro/markdoc.rst @@ -1,4 +1,3 @@ - Markdoc ======= @@ -35,7 +34,7 @@ Example configuration In order to build a Markdoc project on Read the Docs, you need to generate static HTML from the Next JS build: -.. code-block:: yaml +.. code-block:: js :caption: next.config.js const withMarkdoc = require('@markdoc/next.js'); @@ -62,8 +61,6 @@ you need to generate static HTML from the Next JS build: ...nextConfig, }); - - Quick start -----------