Questions tagged [docusaurus]
Docusaurus is a modern static site generator focused on documentation. It helps you to focus on your content and build optimized websites quickly.
docusaurus
527
questions
1
vote
2
answers
26
views
Docusaurus: How can I display a Markdown file inline inside a Markdown page?
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\...
0
votes
0
answers
22
views
Docusaurus static web hosting
I currently have a very basic Docusaurus application. I can see this is running as a 'single page application' - however, each route is rendering an index.html file under it. For example / default ...
0
votes
1
answer
29
views
Customize sidebar items with docusaurus-plugin-openapi
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? ...
2
votes
1
answer
46
views
index.html file ignoring footer in docusaurus.config.js file
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.
...
0
votes
0
answers
28
views
Docusaurus build fails in cloudflare when I indude the ideal-image-plugin in its configuration file
this is log from cloudflare
Executing user command: npm run build
13:06:53.479
13:06:53.479 > [email protected] build
13:06:53.480 > docusaurus build
13:06:53.480
...
0
votes
1
answer
25
views
The image field in the blog front matter, how to use the image in the assets folder in the same directory
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 ...
0
votes
1
answer
22
views
+100
Is there a way to get Docusaurus to tell me about all missing images / test for missing images?
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-...
1
vote
0
answers
35
views
How can I implement this markdown syntax into my docusaurus project?
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"&...
0
votes
0
answers
27
views
How to create a new menu in Docusaurus and different sidebar content
in my project, I haven't been able to setup a new menu with different sidebar content
In this case I already have a menu with content in the sidebar, but I want to add a new menu, with different ...
0
votes
0
answers
16
views
Proxy in Docusaurus
I have a website www.frontend.com. It uses facebook Docusaurus as frontend, and calls an external backend www.backend.com in nodejs and mongodb.
Now, I would like to enable links like https://www....
1
vote
3
answers
89
views
How to deploy Docusaurus site from subfolder (not root) of repository
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 ...
0
votes
0
answers
33
views
Receiving not a function error while compiling localhost
I recently inherited a Docusaurus project that hasn't been updated in multiple months. I attempted to compile the project in my localhost and got the following error:
ERROR
(0 , ...
0
votes
0
answers
46
views
How do I show a list of "related" pages within a Docusaurus page?
I'm porting my documentation from Jekyll to Docusaurus and am in the process of "refactoring" various Liquid code to Docusaurus/React code. I have a list of pages where some pages are ...
0
votes
0
answers
18
views
Docusaurus: Filtrar /docs usando slug via query parameters
I have three different documents in the /docs folder, and I would like to see only this document, whose folder is the name, displayed in the sidebar when accessing them via URL, for example: localhost:...
0
votes
0
answers
17
views
docusaurus with @sillsdev/docu-notion
I working docusaurus with @sillsdev/docu-notion for pull data from notion. It working fine with locally. but in site production alert error when click any page in sitebar
ERROR
Maximum call stack size ...