docusaurus Questions

2

I'd like to populate my Docusaurus project with documentation using the "docs" plugin and a custom (JavaScript) plugin to connect it to a headless CMS. Currently, I'm using the loadConten...
Mucin asked 20/10, 2020 at 17:37

7

Solved

I've been trying to get environment variables to work in my documentation build. I've had some success with adding a dotenv-webpack plugin and substituting values that way. This has the downside of...
Hegyera asked 9/4, 2020 at 17:40

4

Solved

I'm building a website using Docusaurus 2. My website will contain docs and blogs. I wonder if it is possible to let visitors comment below an article? I guess, if we support comments, we need an...
Protecting asked 19/8, 2019 at 22:27

3

Does anyone have any pointers on how to go about adding a /docs page for website documentation to a next.js app? I've looked up Docusaurus but it seems like it's already a react app itself. Is ther...
Terrier asked 8/6, 2022 at 11:28

5

We are making a website with Docusaurus V2. In Docusaurus V1, there is a scripts setting in siteConfig.js to cusutimize html's head content. But, I cannot find the corresponding setting in Docusaur...
Dossal asked 9/9, 2019 at 18:24

6

Solved

Using Docusaurus for help documentation. I can include images, gifs, and reference a youtube video (use iframe). But it is not clear to me how to include a video in a markdown file. I am expecting ...
Dewey asked 14/9, 2021 at 14:45

3

I see that it is possible to embed React components with MDX: https://v2.docusaurus.io/docs/markdown-features/#embedding-react-components-with-mdx However, this method works for a specific page. H...
Priedieu asked 26/5, 2020 at 12:33

2

Solved

I have a generated-index page, and I can see how to customize the on-page title and description in the category.json for the directory, but is there a way to customize the items generated by the fi...
Lethargic asked 2/2, 2023 at 20:37

1

I have a website in docusaurus v1 that I am migrating to v2. It has several docs in .md format with embedded HTML tags. After the migration, the website won't load due to invalid tags. Is it possi...
Avar asked 13/1, 2021 at 20:34

1

I am running a simple project of Docusaurus with npm start which runs successfully. Using Github Codespaces to run the project but the forwarded route doesn't seem to be working. Attached the scree...
Codel asked 28/10, 2022 at 4:50

2

From the docusaurus docs, the navbar items can only have certain types like link, dropdown and search. How do I add custom buttons like if I want to add login button ?
Headwork asked 14/9, 2021 at 7:56

0

Is there a way to have more than one URL for a page? I have: --- slug: /foo --- I want the page to load with /foo or /bar. I suppose I could make another file with the other slug and have it mimic...
Juanjuana asked 4/11, 2022 at 1:33

2

Solved

I'm using Docusaurus to make documentation. I want to add an image to a markdown file, and also resize it to prevent it to be larger than needed. Checking This answer, I realized this is possible...
Pregnant asked 7/10, 2019 at 8:4

2

Solved

I try to add markdown code inside a Tab, as explain the documentation. The name file name has .mdx extension. Here its content: import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';...
Mukden asked 27/3, 2021 at 10:36

0

I'm currently deciding whether to migrate my developer docs from Sphinx to Docusaurus. The one thing that's holding me back is that Docusaurus (and in fact Markdown in general) doesn't support pull...

3

Since I don't have a landing page, I would like to redirect to the main doc page docs/main I tried to follow the instructions: https://docusaurus.io/docs/en/site-creation#docs-landing-page from v1...
Championship asked 1/11, 2019 at 20:57

6

I have an image with a white background, which looks off on docusaurus dark theme, so I want to detect when the user changes theme so I use a different image.
Ailee asked 19/10, 2020 at 10:32

2

Solved

I'm using docusaurus for our dev docs. How to disable TOC? Thanks.
Tapp asked 30/6, 2021 at 3:38

2

I'm trying to implement Sign in and Sign up buttons on the Docusaurus navbar... ...but since my app is in a subdomain, Docusaurus thinks they are external links and adds this ugly SVG. How do I di...
Conchology asked 23/1, 2022 at 12:37

3

Solved

I am currently evaluating using Docusaurus to generate a static web site. The site itself is not documentation focused, in fact, the site is not even computer or technology related. But as a techie...
Bear asked 26/11, 2018 at 15:47

3

My question: Are there any docusaurus features out of the box (beyond https://github.com/facebook/docusaurus/pull/764) that will make the following easier? (I've asked this here because their githu...
Compeer asked 23/2, 2020 at 14:17

6

Solved

As I know, Docusaurus supports customized pages, but is there a way to have two docs in one Docusaurus project? The original Navbar items have: Docs Blog ... I want to have something like this...
Wommera asked 21/3, 2020 at 1:21

2

Solved

I'm building a website with Docusaurus V2. I have a file link: [10Studio-Sample-EN.xlsx](https://www.10studio.tech/files/10Studio-Sample-EN.xlsx) Now, I want to put that link in the center (tradit...
Algetic asked 4/9, 2019 at 12:33

1

When starting yarn for my docusaurus 2 website, I see that the website is running on a local host (http://localhost:3000/). However, I noticed that there was an Unterminated JSX contents error. Des...
Gonophore asked 18/6, 2020 at 9:52

3

Solved

Markdown tables use vertical bars as field separators, but I need to write a vertical bar within some cells. Is this possible? I'm using GFM (GitHub Flavored Markdown). Can I escape the vertical b...

© 2022 - 2025 — McMap. All rights reserved.