A couple of minutes of prep decides what ends up in the file, so it is worth checking these first:
Write your docs. The generated site pulls descriptions from the markdown you have written at the collection, folder, and request levels. Requests with no docs still appear, they just lack any additional info.
Decide which environments readers need. You pick these in the generate modal. Anything you leave out is not embedded in the file.
Tag your requests if you plan to filter. Tag filtering is how you keep work in progress or internal endpoints out of published docs. If nothing is tagged yet, it is recommended to add them.
Set a collection version (optional). Collections without one show Not Set in the generate modal and in the generated site.
Whether to enable collaboration via Git. The option to include the repository URL only shows up for Git backed collections.
Requests to include starts on All requests. Switch it to Filter by Tags to publish a subset of the collection.
Include tags: only requests carrying a matching tag are published. For example, Production ready.
Exclude tags: requests carrying a matching tag are dropped. For example, Work in progress.
You can fill in one field or both. If a request matches an include tag and an exclude tag at the same time, the exclusion wins and the request is left out.Filtered requests are genuinely absent from the generated file, not hidden in the page. They do not appear in the navigation, in search results, or in the collection data embedded in the HTML, so a reader cannot dig them out of the source.
Because the filters are set per run, you can publish more than one variant
from the same collection. Generate once with Production ready for the public
file, then generate again with no filters for the internal copy.
Tags live in the collection files (on requests and on folders), so they travel with the collection through Git and stay consistent with the tag filters used by the collection runner.
For Git backed collections, Bruno embeds the repository URL by default so readers can clone the collection through Open in Bruno.Turn the toggle off if you would rather not ship a repository URL, which matters most when the repo is private and the documentation is published somewhere public.
You can produce the same file from the command line, which is the better option when documentation lives in Git or gets published by a pipeline:
bru docs generate --all-envs --exclude-tags "Work in progress" --no-git-link
The CLI and the app share one implementation, so the same collection and the same options give you the same documentation. See bru docs for the workflow and bru docs options for every flag.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bruno Docs","colors":{"primary":"#F2994A","light":"#FFA94D","dark":"#F2994A"},"logo":{"light":"https://mintcdn.com/bruno-a6972042/_vXLEyOu_Puj_WJg/logo/light.svg?fit=max\u0026auto=format\u0026n=_vXLEyOu_Puj_WJg\u0026q=85\u0026s=55e822e0743d6020e12873ece07c38e3","dark":"https://mintcdn.com/bruno-a6972042/_vXLEyOu_Puj_WJg/logo/dark.svg?fit=max\u0026auto=format\u0026n=_vXLEyOu_Puj_WJg\u0026q=85\u0026s=bd79627bc2e7c9aa8b711ecc4ca029df","href":"/"},"favicon":"https://mintcdn.com/bruno-a6972042/coTQlNiOALulIY4J/favicon.png?fit=max\u0026auto=format\u0026n=coTQlNiOALulIY4J\u0026q=85\u0026s=9ecf6f5fa57ced98dc4d08a80eb1c11e","api":{"mdx":{"server":"https://api.mintlify.com"}},"appearance":{"default":"system","strict":false},"navbar":{"primary":{"type":"button","label":"Download","href":"https://www.usebruno.com/downloads"}},"footer":{"socials":{"github":"https://github.com/usebruno/bruno","discord":"https://discord.com/invite/KgcZUncpjq"}},"search":{"prompt":"Search documentation..."},"integrations":{"ga4":{"measurementId":"G-EB5Y7HLTX3"},"posthog":{"apiKey":"phc_7gtqSrrdZRohiozPMLIacjzgHbUlhalW1Bu16uYijMR"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bruno-a6972042","hasAudioNarration":false,"actualSubdomain":"bruno-a6972042","customDomains":["docs.usebruno.com"],"gitSource":{"type":"github","owner":"usebruno","repo":"bruno-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae0cbf9c9d0adb3afbd73ae","collectionId":"9a501ef5-5a01-45cc-9e11-ef1166de4a11","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae0cbf9c9d0adb3afbd73ae"},"feedback":{"thumbs":true,"edits":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae0cbf9c9d0adb3afbd73ae","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Core Features","count":200},{"language":"default","tag":"API Client","count":132},{"language":"default","tag":"Send Requests","count":82},{"language":"default","tag":"Secret Management","count":61},{"language":"default","tag":"Developer Tools","count":58},{"language":"default","tag":"Secret Managers","count":49},{"language":"default","tag":"License Management","count":46},{"language":"default","tag":"Scripts","count":38},{"language":"default","tag":"Tests and Scripts","count":38},{"language":"default","tag":"Getting Started","count":36}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"div[class*=max-w-8xl][class*=max-w-8xl][class*=max-w-8xl]{max-width:none}#navbar[class*=is-center]~div[class*=max-w-8xl]{max-width:48rem}@media (min-width:1250px){#sidebar{left:1rem;background:rgb(0 0 0/.025);border-radius:.75rem .75rem 0 0}.dark #sidebar{background:rgb(255 255 255/.035)}#sidebar #sidebar-content .sticky.top-0.h-8{background-image:none;height:1rem}#sidebar #sidebar-content{padding-left:.75rem;top:2.25rem;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 1rem);mask-image:linear-gradient(to bottom,transparent,#000 1rem)}#navbar [class*=px-12]{padding-left:1rem;padding-right:1rem}.bru-sb-toggle{position:absolute;top:.25rem;left:.5rem;z-index:30;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:0;border-radius:.375rem;background:0 0;color:rgb(0 0 0/.45);cursor:pointer}.bru-sb-toggle:hover{background:rgb(0 0 0/.06);color:rgb(0 0 0/.75)}.bru-sb-toggle:focus-visible{outline:2px solid currentColor;outline-offset:1px}.dark .bru-sb-toggle{color:rgb(255 255 255/.55)}.dark .bru-sb-toggle:hover{background:rgb(255 255 255/.08);color:rgb(255 255 255/.9)}.bru-sb-toggle svg{width:1rem;height:1rem}html[data-bru-sidebar=collapsed] #sidebar{width:2.75rem}.nav-tabs .nav-tabs-item>div.absolute,html[data-bru-sidebar=collapsed] #sidebar #sidebar-content{display:none}html[data-bru-sidebar=collapsed] #content-area[class*=\"pl-[23.7rem]\"]{padding-left:8.5rem}#navbar div:has(>div.nav-tabs){position:absolute;top:0;left:0;right:0;height:4rem;align-items:center;pointer-events:none}#navbar div:has(>div.nav-tabs) .nav-tabs{pointer-events:auto;margin-left:10.5rem}#navbar div[class*=flex-1][class*=gap-x-4]{column-gap:.125rem}#navbar div[class*=gap-x-2]>button[aria-haspopup=menu]{padding-left:.25rem;padding-right:.25rem}body:has(#navbar .nav-tabs) #sidebar{margin-top:-3rem}#navbar div.flex-1[class*=border-b]{border-color:rgb(60 50 20/.12)}.dark #navbar div.flex-1[class*=border-b]{border-color:rgb(255 255 255/.08)}#navbar{--bru-corner-right:3.25rem}#navbar div[class*=z-20]:has(#search-bar-entry){position:absolute;right:var(--bru-corner-right);top:50%;transform:translateY(-50%)}#search-bar-entry{width:15rem}@media (max-width:1663.98px){#assistant-entry span{display:none}}@media (max-width:1577.98px){#search-bar-entry{width:auto}#search-bar-entry .truncate{display:none}}@media (max-width:1407.98px){#search-bar-entry span{display:none}}#navbar #bru-search-tools{position:absolute;right:var(--bru-corner-right);top:0;bottom:0;z-index:21}div.nav-tabs.nav-tabs{align-items:center;column-gap:2px;flex-wrap:nowrap}.nav-tabs .nav-tabs-item{position:relative;flex:0 0 auto;height:auto;padding:7px 10px;border-radius:8px;font-size:13.5px;font-weight:400;color:#6e6a62;white-space:nowrap;transition:background-color .16s ease,color .16s ease}.dark .nav-tabs .nav-tabs-item{color:#a6a199}.nav-tabs .nav-tabs-item svg:not(.bru-nav-dd svg){display:none}.nav-tabs .nav-tabs-item:hover{background:rgb(60 50 20/.055);color:#1a1917}.dark .nav-tabs .nav-tabs-item:hover{background:rgb(255 255 255/.07);color:#f2f0ec}.nav-tabs .nav-tabs-item[class*=text-shadow],.nav-tabs .nav-tabs-item[data-active=true]{background:rgb(55 45 15/.085);color:#1a1917}.dark .nav-tabs .nav-tabs-item[class*=text-shadow],.dark .nav-tabs .nav-tabs-item[data-active=true]{background:rgb(255 255 255/.11);color:#f5f3ef}.nav-tabs .nav-tabs-item:focus:not(:focus-visible){outline:0;box-shadow:none}.nav-tabs .nav-tabs-item[href^=\"/api-client\"]::before,.nav-tabs .nav-tabs-item[href^=\"/reference\"]::before{position:absolute;right:100%;margin-right:11px;top:50%;transform:translateY(-50%);font-size:10px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#b4aea2;white-space:nowrap;pointer-events:none}.dark .nav-tabs .nav-tabs-item[href^=\"/api-client\"]::before,.dark .nav-tabs .nav-tabs-item[href^=\"/reference\"]::before{color:#6e6a62}.nav-tabs .nav-tabs-item[href^=\"/api-client\"]::before{content:\"PRODUCTS\"}.nav-tabs .nav-tabs-item[href^=\"/reference\"]::before{content:\"MORE\"}.nav-tabs .nav-tabs-item[href^=\"/api-client\"]{margin-left:94px}.nav-tabs .nav-tabs-item[href^=\"/reference\"]{margin-left:65px}.nav-tabs .nav-tabs-item[href^=\"/api-client\"]::after,.nav-tabs .nav-tabs-item[href^=\"/reference\"]::after{content:\"\";position:absolute;top:50%;transform:translateY(-50%);width:1px;height:20px;background:rgb(60 50 20/.12);pointer-events:none}.nav-tabs .nav-tabs-item[href^=\"/api-client\"]::after{right:calc(100% + 81px)}.nav-tabs .nav-tabs-item[href^=\"/reference\"]::after{right:calc(100% + 52px)}.dark .nav-tabs .nav-tabs-item[href^=\"/api-client\"]::after,.dark .nav-tabs .nav-tabs-item[href^=\"/reference\"]::after{background:rgb(255 255 255/.1)}.bru-nav-dd{position:absolute;top:100%;left:0;padding-top:.625rem;z-index:60;visibility:hidden;opacity:0;transition:opacity 120ms ease 150ms,visibility 0ms linear 270ms}.bru-nav-dd.bru-dd-right{left:auto;right:0}.nav-tabs-item:focus-within>.bru-nav-dd,.nav-tabs-item:hover>.bru-nav-dd{visibility:visible;opacity:1;transition:opacity 120ms ease 60ms,visibility 0ms linear 60ms}.bru-nav-dd-panel{min-width:12rem;padding:.375rem;border-radius:.625rem;border:1px solid #e5e7eb;background:#fff;box-shadow:0 10px 30px rgb(0 0 0/.12)}.dark .bru-nav-dd-panel{border-color:#26272b;background:#0f1117;box-shadow:0 10px 30px rgb(0 0 0/.5)}.bru-nav-dd-link{display:block;padding:.4rem .625rem;border-radius:.4rem;font-size:.8125rem;font-weight:500;line-height:1.3;white-space:nowrap;color:#4b5563}.bru-nav-dd-link:hover{background:#f3f4f6;color:#111827}.dark .bru-nav-dd-link{color:#9ca3af}.dark .bru-nav-dd-link:hover{background:#1a1d26;color:#f3f4f6}}@media (min-width:1024px) and (max-width:1249.98px){#navbar div:has(>div.nav-tabs),#navbar div[class*=z-20]:has(#search-bar-entry),#sidebar{display:none}#navbar button[class*=\"lg:hidden\"],#navbar div[class*=\"lg:hidden\"],div.fixed.inset-0.z-40.flex[class*=\"lg:hidden\"]{display:flex}div.fixed.inset-0.z-40:not(.flex)[class*=\"lg:hidden\"]{display:block}#navbar div[class*=\"lg:hidden\"]>button.h-7.w-5,#navbar div[class*=\"lg:hidden\"]>button[aria-label=\"More actions\"]{display:none}#content-area{padding-left:.25rem;margin-left:0}}div.fixed.inset-0[class*=\"bg-black/40\"]{background:rgb(0 0 0/.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.dark div.fixed.inset-0[class*=\"bg-black/40\"]{background:rgb(0 0 0/.65)}div.fixed.inset-0.z-40 [role=dialog]{box-shadow:0 0 0 1px rgb(0 0 0/.1),0 10px 20px rgb(0 0 0/.2),0 25px 60px rgb(0 0 0/.35)}.dark div.fixed.inset-0.z-40 [role=dialog]{background:#20232b;box-shadow:0 0 0 1.5px rgb(255 169 77/.55),0 10px 20px rgb(0 0 0/.5),0 25px 60px rgb(0 0 0/.7)}.dark div.fixed.inset-0.z-40 [role=dialog] div[class*=rounded-2xl]{background:#262a33}#assistant-entry,#assistant-entry-mobile{display:none}#content-area:has(.bru-home-search) header [class*=\"min-w-[156px]\"],#navbar:has(#autocomplete .ais-Autocomplete) #search-bar-entry,#navbar:has(#autocomplete .ais-Autocomplete) #search-bar-entry-mobile{display:none}#navbar #bru-search-tools:not(:has(.ais-Autocomplete)){display:none}#bru-search-tools{display:flex;align-items:center;gap:.5rem}#assistant-trigger,#autocomplete{flex:none}#autocomplete{--ais-primary-color-rgb:194, 65, 12;--ais-autocomplete-font-size:0.875rem;--ais-autocomplete-form-input-height:2.75rem;--ais-autocomplete-form-border-radius:0.75rem;--ais-autocomplete-form-submit-icon-size:1rem;--ais-autocomplete-form-button-horizontal-padding:0.625rem;--ais-autocomplete-detached-modal-top:10vh;--ais-autocomplete-item-selected-background-color-alpha:0.12;--ais-autocomplete-accent-color:194, 65, 12;--ais-autocomplete-text-color:17, 24, 39;--ais-autocomplete-background-color:255, 255, 255;--ais-autocomplete-form-border-color:156, 163, 175;--ais-autocomplete-form-border-color-alpha:0.3;--ais-autocomplete-form-placeholder-color:107, 114, 128;--ais-autocomplete-form-placeholder-color-alpha:1;--ais-autocomplete-form-submit-icon-color:55, 65, 81;--ais-autocomplete-header-color:194, 65, 12;--ais-autocomplete-item-highlight-color:194, 65, 12;--ais-autocomplete-item-highlight-background-color:242, 153, 74;--ais-autocomplete-item-selected-background-color:242, 153, 74;--ais-autocomplete-item-action-button-color:194, 65, 12;--ais-autocomplete-overlay-color:0, 0, 0;--ais-autocomplete-overlay-color-alpha:0.55}.dark #autocomplete{--ais-primary-color-rgb:255, 169, 77;--ais-autocomplete-accent-color:255, 169, 77;--ais-autocomplete-text-color:243, 244, 246;--ais-autocomplete-background-color:32, 35, 43;--ais-autocomplete-form-border-color:75, 85, 99;--ais-autocomplete-form-placeholder-color:255, 255, 255;--ais-autocomplete-form-placeholder-color-alpha:0.5;--ais-autocomplete-form-submit-icon-color:156, 163, 175;--ais-autocomplete-header-color:255, 169, 77;--ais-autocomplete-item-highlight-color:255, 169, 77;--ais-autocomplete-item-highlight-background-color:255, 169, 77;--ais-autocomplete-item-selected-background-color:255, 169, 77;--ais-autocomplete-item-action-button-color:255, 169, 77;--ais-autocomplete-overlay-color-alpha:0.65}#autocomplete .ais-AutocompleteDetachedSearchButton{width:2.25rem;height:2.25rem;padding:0;justify-content:center}#autocomplete .ais-AutocompleteDetachedSearchButton:hover{border-color:rgb(75 85 99/.3)}#autocomplete .ais-AutocompleteDetachedSearchButtonIcon{padding:0;cursor:pointer}#autocomplete .ais-AutocompleteDetachedSearchButtonClear,#autocomplete .ais-AutocompleteDetachedSearchButtonPlaceholder,#autocomplete .ais-AutocompleteDetachedSearchButtonQuery{display:none}@media (min-width:1536px){#autocomplete .ais-AutocompleteDetachedSearchButton{width:12rem;justify-content:flex-start;padding-right:.75rem}#autocomplete .ais-AutocompleteDetachedSearchButtonIcon{padding:0 .5rem 0 .75rem}#autocomplete .ais-AutocompleteDetachedSearchButtonPlaceholder,#autocomplete .ais-AutocompleteDetachedSearchButtonQuery{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#autocomplete .ais-AutocompleteDetachedSearchButton::after{content:\"⌘K\";flex:none;margin-left:auto;font-size:.75rem;font-weight:600}}@media (min-width:1640px){#autocomplete .ais-AutocompleteDetachedSearchButton{width:15rem}}#assistant-trigger{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;height:2.25rem;min-width:2.25rem;padding:0 .75rem;border:1px solid rgb(156 163 175/.3);border-radius:.75rem;background:0 0;color:rgb(194 65 12);font:inherit;font-size:.875rem;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer}#assistant-trigger:hover{border-color:rgb(75 85 99/.3);background:rgb(242 153 74/.08)}#assistant-trigger[aria-expanded=true]{background:rgb(242 153 74/.16)}#assistant-trigger svg{width:1rem;height:1rem;flex:none}.dark #assistant-trigger{color:rgb(255 169 77);border-color:rgb(75 85 99/.5)}.dark #assistant-trigger:hover{background:rgb(255 169 77/.1)}@media (max-width:1639.98px){#assistant-trigger{width:2.25rem;padding:0}#assistant-trigger .bru-ask-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}#topbar-cta-button a{width:7.25rem;justify-content:center;padding-left:0;padding-right:0}#navbar:has(#topbar-cta-button){--bru-corner-right:10.75rem}@media (min-width:1250px) and (max-width:1379.98px){#topbar-cta-button a{width:2.25rem}#topbar-cta-button a>div{margin-right:0}#topbar-cta-button a>div>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#topbar-cta-button a>div>svg{display:none}#topbar-cta-button a>div::after{content:\"\";display:block;width:1rem;height:1rem;background:#fff;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E\") center/contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E\") center/contain no-repeat}#navbar:has(#topbar-cta-button){--bru-corner-right:5.75rem}}@media (min-width:1250px) and (max-width:1279.98px){#bru-search-tools{gap:.25rem}#navbar nav.text-sm:has(#topbar-cta-button){margin-inline-end:.5rem}#navbar nav.text-sm:has(#topbar-cta-button)+div{margin-inline-start:0}#navbar:has(#topbar-cta-button){--bru-corner-right:5rem}}#autocomplete .ais-AutocompleteDetachedOverlay{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}#autocomplete .ais-AutocompleteDetachedContainer--modal{box-shadow:0 0 0 1px rgb(0 0 0/.1),0 10px 20px rgb(0 0 0/.2),0 25px 60px rgb(0 0 0/.35)}.dark #autocomplete .ais-AutocompleteDetachedContainer--modal{box-shadow:0 0 0 1.5px rgb(255 169 77/.55),0 10px 20px rgb(0 0 0/.5),0 25px 60px rgb(0 0 0/.7)}#autocomplete .ais-AiModeButton{border-radius:9999px}#autocomplete .bru-hit{display:block;min-width:0;padding:.125rem 0;color:inherit;text-decoration:none}#autocomplete .bru-hit-title{display:block;font-weight:600}#autocomplete .bru-hit-title mark{padding:0 .05em;border-radius:.125rem;background:rgb(242 153 74/.28);color:inherit}.dark #autocomplete .bru-hit-title mark{background:rgb(255 169 77/.3)}#autocomplete .bru-hit-meta{display:block;overflow:hidden;font-size:.75rem;color:rgb(107 114 128);text-overflow:ellipsis;white-space:nowrap}.dark #autocomplete .bru-hit-meta{color:rgb(156 163 175)}#assistant{--ais-primary-color-rgb:194, 65, 12;--ais-button-text-color-rgb:255, 255, 255;--ais-text-color-rgb:17, 24, 39;--ais-muted-color-rgb:107, 114, 128;--ais-background-color-rgb:255, 255, 255;--ais-border-color-rgb:156, 163, 175;--ais-border-color-alpha:0.4;--ais-shadow-color-rgb:0, 0, 0;--ais-border-radius-md:0.5rem;--ais-border-radius-lg:0.75rem;--ais-chat-width:26rem;--ais-chat-maximized-width:60%}.dark #assistant{--ais-primary-color-rgb:255, 169, 77;--ais-button-text-color-rgb:17, 24, 39;--ais-text-color-rgb:243, 244, 246;--ais-muted-color-rgb:156, 163, 175;--ais-background-color-rgb:32, 35, 43;--ais-border-color-rgb:75, 85, 99;--ais-border-color-alpha:0.6}#assistant .ais-ChatSidePanelLayout .ais-Chat-container{box-shadow:-12px 0 40px rgb(0 0 0/.18)}.dark #assistant .ais-ChatSidePanelLayout .ais-Chat-container{box-shadow:-12px 0 40px rgb(0 0 0/.5)}#assistant .ais-ChatMessage-message{font-size:.9375rem;line-height:1.6;gap:.75rem}#assistant .ais-ChatMessage-message p{margin:0 0 .625rem}#assistant .ais-ChatMessage-message p:last-child{margin-bottom:0}#assistant .ais-ChatMessage-message ol:not(.ais-Carousel-list),#assistant .ais-ChatMessage-message ul:not(.ais-Carousel-list){margin:0 0 .625rem;padding-left:1.375rem}#assistant .ais-ChatMessage-message ul:not(.ais-Carousel-list){list-style:disc}#assistant .ais-ChatMessage-message ol:not(.ais-Carousel-list){list-style:decimal}#assistant .ais-ChatMessage-message li:not(.ais-Carousel-item){margin:.2rem 0}#assistant .ais-ChatMessage-message li:not(.ais-Carousel-item)::marker{color:rgba(var(--ais-muted-color-rgb),1)}#assistant .ais-ChatMessage-message h1,#assistant .ais-ChatMessage-message h2,#assistant .ais-ChatMessage-message h3,#assistant .ais-ChatMessage-message h4{margin:.5rem 0 .25rem;font-size:1rem;font-weight:600;line-height:1.4}#assistant .ais-ChatMessage-message strong{font-weight:600}#assistant .ais-ChatMessage-message a:not(.bru-chat-hit){color:rgba(var(--ais-primary-color-rgb),1);text-decoration:underline;text-decoration-color:rgba(var(--ais-primary-color-rgb),.4);text-underline-offset:.15em}#assistant .ais-ChatMessage-message a:not(.bru-chat-hit):hover{text-decoration-color:currentColor}#assistant .ais-ChatMessage-message :not(pre)>code{padding:.1em .35em;border-radius:.3rem;background:rgba(var(--ais-muted-color-rgb),.12);font-size:.85em}#assistant .ais-ChatMessage-message pre{margin:0 0 .625rem;padding:.75rem;border-radius:.5rem;background:rgba(var(--ais-muted-color-rgb),.1);font-size:.8125rem;line-height:1.5;overflow-x:auto}#assistant .ais-ChatMessage-message pre code{padding:0;background:0 0;font-size:inherit}#assistant .ais-ChatMessage-message .ais-Carousel-list{--ais-carousel-item-width:13rem}#assistant .ais-ChatToolSearchIndexCarouselHeaderViewAll{display:none}#assistant .bru-chat-hit{display:flex;flex-direction:column;gap:.25rem;box-sizing:border-box;width:100%;height:100%;padding:.625rem .75rem;border:1px solid rgba(var(--ais-border-color-rgb),.4);border-radius:.5rem;color:inherit;text-decoration:none;overflow-wrap:anywhere}#assistant .bru-chat-hit:hover{border-color:rgba(var(--ais-primary-color-rgb),.6)}#assistant .bru-hit-title{display:block;font-size:.875rem;font-weight:600;line-height:1.35}#assistant .bru-hit-meta{display:block;font-size:.75rem;line-height:1.3;color:rgba(var(--ais-muted-color-rgb),1)}#content-area:has(.bru-home-search) h1{font-size:2.75rem;line-height:1.15;text-align:center;margin-top:3rem;width:100%}.bru-home-search{display:flex;justify-content:center;margin:2rem 0 2.25rem}.bru-home-group{display:flex;align-items:center;gap:12px;margin:1.75rem 0 .75rem;font-size:10px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#b4aea2}.bru-home-group::after{content:\"\";flex:1;height:1px;background:rgb(60 50 20/.09)}.dark .bru-home-group{color:#6e6a62}.dark .bru-home-group::after{background:rgb(255 255 255/.08)}#content-area:has(.bru-home-search) .card{border-radius:.625rem;margin-top:.25rem;margin-bottom:.25rem}#content-area:has(.bru-home-search) .card [data-component-part=card-content-container]{padding:.75rem .875rem}#content-area:has(.bru-home-search) .card [data-component-part=card-icon],#content-area:has(.bru-home-search) .card [data-component-part=card-icon] svg{height:1rem;width:1rem}#content-area:has(.bru-home-search) .card [data-component-part=card-title]{font-size:.875rem;margin-top:0}#content-area:has(.bru-home-search) .card [data-component-part=card-content]{font-size:.78125rem;line-height:1.45;margin-top:.125rem}#content-area:has(.bru-home-search) .columns{gap:.625rem}.bru-home-search-btn{display:flex;align-items:center;gap:.75rem;width:100%;max-width:50rem;height:3.5rem;padding:0 1.25rem;border-radius:.875rem;border:1px solid #d1d5db;background:#fff;box-shadow:0 4px 16px rgb(0 0 0/.08);color:#6b7280;font-size:1rem;text-align:left;cursor:text;transition:border-color 120ms ease,box-shadow 120ms ease}.bru-home-search-btn:focus-visible,.bru-home-search-btn:hover{border-color:#f2994a;box-shadow:0 6px 24px rgb(242 153 74/.25)}.bru-home-search-btn svg{width:1.25rem;height:1.25rem;flex:none}.bru-home-search-label{flex:1 1 auto}.bru-home-search-btn kbd{flex:none;padding:.125rem .5rem;border-radius:.375rem;border:1px solid #e5e7eb;background:#f9fafb;font-size:.75rem;font-family:inherit;color:#9ca3af}.dark .bru-home-search-btn{border-color:#3f4148;background:#16181f;box-shadow:0 4px 16px rgb(0 0 0/.4);color:#9ca3af}.dark .bru-home-search-btn:focus-visible,.dark .bru-home-search-btn:hover{border-color:#ffa94d;box-shadow:0 6px 24px rgb(255 169 77/.2)}.dark .bru-home-search-btn kbd{border-color:#33353c;background:#1e2027;color:#6b7280}.mdx-content{font-size:14.5px;line-height:1.55}.mdx-content h2{margin-top:1.5em;margin-bottom:.5em}.mdx-content h3,.mdx-content h4{margin-top:1.25em;margin-bottom:.4em}.mdx-content h4{margin-top:1.2em}.mdx-content ol,.mdx-content p,.mdx-content ul{margin-top:.7em;margin-bottom:.7em}.mdx-content li{margin-top:.2em;margin-bottom:.2em}.mdx-content img{max-width:min(580px,100%);margin-top:16px;margin-bottom:16px}.callout{padding:10px 14px;margin-top:12px;margin-bottom:12px;font-size:14px}.callout p{margin-top:.4em;margin-bottom:.4em}#sidebar a,#sidebar li button{font-size:13px;line-height:20px;padding-top:3.5px;padding-bottom:3.5px}"}],"page":{"pagePath":"html-docs/generate","slug":"/html-docs/generate","pageMetadata":{"title":"Generate Documentation","sidebarTitle":"Generate Docs","description":null,"href":"/html-docs/generate"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Generate a standalone HTML documentation file from your collection in a few clicks.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-generate`,children:`Before you generate`}),`\n`,_jsx(_components.p,{children:`A couple of minutes of prep decides what ends up in the file, so it is worth checking these first:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Write your docs.`}),` The generated site pulls descriptions from the markdown you have written at the `,_jsx(_components.a,{href:`/api-docs/overview`,children:`collection, folder, and request levels`}),`. Requests with no docs still appear, they just lack any additional info.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Decide which environments readers need.`}),` You pick these in the generate modal. Anything you leave out is not embedded in the file.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tag your requests if you plan to filter.`}),` Tag filtering is how you keep work in progress or internal endpoints out of published docs. If nothing is tagged yet, it is recommended to add them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Set a collection version (optional).`}),` Collections without one show `,_jsx(_components.code,{children:`Not Set`}),` in the generate modal and in the generated site.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Whether to enable collaboration via Git.`}),` The option to include the repository URL only shows up for Git backed collections.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`generate-documentation`,children:`Generate Documentation`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to the Collection Settings and click on the `,_jsx(_components.strong,{children:`Generate Docs`}),` under Documentation section`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=b6afb1c7967207de503f402ed9531467`,alt:`Click Generate Docs`,\"data-og-width\":`2610`,width:`2610`,\"data-og-height\":`1348`,height:`1348`,\"data-path\":`images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?w=280\u0026fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=e3bb4d3ff8e1a49eefd4dca521c7ad9e 280w, https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?w=560\u0026fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=e8e1bd2bc8ccb42fc1cf63483352f5d8 560w, https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?w=840\u0026fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=316b27365a1de4d0404d750b5abd8f2b 840w, https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=761e41c984c00c3c5a588e635c05c378 1100w, https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=f7613ce6bcf00e5cdfdd725a4ad825d2 1650w, https://mintcdn.com/bruno-a6972042/bKrHa_JvyAqCslj1/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=bKrHa_JvyAqCslj1\u0026q=85\u0026s=574296dbb2f89d4b235ffd429f7fa07b 2500w`}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Environments to include`}),`, select the environments you want embedded in the documentation. Use `,_jsx(_components.strong,{children:`Select All`}),` to include every one of them.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Expand `,_jsx(_components.strong,{children:`Advanced`}),` if you want to filter requests or remove the Git repository link.`]}),`\n`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=f49c915a575e1b6a0dbeda8657b880ca`,alt:`Click Generate Button`,\"data-og-width\":`2344`,width:`2344`,\"data-og-height\":`1794`,height:`1794`,\"data-path\":`images/screenshots/v4/collection-docs/select-environment-export.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=a62e487385a87c65190145f246eecee0 280w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=8b12fa46ea94ff4d06c79bede6bfd655 560w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=8cf8d7f05da4dd279a57077454b299bb 840w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=9d92f337c5b1fda8a3f37cd48caf59cd 1100w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=3e6b546cddceb5cc5082208668635032 1650w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/select-environment-export.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=0111b690dcef0a3132c27eb16c7b0a59 2500w`}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Generate`}),`. Bruno writes a documentation file for your collection to your file system, named `,_jsx(_components.code,{children:`collection-name-documentation.html`})]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=2d89cda4a2b94556dfe28b0613b8a800`,alt:`Generated HTML Documentation`,\"data-og-width\":`2826`,width:`2826`,\"data-og-height\":`1610`,height:`1610`,\"data-path\":`images/screenshots/v4/collection-docs/play-ground.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=e627d56898bf223558ffb77ec0bc80a2 280w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=9660cc0780dbdcf591a2424dadb89ee6 560w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=afb5791ea966b36dd563266e5b108a51 840w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=c9cc4289d2c70480450edebcd8f2ccdf 1100w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=c613e0e072f1f92dacd5d78a3d66136f 1650w, https://mintcdn.com/bruno-a6972042/XC5A-GM7QANjO8B8/images/screenshots/v4/collection-docs/play-ground.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XC5A-GM7QANjO8B8\u0026q=85\u0026s=f0f29604e564d8186e514678fb7e2742 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-options`,children:`Advanced options`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Advanced`}),` section holds two independent controls. You can use either one on its own, or both together.`]}),`\n`,_jsx(Heading,{level:`3`,id:`filter-requests-by-tags`,children:`Filter requests by tags`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Requests to include`}),` starts on `,_jsx(_components.strong,{children:`All requests`}),`. Switch it to `,_jsx(_components.strong,{children:`Filter by Tags`}),` to publish a subset of the collection.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Include tags`}),`: only requests carrying a matching tag are published. For example, `,_jsx(_components.code,{children:`Production ready`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Exclude tags`}),`: requests carrying a matching tag are dropped. For example, `,_jsx(_components.code,{children:`Work in progress`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`You can fill in one field or both. If a request matches an include tag and an exclude tag at the same time, the exclusion wins and the request is left out.`}),`\n`,_jsx(_components.p,{children:`Filtered requests are genuinely absent from the generated file, not hidden in the page. They do not appear in the navigation, in search results, or in the collection data embedded in the HTML, so a reader cannot dig them out of the source.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Because the filters are set per run, you can publish more than one variant\nfrom the same collection. Generate once with `,_jsx(_components.code,{children:`Production ready`}),` for the public\nfile, then generate again with no filters for the internal copy.`]})}),`\n`,_jsxs(_components.p,{children:[`Tags live in the collection files (on requests and on `,_jsx(_components.a,{href:`/get-started/bruno-basics/create-a-folder#folder-tags`,children:`folders`}),`), so they travel with the collection through Git and stay consistent with the tag filters used by the `,_jsx(_components.a,{href:`/bru-cli/run/overview#filtering-requests-with-tags`,children:`collection runner`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`include-git-repo-url`,children:`Include Git repo URL`}),`\n`,_jsxs(_components.p,{children:[`For Git backed collections, Bruno embeds the repository URL by default so readers can clone the collection through `,_jsx(_components.strong,{children:`Open in Bruno`}),`.`]}),`\n`,_jsx(_components.p,{children:`Turn the toggle off if you would rather not ship a repository URL, which matters most when the repo is private and the documentation is published somewhere public.`}),`\n`,_jsx(Heading,{level:`2`,id:`generate-from-the-cli`,children:`Generate from the CLI`}),`\n`,_jsx(_components.p,{children:`You can produce the same file from the command line, which is the better option when documentation lives in Git or gets published by a pipeline:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bru`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` docs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` generate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --all-envs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --exclude-tags`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Work in progress\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-git-link`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The CLI and the app share one implementation, so the same collection and the same options give you the same documentation. See `,_jsx(_components.a,{href:`/bru-cli/docs/overview`,children:`bru docs`}),` for the workflow and `,_jsx(_components.a,{href:`/bru-cli/docs/options`,children:`bru docs options`}),` for every flag.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`See what readers can do in the generated site: `,_jsx(_components.a,{href:`/html-docs/environments`,children:`switch environments`}),`, `,_jsx(_components.a,{href:`/html-docs/search`,children:`search requests`}),`, and `,_jsx(_components.a,{href:`/html-docs/playground`,children:`try requests live`}),` (including how collection scripts run in the playground)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/html-docs/deploy`,children:`Deploy and share`}),` the file with your team or API consumers`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Generate Documentation","sidebarTitle":"Generate Docs","description":null,"href":"/html-docs/generate"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you generate","slug":"before-you-generate","depth":2,"children":[]},{"title":"Generate Documentation","slug":"generate-documentation","depth":2,"children":[]},{"title":"Advanced options","slug":"advanced-options","depth":2,"children":[{"title":"Filter requests by tags","slug":"filter-requests-by-tags","depth":3,"children":[]},{"title":"Include Git repo URL","slug":"include-git-repo-url","depth":3,"children":[]}]},{"title":"Generate from the CLI","slug":"generate-from-the-cli","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/bruno-a6972042/74eb1b2f2da2662e/opencollection-yaml/_meta.js","/_mintlify/custom/bruno-a6972042/75f358315bb4a627/reo.js","/_mintlify/custom/bruno-a6972042/3edca46f1de48e89/public/js/bruno-translator/bruno-translator.js","/_mintlify/custom/bruno-a6972042/74eb1b2f2da2662e/v3/opencollection-yaml/_meta.js","/_mintlify/custom/bruno-a6972042/5de5e7386438052d/webinar-card.js","/_mintlify/custom/bruno-a6972042/2686f5c45048b22d/home-search.js","/_mintlify/custom/bruno-a6972042/5726a2056aeb1ee6/nav-dropdowns.js","/_mintlify/custom/bruno-a6972042/09527eba976105a6/sidebar-toggle.js","/_mintlify/custom/bruno-a6972042/a7e04a02496418f0/algolia-search.js"],"subdomain":"bruno-a6972042","siteName":"Bruno Docs","title":"Generate Documentation - Bruno Docs","navMaps":{"firstHrefInVersion":{"v4":{"href":"/html-docs/generate","matchLevel":0},"v3":{"href":"/v3/introduction/getting-started","matchLevel":4},"v2":{"href":"/v2/introduction/what-is-bruno","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T16:05:41.896Z","originalFileLocation":"html-docs/generate.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Bruno Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate Documentation - Bruno Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bruno Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.usebruno.com/html-docs/generate\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bruno-a6972042.mintlify.app/_mintlify/api/og/v2?division=Generate+HTML+Docs\u0026amp;title=Generate+Documentation\u0026amp;theme=0c1f845bb7b1f70119d7663d\u0026amp;signature=f826a8ded3140aeb3eea4abebcd116a40c89905a29ee154fa6dabc091bb6280a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Generate Documentation - Bruno Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bruno-a6972042.mintlify.app/_mintlify/api/og/v2?division=Generate+HTML+Docs\u0026amp;title=Generate+Documentation\u0026amp;theme=0c1f845bb7b1f70119d7663d\u0026amp;signature=f826a8ded3140aeb3eea4abebcd116a40c89905a29ee154fa6dabc091bb6280a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bruno-a6972042/Yf5VksxFslq3RqTk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bruno Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F2994A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.usebruno.com/html-docs/generate\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/html-docs/generate.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.usebruno.com/#organization\",\"name\":\"Bruno Docs\",\"url\":\"https://docs.usebruno.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bruno-a6972042/_vXLEyOu_Puj_WJg/logo/light.svg?fit=max\u0026auto=format\u0026n=_vXLEyOu_Puj_WJg\u0026q=85\u0026s=55e822e0743d6020e12873ece07c38e3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.usebruno.com#website\",\"name\":\"Bruno Docs\",\"url\":\"https://docs.usebruno.com\",\"publisher\":{\"@id\":\"https://docs.usebruno.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.usebruno.com/html-docs/generate#webpage\",\"url\":\"https://docs.usebruno.com/html-docs/generate\",\"name\":\"Generate Documentation\",\"dateModified\":\"2026-10-26T16:05:41.896Z\",\"isPartOf\":{\"@id\":\"https://docs.usebruno.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.usebruno.com/html-docs/generate#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.usebruno.com/html-docs/generate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Generate HTML Docs\",\"item\":\"https://docs.usebruno.com/html-docs/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate Documentation\",\"item\":\"https://docs.usebruno.com/html-docs/generate\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.usebruno.com/html-docs/generate#article\",\"headline\":\"Generate Documentation\",\"name\":\"Generate Documentation\",\"url\":\"https://docs.usebruno.com/html-docs/generate\",\"mainEntityOfPage\":{\"@id\":\"https://docs.usebruno.com/html-docs/generate#webpage\"},\"dateModified\":\"2026-10-26T16:05:41.896Z\",\"publisher\":{\"@id\":\"https://docs.usebruno.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.usebruno.com#website\"}}]}\u003c/script>","siteName":"Bruno Docs","nav":{"global":{"anchors":[]},"versions":[{"version":"v4","default":true,"tag":"Latest","tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/introduction/getting-started"}]},{"tab":"API Client","icon":"browser","pages":[{"title":"API Client","href":"/api-client/overview"}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/bru-cli/overview"}]},{"tab":"API Docs","icon":"book","groups":[{"group":"API Docs","pages":[{"title":"API Documentation in Bruno","sidebarTitle":"Overview","href":"/api-docs/overview"}]},{"group":"Write Docs in Bruno","pages":[{"title":"Document a Workspace","sidebarTitle":"Workspaces","href":"/api-docs/workspace-docs"},{"title":"Document a Collection","sidebarTitle":"Collections","href":"/api-docs/collection-docs"},{"title":"Document a Folder","sidebarTitle":"Folders","href":"/api-docs/folder-docs"},{"title":"Document a Request","sidebarTitle":"Requests","href":"/api-docs/request-docs"}]},{"group":"Generate HTML Docs","pages":[{"title":"Generated HTML Documentation","sidebarTitle":"Overview","description":null,"href":"/html-docs/overview"},{"title":"Generate Documentation","sidebarTitle":"Generate Docs","href":"/html-docs/generate"},{"title":"Environments in Generated Docs","sidebarTitle":"Environments","description":null,"href":"/html-docs/environments"},{"title":"Search in Generated Docs","sidebarTitle":"Search","href":"/html-docs/search"},{"title":"Interactive Playground","sidebarTitle":"Interactive Playground","href":"/html-docs/playground"},{"title":"Deploy and Share","sidebarTitle":"Deploy \u0026 Share","href":"/html-docs/deploy"}]}]},{"tab":"Mock Servers","icon":"server","pages":[{"title":"Mock Servers","href":"/mock-servers/overview"}]},{"tab":"VS Code","icon":"code","pages":[{"title":"VS Code","href":"/vs-code-extension/overview"}]},{"tab":"Formats","icon":"shapes","pages":[{"title":"Formats","href":"/reference/overview"}]},{"tab":"Licensing","icon":"key","pages":[{"title":"Licensing","href":"/license-overview"}]},{"tab":"Popular","icon":"star","menu":[{"item":"JavaScript API Reference","icon":"brackets-curly","description":"The bru object, scripting and testing API","pages":[{"title":"JavaScript API Reference","href":"/testing/script/javascript-reference"}]},{"item":"Postman Migration","icon":"right-left","description":"Move your Postman collections to Bruno","pages":[{"title":"Postman Migration","href":"/get-started/import-export-data/postman-migration"}]},{"item":"Environment Variables","icon":"layer-group","description":"Manage values across environments","pages":[{"title":"Environment Variables","href":"/variables/environment-variables"}]},{"item":"Bruno CLI Examples","icon":"terminal","description":"Command examples for running collections","pages":[{"title":"Bruno CLI Examples","href":"/bru-cli/run/overview"}]}],"pages":[{"title":"Popular","href":"/testing/script/javascript-reference"}]}]},{"version":"v3","pages":[{"title":"v3","href":"/v3/introduction/getting-started"}]},{"version":"v2","pages":[{"title":"v2","href":"/v2/introduction/what-is-bruno"}]}]},"basePath":"","title":"Generate Documentation - Bruno Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DL4wrF0w.js","lightbox-handle-r17bVUz3.js"]}