Commit graph

428 commits

Author SHA1 Message Date
Starbeamrainbowlabs f04deaad15
Start writing the tutorial, but it's not finished yet 2021-06-20 02:22:25 +01:00
Starbeamrainbowlabs 4d24e4e884
docs: Add WorldEdit dependency to git installation instructions 2021-06-20 02:03:44 +01:00
Starbeamrainbowlabs 37195edb66
docs: tweak fallback background colour
On Ubuntu, this is also used as the background for the scrollbar I've 
just noticed, so useful to set.
2021-06-20 01:53:51 +01:00
Starbeamrainbowlabs 9232b79925
docs: Spruce up reference page
It looks much fancier now :D
2021-06-20 01:51:55 +01:00
Starbeamrainbowlabs cc20fb499d
Apply css based on aria-current, but I'm not happy with it yet 2021-06-19 18:27:02 +01:00
Starbeamrainbowlabs ed5f583e04
Add content-generic layout and cookbook 2021-06-19 18:20:05 +01:00
Starbeamrainbowlabs 5362c8956e
Add ContentDB image 2021-06-19 18:14:23 +01:00
Starbeamrainbowlabs 1dcfc22f7a
docs: add npm start script 2021-06-19 17:49:20 +01:00
Starbeamrainbowlabs ce41e8bc55
Add getting started section
Todo:

Completely revise the changelog / reference to use data & dynamicness, 
because we want to group headings into <section /> elements. That way it 
makes it *much* easier to implement a search feature, and also style it 
nicely too
2021-06-14 02:25:45 +01:00
Starbeamrainbowlabs 70b6adaa0d
Improve handling of PNGs, add background image 2021-06-14 01:36:13 +01:00
Starbeamrainbowlabs 4fff388656
docs: Add next (final?) section of website
Next up: fine tuning
2021-06-13 23:34:38 +01:00
Starbeamrainbowlabs dcc66f2bd0
docs: Add badges to top of page 2021-06-13 22:37:07 +01:00
Starbeamrainbowlabs 79d7712740
Add comment to top of gallerybox 2021-06-12 14:39:06 +01:00
Starbeamrainbowlabs f01fee3699
Tweak description 2021-06-09 00:35:39 +01:00
Starbeamrainbowlabs 8a500735c0
Implement a css-only gallery, with descriptions!
It's an absolutely *glorious* series of hacks :D

Including, but certainly not limited to:

 - CSS Grids with only 1 cell
 - Flexboxes used for positioning text nodes
 - Element heights set indirectly with the width property
 - z-index abused to show the current image in the sequence


it's undefined which image will be shown initially, but given the amount 
of effort this took I'm ok with that

If anyone knows how  to shift the <picture> element 0.25em upwards 
*without* moving the image so that I can remove the upper and lower 
borders, I'd lvoe to know. I've tried everything - including settingit's 
height to zero etc. In the end I've padded out the top to balance it out 
instead :P
2021-06-09 00:34:25 +01:00
Starbeamrainbowlabs b88080a698
Remove CSSBox
We're going to implement our own
2021-06-08 21:17:53 +01:00
Starbeamrainbowlabs 85e5eb3971
docs website: Add bigbutton 2021-06-07 01:28:11 +01:00
Starbeamrainbowlabs 66234cdeae
Minor styling to footer; change heart to emoji 2021-06-06 23:39:00 +01:00
Starbeamrainbowlabs 1f44e240fb
utils/tables: refactor into separate files
..it was getting rather long, because Lua doesn't exactly come with 
batteries included :-/
2021-06-03 01:57:46 +01:00
Starbeamrainbowlabs 78e6ebe4ae
It does actually work! It's just the gallery that doesn't support the <picture> element. 2021-05-31 21:08:07 +01:00
Starbeamrainbowlabs 722912a0c2
Work on images, but it leaves a lot to be desired
....we'll have to reimplement Image.generateHTML :-/
2021-05-31 21:06:17 +01:00
Starbeamrainbowlabs 117002f9e9
Start working on documentation website, but it's not finished yet 2021-05-31 02:20:23 +01:00
Starbeamrainbowlabs 9cb746e86a
noise: add comment 2021-05-31 00:38:07 +01:00
Starbeamrainbowlabs 9c4e23daa8
//floodfill: fix error handling 2021-05-31 00:38:01 +01:00
Starbeamrainbowlabs de8b35dfee
.gitignore: ignore lua, node.js 2021-05-30 20:34:10 +01:00
Starbeamrainbowlabs 9325f19de2
screenshot.png: optimise with oxipng 2021-05-30 20:34:00 +01:00
Starbeamrainbowlabs 5083ea05ca
Start on #55, but because Minetest blocks our read attempts to Chat-Command-Reference (symlinks don't help), we can't continue this 2021-05-30 16:18:08 +01:00
Starbeamrainbowlabs 0474f5a0ee
wea.table_filter: also pass i as the 2nd argument 2021-05-30 16:17:19 +01:00
Starbeamrainbowlabs 8bc2e543da
polyfill str_starts: make less dense and mroe readable 2021-05-30 13:06:47 +01:00
Starbeamrainbowlabs 2f18e9d4ab
Chat command reference: tiny tweak to //erode river 2021-05-30 02:12:46 +01:00
Starbeamrainbowlabs 7ca3f26208
README: Fix //erode hyperlink 2021-05-30 02:11:27 +01:00
Starbeamrainbowlabs 9b53b73bc9
//erode river: Update docs,rename some parameters for consistency 2021-05-30 02:09:52 +01:00
Starbeamrainbowlabs af1c1decb0
README: master → main 2021-05-30 01:47:05 +01:00
Starbeamrainbowlabs 74bde4e60c
//erode river: comment debug
...we might need them again in the future
2021-05-30 01:44:00 +01:00
Starbeamrainbowlabs ccf27c8629
Bugfix new //erode river implementation
next stop: docs!
2021-05-30 01:42:06 +01:00
Starbeamrainbowlabs dc7ccf49f3
wea.parse.map: support bools 2021-05-30 01:40:18 +01:00
Starbeamrainbowlabs 0498125ca7
Bugfix table_map: avoid infinite loop 2021-05-30 00:12:13 +01:00
Starbeamrainbowlabs a5c6e82ef3
Bugfix table_map: return result 2021-05-30 00:11:13 +01:00
Starbeamrainbowlabs 00a60eba17
//erode → river: Change only 1 height at a time for extra granularity
this also simplifies it a bit too
2021-05-30 00:04:01 +01:00
Starbeamrainbowlabs 9ecdd01914
//erode: initial river algorithm implementation 2021-05-30 00:02:21 +01:00
Starbeamrainbowlabs 17b8f8a555
erode/snowballs: correct comment 2021-05-29 23:20:34 +01:00
Starbeamrainbowlabs a8ddc7831a
wea.table_filter: add API function
Really, Lua should have this already. At this rate, I'll be implementing 
the entire Javascript standard library... :P
2021-05-29 23:20:11 +01:00
Starbeamrainbowlabs b23f353b19
wea.min, wea.max: add API functions 2021-05-29 23:13:10 +01:00
Starbeamrainbowlabs c7c6a848dc
wea.table_unique(): Add API function 2021-05-29 22:49:50 +01:00
Starbeamrainbowlabs 8eb9a8ed0f
wea.table_map(): Add api function 2021-05-29 22:49:35 +01:00
Starbeamrainbowlabs 1e677c1f3f
wea.split: Standardise comment 2021-05-29 22:49:14 +01:00
Starbeamrainbowlabs f7ecb84da4
Add original screenshot as screenshot2.png 2021-05-29 02:34:29 +01:00
Starbeamrainbowlabs 82f273e19e
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions into main 2021-05-29 02:31:39 +01:00
Starbeamrainbowlabs 0b02ce90af
Changelog: update links 2021-05-29 02:31:29 +01:00
VorTechnix 4d1295ddcd Update screenshot.png 2021-05-28 17:34:09 -07:00