mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-15 11:04:49 +00:00
include offline copy of docs
This grabs the docs via the @pybricks/ide-docs package and copies them to the build directory with copy-webpack-plugin. The service worker automatically picks up these files for precache since they go through webpack.
This commit is contained in:
@@ -52,7 +52,7 @@ function App(): JSX.Element {
|
||||
<div className="h-100 w-100">
|
||||
{dragging && <div className="h-100 w-100 p-absolute" />}
|
||||
<iframe
|
||||
src="https://docs.pybricks.com"
|
||||
src="static/docs/index.html"
|
||||
allowFullScreen={true}
|
||||
title="docs"
|
||||
width="100%"
|
||||
|
||||
Reference in New Issue
Block a user