Commit Graph

24 Commits

Author SHA1 Message Date
phundrak 99c2127cc8 Fixes #7
Fontawesome was removed from the source code and is a dependency no
longer needed by websites running with OWB
2020-05-22 01:51:55 +02:00
phundrak 08b8116f6f Header image now easier to change, no need to modify source code 2020-05-21 08:29:59 +02:00
phundrak 9725e24b38 Fixes #8
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.
2020-05-21 07:34:10 +02:00
phundrak d69682ec06 Fixed issue where sitemap wouldn’t load 2020-05-21 07:33:22 +02:00
phundrak c9d263b12c Simplified file, removed unused import 2020-05-21 07:32:47 +02:00
phundrak 8ca55cb710 Better coding style 1.2 2020-05-10 12:37:22 +02:00
phundrak aa4600b588 Sitemap query now fully asynchronous
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.
2020-05-10 12:00:47 +02:00
phundrak 2f297b6374 Updated minimum version of the Dart SDK required 2020-05-10 11:59:10 +02:00
phundrak 9f6a32f5d2 Added build directory to gitignore 2020-05-10 11:58:51 +02:00
phundrak 34ac1480d3 Upgraded Dart version, better Dockerfile and renamed project
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
2020-05-09 17:45:46 +02:00
phundrak fc1556128c Fixes #4
Also put in common some code between TOC and Pages dropdown, made style
more mobile-friendly.
2020-05-09 15:16:42 +02:00
phundrak 3c942b4b8f Fixes bug introduced in e819866
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.
2020-05-09 14:45:26 +02:00
phundrak 90106df0f6 Added debug mode for backend 2020-05-07 15:46:36 +02:00
phundrak a82fa74a6b Fixes #2
Horizontal margin for content was reduced in order to better fit mobile
devices
2020-05-07 15:39:06 +02:00
phundrak e81986683c Fixes issue #5
The absence of a table of contents made the Dart code crash. This commit
adds a default TOC if non already exists.
2020-05-07 15:36:50 +02:00
phundrak cc6519c302 Link best practices, and removed font for faster loading time 1.1 2020-05-06 11:48:51 +02:00
phundrak 705e35e971 Removed some fonts from styling 2020-05-05 22:46:12 +02:00
phundrak 61fe6f71a4 modified from final to const as it won’t change value 2020-05-05 19:33:57 +02:00
phundrak 404e79211e Made it easier to change header image 2020-05-05 19:20:28 +02:00
phundrak 2d54d0fa30 Better code block display 1.0 2020-05-05 17:39:43 +02:00
phundrak 004a333ffe Added keywords to be excluded from page listing 2020-05-05 16:48:09 +02:00
phundrak d86bb23c88 Fixed issues with running backend 2020-05-05 16:41:16 +02:00
phundrak 19f2b99d7e Better backend launching 2020-05-05 15:10:55 +02:00
phundrak 8b85ea5952 Initial commit, added all backend files 2020-05-05 14:49:26 +02:00