digitalmars.D - static site generation toolkit in d
- monkyyy (13/13) Dec 22 2023 I have my website and wasm raylib
- Sergey (6/7) Dec 23 2023 You can check this solution
- monkyyy (5/12) Dec 23 2023 Well for starters *I cant find* where the real main code is
- Alexandru Ermicioi (3/7) Dec 23 2023 You're sure you've looked into source code? Seems like it is in
- monkyyy (6/13) Dec 23 2023 based on what?
I have my website and wasm raylib https://github.com/crazymonkyyy/raylib-2024 https://github.com/crazymonkyyy/crazymonkyyy.github.io both need work where you make quick and dirty scripts to generate html and I have some tools to start but they are a mess and I hate working with the web. So its my raylib wasm project is moving down the todo list until I actaully understand how emscription makes its web pages at all before I make automation for the examples, and finishing my website has been on the todo for... months; etc. Would anyone be interested in making a similar website (d scripts to static html on github pages) with my tools and clarifying my thoughts on how ... any of this should work?
Dec 22 2023
On Saturday, 23 December 2023 at 00:30:48 UTC, monkyyy wrote:any of this should work?You can check this solution https://github.com/kambrium/dssg/tree/master So if your approach is not very different maybe better improve this solution, instead of creating another one. NIH syndrome is already too high in D :)
Dec 23 2023
On Saturday, 23 December 2023 at 12:00:23 UTC, Sergey wrote:On Saturday, 23 December 2023 at 00:30:48 UTC, monkyyy wrote:Well for starters *I cant find* where the real main code is inside that enterprise-grade oo structure whereas hey look this is a 30 line file https://github.com/crazymonkyyy/crazymonkyyy.github.io/blob/master/sitegen.dany of this should work?You can check this solution https://github.com/kambrium/dssg/tree/master So if your approach is not very different maybe better improve this solution, instead of creating another one. NIH syndrome is already too high in D :)
Dec 23 2023
On Saturday, 23 December 2023 at 18:36:41 UTC, monkyyy wrote:Well for starters *I cant find* where the real main code is inside that enterprise-grade oo structure whereas hey look this is a 30 line file https://github.com/crazymonkyyy/crazymonkyyy.github.io/blob/master/sitegen.dYou're sure you've looked into source code? Seems like it is in core.d.
Dec 23 2023
On Saturday, 23 December 2023 at 20:00:10 UTC, Alexandru Ermicioi wrote:On Saturday, 23 December 2023 at 18:36:41 UTC, monkyyy wrote:based on what? https://github.com/kambrium/dssg/blob/e2524a7606f073e264faa4c7a7a7c63fc9379d7a/source/app.d#L7C3-L7C21 I see a "handle cli" and that cli then imports 5 things and then nested try-catch blocks and just nahWell for starters *I cant find* where the real main code is inside that enterprise-grade oo structure whereas hey look this is a 30 line file https://github.com/crazymonkyyy/crazymonkyyy.github.io/blob/master/sitegen.dYou're sure you've looked into source code? Seems like it is in core.d.
Dec 23 2023