Skip to content

A documentation entirely revised ​

After going online, Basthon's documentation was reread from top to bottom, checked against the code and completed. It is now single: the pages that lived apart (isolated kernels, self-assessment, basthon module) joined the site, with the same search and the same navigation.

Among the novelties:

  • a link generator to share an activity: choose the interface, the language, the content, the extra files and the modules, and it builds the address. It also converts the address of a file on GitHub or on the Forge into an address Basthon can download;
  • a page per language (SQL, OCaml, JavaScript, XCAS, C and R), with its files, its modules and its downloads;
  • for Python, a summary of the differences with Python on a computer, the modules adapted to Basthon (Turtle, Matplotlib, tkinter, p5.js…) on their own page and the main available modules, sorted by theme;
  • a Troubleshooting page: nothing is shown, the program does not stop, a shared file does not load, a module cannot be found…
  • the Self-assessment, Extra files and modules and On the command line pages;
  • diagrams to understand at a glance where files go, what a shared link does, what an isolated kernel protects or how a sequenced notebook unfolds.

The pages read just as well on a phone: large tables scroll without overflowing the screen.

For developers and the platforms that integrate Basthon, an integration guide for the kernel, the reference of its JavaScript API, generated from the code, a description of its architecture and security and a guide to add a new language.

This review also fixed a few bugs: the console that stayed stuck on its loading screen when a shared file was refused, basthon.download that ignored text in JavaScript, Turtle's fillcolor() that returned the pen's colour, IPython.display.Code that did not work, or Graphviz's PNG export (render(format="png")) that failed in isolated kernels.

The old addresses lead automatically to the new pages. A mistake, something missing? Don't hesitate to tell us!

Read the documentation