Commit Graph

62 Commits

Author SHA1 Message Date
Guilhem Fauré
f4195936eb moved test files to dedicated folder, corrected test file to debug grammar 2023-04-26 10:01:57 +02:00
Guilhem Fauré
c12bf46eb2 trailing newline to conform wiht syntax 2023-04-25 16:28:17 +02:00
Guilhem Fauré
370e0445be TAG rule for special markup 2023-04-25 16:28:01 +02:00
Guilhem Fauré
6c46c2406e clean testSpip 2023-04-25 16:08:51 +02:00
Guilhem Fauré
48af637dbd init a spip example file 2023-04-25 16:07:10 +02:00
Guilhem Fauré
ab323047ff fix lark syntax, it "compiles" 2023-04-25 16:00:28 +02:00
Guilhem Fauré
c399439e32 lark syntax in separate file 2023-04-25 15:50:08 +02:00
Guilhem Fauré
bb4c8ccb23 separate paragraph & text, more precise pure_text but more rigid than reference implementation 2023-04-25 14:46:41 +02:00
Guilhem Fauré
2132fdfd68 add terminals spip syntax 2023-04-25 14:31:25 +02:00
Guilhem Fauré
dbf9de70c7 started defining syntax with Lark in EBNF 2023-04-25 12:21:44 +02:00
Guilhem Fauré
6bec415540 clean imports 2023-04-25 09:56:03 +02:00
Guilhem Fauré
a0d66fb2e5 add lark to build a parser 2023-04-25 09:52:45 +02:00
Guilhem Fauré
723feddac5 database params in CONFIG + clean 2023-04-25 09:33:02 +02:00
Guilhem Fauré
aa64c9a6d7 start syntax conversion 2023-04-24 17:08:23 +02:00
Guilhem Fauré
0ab27b528a start syntax conversion 2023-04-24 16:55:01 +02:00
Guilhem Fauré
79669825eb file with encoding problems 2023-04-24 16:49:30 +02:00
Guilhem Fauré
2dbf9c4e58 draft metadata 2023-04-24 16:26:07 +02:00
Guilhem Fauré
c19c057755 more term info 2023-04-24 16:22:27 +02:00
Guilhem Fauré
5c78a896ec increased default export limit to 1000 articles & better term output 2023-04-24 16:15:11 +02:00
Guilhem Fauré
69d713dca5 keep only 1 lang in multi-lang titles 2023-04-24 16:14:20 +02:00
Guilhem Fauré
a7ca45f731 basic metadata compatible with hugo 2023-04-24 14:59:42 +02:00
Guilhem Fauré
cc07869989 switch to newer slugifier 2023-04-24 14:36:20 +02:00
Guilhem Fauré
b517e726cb ascii only in file slugs, WARNING undocumented option 2023-04-24 14:14:32 +02:00
Guilhem Fauré
d29aa331d6 unicode in yaml & better term output 2023-04-24 14:12:20 +02:00
Guilhem Fauré
b8e72b2f38 unicode in yaml & better term output 2023-04-24 14:11:18 +02:00
Guilhem Fauré
7d6340b7e8 sort imports 2023-04-24 11:49:24 +02:00
Guilhem Fauré
744b10538f removed tools from requirements 2023-04-24 11:39:41 +02:00
Guilhem Fauré
a178477195 conditional sections 2023-04-21 17:14:42 +02:00
Guilhem Fauré
a45a67b30b handle every non-cryptic metadata that doesn’t need joins 2023-04-21 17:03:20 +02:00
Guilhem Fauré
18ac8d2047 ignore anything that contains ignore 2023-04-21 16:06:16 +02:00
Guilhem Fauré
7d57ee60fb clean 2023-04-21 16:01:45 +02:00
Guilhem Fauré
3cc9b22a58 black formatting 2023-04-21 15:58:29 +02:00
Guilhem Fauré
054cca20f7 tooling 2023-04-21 15:53:39 +02:00
Guilhem Fauré
b6d5640411 use Peewee ORM to modelize DB + use external CONFIG file 2023-04-21 15:07:49 +02:00
Guilhem Fauré
c62c516541 export to bundles of articles/index.md 2023-04-21 13:46:34 +02:00
Guilhem Fauré
b6097f336e fix name 2023-04-21 12:18:57 +02:00
Guilhem Fauré
3047c4aac1 init requirements.txt 2023-04-21 12:15:42 +02:00
Guilhem Fauré
a71bb809dc reorganization 2023-04-21 08:54:41 +00:00
Guilhem Fauré
92de47d8cd started modularization 2023-04-21 08:29:43 +00:00
Guilhem Fauré
c91c5396fd h1 convert 2023-04-21 07:55:14 +00:00
Guilhem Fauré
88b448eb3c fix articles with the same name merged & slugification & pretty print of data prior to save files 2023-04-21 07:52:51 +00:00
Guilhem Fauré
6c880668c7 Unnamed update 2023-04-20 15:22:21 +00:00
Guilhem Fauré
7e1a4cfdd7 parametric number of output articles 2023-04-20 15:22:03 +00:00
Guilhem Fauré
dbf7a53cde clean inside python script 2023-04-20 17:02:14 +02:00
Guilhem Fauré
2c81d05d7d clean.sh 2023-04-19 11:22:18 +02:00
Guilhem Fauré
5d1d9a90ff readme 2023-04-18 11:38:48 +02:00
Guilhem Fauré
afff6ad230 basic export script working 2023-04-17 12:06:27 +02:00
Guilhem Fauré
33348200af AUTO COMMIT 2023-04-14 11:58:23 +02:00
Guilhem Fauré
9bde8559bc AUTO COMMIT 2023-04-14 11:58:02 +02:00
Guilhem Fauré
9d13855277 AUTO COMMIT 2023-04-14 11:32:10 +02:00