Move Generated Files to Docusaurus
This guide shows how to move the Markdown files generated by Just Doc It into your Docusaurus site.
Where the plugin writes files
After you run Just Doc It → Export Docs from the Content Browser, the output is written here:
<YourProject>/Saved/JustDocIt/Docusaurus/
Inside you’ll see:
/index.md # master index of all materials
/<MaterialName>/index.md # material page (defaults)
/<MaterialName>/*.md # instance pages (overrides only)
Each page already includes Docusaurus front‑matter (id/title/sidebar_position), so you can drop them straight into your site.
Option A — Manual copy (quickest)
Copy the entire folder into your Docusaurus docs (recommend a materials category):
<YourDocusaurusRepo>/
docs/
materials/
index.md
<MaterialName>/
index.md
<Instance>.md
Then update your sidebars.js (or rely on autogenerated sidebars if you use them). Example:
sidebars.js
module.exports = {
docsSidebar: [
{
type: 'category',
label: 'Materials',
collapsed: false,
items: [
// Docusaurus will auto-include nested docs if you use autogenerated sidebars,
// otherwise you can list docs or categories explicitly.
{ type: 'autogenerated', dirName: 'materials' }
],
},
],
};
Option B — Scripted copy (repeatable)
Windows (PowerShell)
$src = "C:\Path\To\UEProject\Saved\JustDocIt\Docusaurus"
$dst = "C:\Path\To\YourDocusaurusRepo\docs\materials"
# Create destination if missing
New-Item -ItemType Directory -Force -Path $dst | Out-Null
# Mirror copy (overwrites changed files, removes deleted)
robocopy $src $dst /MIR
macOS/Linux (bash)
SRC="/path/to/UEProject/Saved/JustDocIt/Docusaurus/"
DST="/path/to/YourDocusaurusRepo/docs/materials/"
mkdir -p "$DST"
rsync -av --delete "$SRC" "$DST"
Add these as npm scripts in your Docusaurus repo if you like:
{
"scripts": {
"pull-material-docs": "rsync -av --delete ../UEProject/Saved/JustDocIt/Docusaurus/ ./docs/materials/",
"docusaurus": "docusaurus start"
}
}
That’s it—after copy/sync, run your Docusaurus site as usual:
npm run start
# or
npm run build