This commit removes the `html' package dependency, speeding up the
compile time of the Dart code.
It also simplifies the code and removes some unused code. For instance
the sun, moon, and lightbulb icons is removed, the `Theme' class is
removed, and the `switchTheme' function is now merged into the
`setTheme' function. The `makeThemeItem' function has also had its
second argument removed.
The default theme is now chosen based on the user’s preference stored in
their device. If the device uses a dark theme, the website’s dark theme
will be used by default. Otherwise, the light theme will be used by
default.
Sitemap generation is now independent from the navbar generation, and
it will be added to the navbar only once the navbar has been created.
Also, better style for code.
Dart is now upgraded to version 2.8
Any change in dependencies or Dart tooling won’t trigger Docker to
reinstall anything Ruby-related in the image afterward
Name of the Dart package and its homepage were changed, forgot to do
that
Table of content was made unavailable regardless of whether one was
provided by the page or not. This commit fixes this issue by making an
unavailable TOC only if one is not provided by the web page, otherwise
the TOC will be available.