Commit graph

45 commits

Author SHA1 Message Date
0d924de79b
clippy::pendatic
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval
2024-05-28 20:26:58 +02:00
9dfcc1101d
Basic cours support (#44)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
feat: Basic support for new `/cours` endpoint (not ready for release yet), see commit description for more

- Basic /cours support
- Fix LaTeX support (see #47 / cours+blog)
  - Better detection of when there is LaTeX in document
  - Don't shuffle markdown and LaTeX processing (thanks to comrak)
  - Macros on release
- Local image support (cours+blog)
- PDF support
- Support of markdown files integration in other markdown files
- Very basic exclusion support in toc (need a lot of improvement!!)
- Update multiple dependencies (actix-web, ramhorns, comrak, reqwest, hljs)
- Reformat some code
- ToC in /cours support (very basic, works via building it in rust and processing it in js)
- Remove very old assets (font + jspdf)
- Hide navbar when printing the website
- New tag in index page
- Fix OCaml support for HLJS + add "pseudocode" derived from Julia

Reviewed-on: #44
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-04-01 18:11:46 +02:00
fbde0a07c6
documentation 2024-01-24 12:10:50 +01:00
68814cdd20
fix metadata? 2023-10-24 12:21:30 +02:00
73b059b155
refactor 2023-10-24 11:57:50 +02:00
fe0ccd913c
fix url
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 11:50:30 +02:00
9f95eb2b6b
Rework (#35)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Style rework
- Update dependencies to latest

Close #33
Close #34

Reviewed-on: #35
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-10-15 20:58:20 +02:00
76c682264f
Derive all struct and enum with debug 2023-05-02 13:34:43 +02:00
8d5dc03406
add quotes when possible, trailing space at the end
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-29 15:00:06 +02:00
ec90edfc3d
give url to templates
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-29 14:13:22 +02:00
16b9427612
give current url to all files for metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-29 14:09:41 +02:00
b0112c06d6
use to_owned instead of clone
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 12:18:21 +02:00
f2359be6a3
add comments
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:47:47 +02:00
a1dc7d538a
* use comrak instead of markdown-rs
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
* move markdown stuff to markdown file
2023-04-21 16:27:06 +02:00
2c0fe8d6e5
meta: cleanup
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
* move date to utils dir
* rename get_* to build_*
* increase index ttl from 60 to 120
* split index blog build in half
2023-04-20 15:43:25 +02:00
44266a3787
fix sorting
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 15:19:41 +02:00
d9c9ff0828
order by date
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 15:08:09 +02:00
0fd74dd449
Add date support!
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 14:41:36 +02:00
fa3bdca37e
wip: date implementation
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 11:57:06 +02:00
a293ef4332
better metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 21:16:39 +02:00
00f65be0f3
add keywords 2023-04-19 20:07:53 +02:00
d8a1693dd7
* Doesnt convert in Rust the latex
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
* add math detection
* fix mermaid and code detection
2023-04-19 18:36:52 +02:00
57ed1dd8e1
better error handling 2023-04-19 16:57:16 +02:00
3da1ce6aa9
better handling of empty datas
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 14:28:53 +02:00
e02709aedc
silent pass latex error
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 13:36:09 +02:00
d2b520d9b6
cut the md reader in half 2023-04-14 12:25:14 +02:00
4b5fa8561c
import instead of qualify 2023-04-14 11:30:47 +02:00
80e27bd32c
give extra info to template
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 10:03:22 +02:00
2b3e7491a2
replace data by content 2023-04-11 02:13:04 +02:00
708b48d45b
use file struct 2023-04-11 01:53:02 +02:00
c46a61fba6
add syntax highlight
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 01:20:11 +02:00
46ced07b2a
use global config
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 01:08:07 +02:00
ff7fa90cdc
* useless compileoption
* use any instead of fold
2023-04-11 00:57:59 +02:00
c2e65f6365
derive to content
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 00:19:53 +02:00
dfa62c8e07
fix metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 21:08:42 +02:00
52df4bd9c3
detect mermaid diagram
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 20:05:57 +02:00
2215f3e4e8
add yaml frontmatter
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 19:16:25 +02:00
15b13c30bf
WIP: Markdown implementation
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 18:59:30 +02:00
eb9e7e22f3
impl render to template class
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:26:20 +02:00
6d3b4c8398
migration: askama to ramhorns
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:02:06 +02:00
f368e57d7f
don't always minify when rendering html
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 16:52:07 +02:00
6f3beb6368
#15 awareness 2023-02-09 11:42:51 +01:00
00cd6405ea
minify all pages 2023-02-09 11:19:53 +01:00
d7ee3f903f
add security.txt 2023-02-08 22:14:57 +01:00
a8a39cf5b9
add hello world 2023-02-08 20:49:05 +01:00