Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
4 replies
76 views

Currently, my website builds on pushes to main using GitHub Actions. The GA takes about 3 minutes, during which the website is 404. My experience of other website builders (Jekyll, WP, whatever) is ...
JimKennedyMidokura's user avatar
3 votes
1 answer
151 views

I am using Docusaurus (v3) with i18n enabled (English as default, Russian as a second language). I have a documentation category configured to use a generated-index. I have successfully translated the ...
Den's user avatar
  • 69
1 vote
0 answers
88 views

Problem I’m using Docusaurus with Typesense and the docsearch-typesense-scraper to index my documentation site. Everything runs fine — the sitemap is found, and the scraper produces records. However, ...
Erwin's user avatar
  • 11
0 votes
0 answers
105 views

I’m building documentation for multiple products on a single Docusaurus 3 website. Each product has its own versions, and I want users to be able to select a product first, then optionally select a ...
20ECE008 Pavithra G's user avatar
0 votes
0 answers
57 views

I have two subdomains for my Docusaurus site: https://test.mydomain.com https://docs.mydomain.com In my docusaurus.config.js, I tried setting the url using an environment variable: const config = { // ...
Nicos's user avatar
  • 313
0 votes
0 answers
64 views

When building a docusaurus site its index.html hrefs are https://localhost:3000/integrations/docs and I would like it to be https://localhost:3000/integrations/docs/index.html, because I'm using its ...
this is not my name's user avatar
0 votes
0 answers
67 views

Question Description I created two sidebars: one for the docs directory and another for the docs/cs directory. Inside the cs directory, there's a README.md file and a leetcode/README.md file. The ...
皮皮萌宝's user avatar
0 votes
2 answers
180 views

I'm embedding my docusaurus site within a bigger Next.js project. When a user clicks on the title link in the navbar, docusaurus does a soft, client-side navigation to its home page. This is NOT what ...
Ben's user avatar
  • 22k
0 votes
1 answer
118 views

I'm having trouble making docusaurus RTL. I used a solution that changed the CSS by the following: html { direction: rtl; font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif; } /* Optionally, ...
Sam's user avatar
  • 75
0 votes
0 answers
235 views

I'm using Docusaurus v3 to build documentation for my QMS, and I want to automatically add hierarchical numbering to headings, like this: # 1. Introduction ## 1.1 Overview ### 1.1.1 Details I want to ...
t4dhg's user avatar
  • 11
0 votes
0 answers
81 views

I have a docusaurus site hosted on a custom domain on github pages. When I run the site locally the search works properly through the docs. When I am on the custom domain the search returns a ...
Madison Beatty's user avatar
0 votes
0 answers
129 views

I am using the Docusaurus app (version: 3.4.0) to render the documents in my other React app. In my React app, I am rendering Docusaurus via iframe, both my React app and Docusaurus app are deployed ...
Ankur Nariya's user avatar
0 votes
0 answers
111 views

I have a Docusaurus project where I am trying to add support for Java syntax highlighting however, despite following the Docusaurus documentation, I was unable to get it to work. So far I have tried ...
Filip Dumitru's user avatar
0 votes
1 answer
116 views

I have created a simple custom component to display an HTML details element with a predefined summary: export default function Solution({children}) { return ( <details> &...
Mar H.'s user avatar
  • 318
1 vote
1 answer
58 views

I'm converting docx to Markdown using Pandoc. Some links are converted to Markdown autolinks. I would like switch off the autolinks generation in Pandoc, but did not find a way to do that. Background: ...
BetaRide's user avatar
  • 17k
1 vote
1 answer
107 views

I'm facing a problem with deploying my Docusaurus project. It works fine locally, but on my GitHub Pages it's not running. I'm not finding the documentation on NPM very helpful. It seems like everyone ...
Arjun Tripathi's user avatar
0 votes
0 answers
78 views

I am trying to set up type sense as a search engine for my docusaurus website in Windows 10. using typesense docker image and running in my local machine where docsearch scrapper is installed. anytime ...
user11781950's user avatar
0 votes
1 answer
48 views

In my file KNN example.mdx i have following mdx format text i have not used any react code here. 1. **Distance**: For the query point \((x, y) = (0, 0)\), calculate the Euclidean distance to 5 ...
Sunil Sapkota's user avatar
2 votes
0 answers
121 views

We have Docusaurus project deployed on the gh-pages branch in GitHub. The docs work fine. We migrated them from Jekyll, and some of the pages have new locations. We are trying to set up the client-...
Dave Hagen's user avatar
2 votes
1 answer
115 views

In details section, for example - <details> <summary>Some title</summary> Some text with [link](url) </details> the text [link](url) won't convert to an URL, it stays ...
Юрий Герасимов's user avatar
0 votes
0 answers
75 views

I'm trying to implement a link in my Docusaurus project that redirects users to a registration page. However, I'm facing challenges because the registration page is hosted on a different port and ...
AR Dhrubo's user avatar
0 votes
1 answer
465 views

I'm using Docusaurus to build a static site, and I want to access the generated pages directly from the file system without running a local server. Currently, the URLs are structured like /docs/...
Neptune's user avatar
-1 votes
1 answer
208 views

I am using docusaurus library to build the documentation for my application. For details please refer https://docusaurus.io/ Eveyrthing works well,but when i build the site using the command ...
Bharat's user avatar
  • 1,195
1 vote
0 answers
131 views

I'm porting a doc site to Docusaurus. There are 5 products that each have specific documentation, and I'd like there to be a path for each product (mysite.com/product-1/, mysite.com/product-2/, and so ...
Bar Code's user avatar
0 votes
2 answers
209 views

In recent versions of nextjs, one can use the use client directive to tell nextjs to render the component "in the client", instead of on the server. Digging deeper into this, its a terrible ...
Seth Lutske's user avatar
  • 11.1k
1 vote
0 answers
260 views

I'm trying to modify specific emphases nodes and turn them to badges. (I want to replace the node's tag with a custom Material Web element tag)! I tried to set the type of the node to element in order ...
0xENDER's user avatar
  • 109
1 vote
1 answer
555 views

I noticed that when I add MDX documents to the Docusaurus blog, if I include a <p> tag with child elements and line breaks, the text content inside gets wrapped with an additional <p> tag. ...
Ann Lin's user avatar
  • 51
0 votes
1 answer
184 views

On the site homepage, there is the "title" text which is the big text on the banner. By default, it is white on light theme and black on dark theme, and I want to swap this. Is there a ...
Aaron Reynolds's user avatar
0 votes
1 answer
156 views

I'm encountering an error when attempting to build my Docusaurus project using yarn build. The build process fails with an EEXIST file already exists error for the index.html file. This issue doesn't ...
TonySchneider's user avatar
0 votes
1 answer
173 views

I have a single instance of docusaurus and I want to create two sites (site A and site B). There are "documents" that are shared between sites. I have create two different "docusaurus....
krobinson's user avatar
-2 votes
1 answer
294 views

I was trying to upgrade my existing docusaurus project from v3.4.0 to v3.5.2 when I encountered few issues. When I migrated the packages to v3.5.2 getting errors related to '@theme/Unlisted' ...
DIKSHANT BANSAL's user avatar
1 vote
0 answers
119 views

Is it possible to fetch pages from database in docusaurus? I want to implement built-in editor in Docusaurus that works without committing on github and for that, we would need database. I don't want ...
Noorain Tahir's user avatar
0 votes
2 answers
378 views

I can't seem to give /docs/ as the baseUrl. baseUrl: '/docs/', Any name other than docs works. So its docs restricted somewhere in the code ? Because build fails when giving docs. Using docusaurus 3....
anjanesh's user avatar
  • 4,361
2 votes
2 answers
2k views

The docusaurus build fails because of error with docusaurus-search-local plugin: Unable to build website for locale en. [ERROR] TypeError: Cannot read properties of undefined (reading 'load') at ...
Gajendra's user avatar
1 vote
1 answer
718 views

[some edits to clarify] I'm using import DocCardList from '@theme/DocCardList'; <DocCardList /> This is to get the "boxes" that go to other pages on the "main" page. I'd ...
Cynthia's user avatar
  • 33
1 vote
2 answers
856 views

In my Docusaurus website, I want to have a Markdown file stored in one place and displayed in six places. How do I do this (a) in Docusaurus, (b) in HTML (c) a better way? My attempt: In src\...
Neil Sandy's user avatar
0 votes
1 answer
951 views

I have been trying the Docusaurus OpenAPI plugin for my API documentation. But it is very hard for me to customize it the way I want. For example, how do I change what appears in the sidebar items? ...
joaorodr84's user avatar
  • 1,362
2 votes
1 answer
184 views

My understanding is that the docusuarus.config.js file essentially translates the defined info into HTML that builds your website. The file the translated info goes to is the 'index.html' file. ...
JRHaus's user avatar
  • 71
1 vote
1 answer
279 views

I try to set the front matter like this draft: true slug: otOARU_mJTlg title: XXX image: assets/images/otOARU_mJTlg-cover.webp But the picture can't be found. I want to use pictures with relative ...
铁打的屁股蛋儿's user avatar
0 votes
1 answer
200 views

When our CI/CD scripts build Docusaurus, we occassionally run into cases where someone forgot to git add an image: 98.49 Error: Image docs/add-ons/adjustment-period-ex.png used in docs/add-ons/custom-...
Keith Palmer Jr.'s user avatar
1 vote
0 answers
77 views

I'm currently doing a project on Docusaurus, I have pre-written md files with this type of syntax: h1. Title {{toc}} h3. Subtitle # ... # ... Paragraph <pre> <code class="java"&...
Riccardo Ventura's user avatar
1 vote
3 answers
848 views

I want to place all of my Docusaurus site files into a subfolder called website inside my project repo and have my site deploy properly. I have noticed Docusaurus sites that have done this (for ...
JRHaus's user avatar
  • 71
1 vote
1 answer
90 views

I'm trying to simplify the sidebar.js file on my Docusaurus project by using config shorthand. I've however reached a blocker as it seems that Docusaurus does not support shorthand for category types ...
Chidex's user avatar
  • 179
0 votes
1 answer
944 views

I want to remove the default footer from docusaurus.config: footer: { style: 'dark', links: [ { title: 'Docs', items: [ { ...
Antonio Cristian Crantea's user avatar
3 votes
1 answer
624 views

I'm managing a website built with Docusaurus, and I've encountered an SEO issue where the automatically generated canonical URL points to a redirect. I need advice on how to resolve this problem ...
Oleksandr G's user avatar
  • 2,223
0 votes
1 answer
141 views

I renamed the /docs sub folders and files but doesn't reflect on the browser for some weird reason. Note that the link changed but not the visible texts I was expecting since I've components that it ...
Kelvinsekx's user avatar
1 vote
1 answer
999 views

I'm using Dousaurus V3. I want to increase the width of the center column where the markdown content i rendered. The screenshow is from the Docusaurus docs site, which has a width of 990px. My own ...
JoakimE's user avatar
  • 1,874
1 vote
0 answers
81 views

I'm try to remove the OPTIONAL value from the schema in Docusaurus using an OpenApi file This is the package.json that I use it. { "name": "my-websiteopenapi-2", "version&...
svn's user avatar
  • 47
1 vote
1 answer
131 views

I've been tasked with migrating my team's docs from Jekyll to Docusaurus. In Jekyll, I wrote a bunch of plugins that rely heavily on its register API (site.data, context.registers, and other hashes) ...
Рауль Каримов's user avatar
4 votes
2 answers
524 views

It was working on version 2, but from version 3, the admonitions are rendered in simple text, without the special design. This is the package.json file: { "name": "my-website", ...
Daria's user avatar
  • 41

1
2 3 4 5
11