phundrak
f99d45e8ab
Simplify code, remove html dependency
...
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.
2020-08-25 03:34:55 +02:00
phundrak
8b984e301f
Fix #1
...
Also make website more mobile-friendly for smaller devices. And ignore
temporary scssc files from cache SCSS compiling.
2020-07-27 00:18:42 +02:00
phundrak
272bd93ed8
Finally fix issue #9
2020-07-26 21:22:06 +02:00
phundrak
167cad1ce3
Fix some errors with webpages nested in directories
2020-07-26 17:36:45 +02:00
phundrak
659e406c5e
Removed some leftover from previous version
2020-06-23 11:14:36 +02:00
phundrak
fe05e145ab
Underline of tooltiped text is now more visible
2020-05-26 20:54:37 +02:00
phundrak
94ab71402d
Fixed position issue with tooltips
2020-05-26 20:42:18 +02:00
phundrak
b804764e24
Fixed subtitle selection
2020-05-26 02:14:13 +02:00
phundrak
4ed2d6bdc4
Fixed broken sitemap parsing
2020-05-26 02:13:48 +02:00
phundrak
2334518ecc
Removed unused code
2020-05-26 02:13:28 +02:00
phundrak
26b198d485
Code style
2020-05-26 00:52:05 +02:00
phundrak
fcfd8330ca
Smoother scroll behavior
2020-05-26 00:36:15 +02:00
phundrak
82d3e3d018
Simpler code, removed a loop, code style
2020-05-26 00:35:55 +02:00
phundrak
06994305ac
Code style, updated code for better icon handling
2020-05-26 00:35:34 +02:00
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
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
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
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
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
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
8b85ea5952
Initial commit, added all backend files
2020-05-05 14:49:26 +02:00