Skip to content

Conversation

@tcbegley
Copy link
Collaborator

The docs try to load the Dash component modules over a CDN to take advantage of browser caching when navigating between pages. This breaks development however, because the CDN link generated from the development version number of dash-bootstrap-components is invalid.

This fix ensures that bundles are served locally when running python docs/run.py, but will still be loaded over CDN in production (where we run gunicorn run from the docs directory).

@tcbegley tcbegley merged commit 70be538 into master Oct 23, 2020
@tcbegley tcbegley deleted the docs-dev-mode branch October 23, 2020 08:23
github-actions bot pushed a commit that referenced this pull request Oct 23, 2020
Serve dash-bootstrap-components locally in development mode
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