Skip to content

Commit

Permalink
use latest (and fixed) brython source
Browse files Browse the repository at this point in the history
  • Loading branch information
lebalz committed Aug 2, 2024
1 parent f1a46ed commit bceda32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ module.exports = {
+ themes: [
+ ['docusaurus-live-brython'],
+ {
+ brython_src: 'https://cdn.jsdelivr.net/npm/[email protected]/brython.min.js', // default
+ brython_stdlib_src: 'https://cdn.jsdelivr.net/npm/[email protected]/brython_stdlib.js' // default
+ brythonSrc: 'https://cdn.jsdelivr.net/npm/[email protected]/brython.min.js', // default
+ brythonStdlibSrc: 'https://cdn.jsdelivr.net/npm/[email protected]/brython_stdlib.js' // default
+ }
presets: ['@docusaurus/preset-classic']
...
Expand Down
4 changes: 2 additions & 2 deletions src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export type ThemeOptions = {
export type Options = Partial<ThemeOptions>;

export const DEFAULT_OPTIONS: ThemeOptions = {
brythonSrc: 'https://raw.githack.com/brython-dev/brython/master/www/src/brython.js',
brythonStdlibSrc: 'https://raw.githack.com/brython-dev/brython/master/www/src/brython_stdlib.js',
brythonSrc: 'https://cdn.jsdelivr.net/npm/brython@3.12.4/brython.min.js',
brythonStdlibSrc: 'https://cdn.jsdelivr.net/npm/brython@3.12.4/brython_stdlib.js',
libDir: '/bry-libs/',
skipCopyAssetsToLibDir: false,
syncMaxOnceEvery: 1000
Expand Down

0 comments on commit bceda32

Please sign in to comment.