Commit Graph

249 Commits

Author SHA1 Message Date
Guilhem Fauré
0d9ad19b2f internal links almost ok + repair û chars + lighter output for unknown chars 2023-05-24 15:32:03 +02:00
Guilhem Fauré
74aeb8474c replace internal links 2023-05-24 13:46:03 +02:00
Guilhem Fauré
27938f92b9 links documents and images 2023-05-24 13:37:59 +02:00
Guilhem Fauré
a71302c5ed fix missing body 2023-05-24 12:12:13 +02:00
Guilhem Fauré
0568f54f29 fix sections filenames 2023-05-24 12:09:04 +02:00
Guilhem Fauré
31fadce8c5 cleaning 2023-05-24 12:07:52 +02:00
Guilhem Fauré
93a717b721 fix typing 2023-05-24 12:04:42 +02:00
Guilhem Fauré
13fa720562 refactor to use Peewee objects extension in place of redefining every SPIP atribute 2023-05-24 12:01:22 +02:00
Guilhem Fauré
4d269357de add unknown char, better output 2023-05-23 17:50:02 +02:00
Guilhem Fauré
0ce795dc08 big refactor, code reusage, sections files export, more compact output, simplifications 2023-05-23 17:45:34 +02:00
Guilhem Fauré
bf6b8d4fe5 start big refactor to structure properly main.py, in order to export sections documents the same way than articles 2023-05-23 15:32:53 +02:00
Guilhem Fauré
fdd25f3de6 do not clear output by default 2023-05-23 14:19:20 +02:00
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