Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom output path for static and external_static instead of only static #884

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

PatryQHyper
Copy link
Contributor

@PatryQHyper PatryQHyper commented Aug 23, 2024

When you set type to external_static and set custom static output_path, it still points to default path in generated HTML.

Generated part of scalar HTML (before PR, output_path is different from public/docs):

<script
    id="api-reference"
    data-url="../docs/openapi.yaml">
</script>

@shalvah shalvah merged commit 754eacd into knuckleswtf:master Aug 24, 2024
6 checks passed
@shalvah
Copy link
Contributor

shalvah commented Aug 24, 2024

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants