Commit Graph

287 Commits

Author SHA1 Message Date
Guilhem Fauré
4ceb1ef9e3 files links in sections too 2023-05-23 14:14:15 +02:00
Guilhem Fauré
dbfe417870 image & documents links conversion ok 2023-05-23 13:40:32 +02:00
Guilhem Fauré
94b593da93 proper replace images 2023-05-23 10:33:04 +02:00
Guilhem Fauré
0835bec611 add î conversion 2023-05-23 10:28:25 +02:00
Guilhem Fauré
79f1a9e958 export files 2023-05-23 10:26:03 +02:00
Guilhem Fauré
bad5fef4c6 fix documents querying + terminal output 2023-05-22 17:34:59 +02:00
Guilhem Fauré
ae7063e241 coloring big refactor + init copy of assets 2023-05-22 16:53:25 +02:00
Guilhem Fauré
95ccc5fab5 fixes & typing 2023-05-22 14:45:43 +02:00
Guilhem Fauré
d9cac7b1d3 typing 2023-05-22 14:23:32 +02:00
Guilhem Fauré
488b200c40 init Document & Documents 2023-05-22 14:11:25 +02:00
Guilhem Fauré
13824687bd capacity to read a config file 2023-05-22 13:31:35 +02:00
Guilhem Fauré
6fb1e9a29e more typing 2023-05-22 11:40:12 +02:00
Guilhem Fauré
1dc7d72987 better unknown chars conversion 2023-05-22 11:32:05 +02:00
Guilhem Fauré
477037573a fix unknown chars warning + better context 2023-05-22 11:23:51 +02:00
Guilhem Fauré
a83ec1da3c refactoring 2023-05-22 10:57:08 +02:00
Guilhem Fauré
a0fd7f0efa output fixes 2023-05-17 17:29:24 +02:00
Guilhem Fauré
6740035958 iterate over sections, creating _index.md files. commenting. more context with unknown characters 2023-05-17 17:25:19 +02:00
Guilhem Fauré
d15ad5fd8e start big refactoring to iterate over sections, then section’s articles 2023-05-17 12:18:01 +02:00
Guilhem Fauré
8021bd395e refactor 2023-05-17 12:04:04 +02:00
Guilhem Fauré
df0b623383 more typing, fixes 2023-05-17 11:43:48 +02:00
Guilhem Fauré
221aa5d3aa fixes to use the program with repr 2023-05-17 11:05:54 +02:00
Guilhem Fauré
c38274b58e init section class 2023-05-17 10:53:30 +02:00
Guilhem Fauré
834b20c9fe title after caption & caption in yaml 2023-05-17 10:24:36 +02:00
Guilhem Fauré
d7ab785b17 spip headings as h2 and article title as h1 2023-05-17 10:21:49 +02:00
Guilhem Fauré
cd8febda2d more data in articles, including internal spip IDs & translation key 2023-05-17 10:11:03 +02:00
Guilhem Fauré
6f11783f7c flag empty articles 2023-05-16 17:15:43 +02:00
Guilhem Fauré
f5c0f8cf51 multiple files for multiple languages 2023-05-16 16:48:36 +02:00
Guilhem Fauré
380f69da96 fixes for pypy 2023-05-16 16:23:42 +02:00
Guilhem Fauré
06701397da Unnamed update 2023-05-16 16:16:29 +02:00
Guilhem Fauré
619376003f fix encoding replacing 2023-05-16 16:08:03 +02:00
Guilhem Fauré
e1c8bd4b2e PEP8 refactor 2023-05-16 15:55:51 +02:00
Guilhem Fauré
aa1b822688 more typing 2023-05-16 14:01:35 +02:00
Guilhem Fauré
f23073ef12 sections directories, better unknown char messages 2023-05-16 13:29:59 +02:00
Guilhem Fauré
caf9db541f support for config file 2023-05-16 11:37:34 +02:00
Guilhem Fauré
869714f926 refactor 2023-05-16 11:31:44 +02:00
Guilhem Fauré
1076040316 use str.replace() instead of regex when not needed 2023-05-16 11:29:22 +02:00
Guilhem Fauré
b61853a4d5 unknown characters highlighting & reporting 2023-05-16 11:19:47 +02:00
Guilhem Fauré
12db0375e7 better article text build 2023-05-16 10:01:33 +02:00
Guilhem Fauré
bc616cc7a1 started allowing to gather unknown encoding bugs 2023-05-15 17:18:36 +02:00
Guilhem Fauré
b8f99fb329 refactor project structure 2023-05-15 17:10:58 +02:00
Guilhem Fauré
8eb0d1101a add conversion ç 2023-05-11 16:20:24 +02:00
Guilhem Fauré
629594de9b remove every html tag (maybe temporarily) 2023-05-11 16:11:20 +02:00
Guilhem Fauré
b3119924a8 more strict cleaning of metadata 2023-05-11 15:17:44 +02:00
Guilhem Fauré
d8b7a1b562 style fixes 2023-05-11 14:31:08 +02:00
Guilhem Fauré
65e9f0a67b more encoding fixes, warns when unknown encoding 2023-05-11 14:22:13 +02:00
Guilhem Fauré
3e3259c564 delete lark syntax 2023-05-11 13:46:34 +02:00
Guilhem Fauré
ca4a3c1a96 lowercase meta class (pyright) + do not print title in markdown & h1 headings 2023-05-11 13:45:33 +02:00
Guilhem Fauré
3a261800a6 update licence 2023-05-11 11:47:29 +02:00
Guilhem Fauré
4141c10bfc add explanation in comments 2023-05-11 11:38:38 +02:00
Guilhem Fauré
995fee5b6a fixed most of the encoding bugs 2023-05-11 11:36:23 +02:00