Commit Graph

28 Commits

Author SHA1 Message Date
Stéphane Goetz 061ea5ea55 Code Style and refactorings 2015-07-20 20:51:49 +02:00
Stéphane Goetz f903b0060c Fix index pages detection in live mode 2015-07-20 20:51:48 +02:00
Stéphane Goetz d921c412b5 Add format and processor as configuration options for live mode 2015-07-20 20:51:48 +02:00
Stéphane Goetz c00dfac001 Change configuration format 2015-07-20 20:51:48 +02:00
Stéphane Goetz f757e88040 Fixed base url problems in live mode 2015-07-20 20:51:48 +02:00
Stéphane Goetz e3a3438ccd Improve processors
Now you can add generators and extend the markdown parser
2015-07-20 20:51:48 +02:00
Stéphane Goetz a13469047a Move getIndexPage and getFirstPage to Directory 2015-07-20 20:51:41 +02:00
Stéphane Goetz e87c86d9aa Added documentation 2015-07-20 20:51:41 +02:00
Stéphane Goetz aa5602a0fb Refactor the tree system
Each element of the tree now only has one parent, not a parent array.

- Creating an elements doesn't necessarily rely on an existing file
- Moving elements unregisters elements from the previous parent
- Moved some helpers to the builder instead of Entry
2015-07-20 20:51:32 +02:00
Stéphane Goetz 3235c49acd Refactor to not use ->value in the tree 2015-07-20 20:51:32 +02:00
Stéphane Goetz 4f8d817365 Code Style and documentation 2015-07-20 20:51:13 +02:00
Stéphane Goetz e7afd9aa28 Add a more advanced processor system 2015-07-20 20:51:12 +02:00
Stéphane Goetz 4f33394c77 Compile archive to phar 2015-07-20 20:50:49 +02:00
Stéphane Goetz 60b50919b4 Remove "default.json" concentrate all configurations in "global.json"
Set configurations in an Object instead of an array
2015-07-20 20:49:19 +02:00
Stéphane Goetz 63d6b17ec4 Bugfixes related to themes and Commonmark migration 2015-07-20 20:49:19 +02:00
Stéphane Goetz 1fe3e62df3 Improve confluence export
Migrate from Parsedown to Commonmark
2015-07-20 20:49:19 +02:00
Stéphane Goetz fa798ff1e4 Bugfixes 2015-07-20 20:49:19 +02:00
Stéphane Goetz 90dbdb4f0b Create a notion of Export format, prepare for multiple generation systems 2015-07-20 20:49:15 +02:00
Stéphane Goetz 3e374c7585 Fix server, now returns files that are in the `docs` folder 2015-07-20 20:49:14 +02:00
Stéphane Goetz f3d472363d Cleanup 2015-07-20 20:49:14 +02:00
Stéphane Goetz 6edd4ce477 Fix static reference to theme in generated documentation 2015-07-20 20:49:09 +02:00
Stéphane Goetz 52b679b33f New templating system 2015-07-20 20:49:09 +02:00
Stéphane Goetz de1214cbab Convert to PSR2 2015-07-20 20:49:09 +02:00
Stéphane Goetz ecd5efe758 Extract tree builder
Add related files directly in the documentation
2015-07-20 20:49:09 +02:00
Stéphane Goetz 2c228273fb Simplify `configure_theme` and `get_theme` 2015-07-20 20:49:09 +02:00
Stéphane Goetz c79c692042 Separate generator and server 2015-07-20 20:49:09 +02:00
Stéphane Goetz 90027b2a0e Convention over configuration for themes 2015-07-20 20:49:09 +02:00
Stéphane Goetz 7cdc97b58a Use PSR-4 and limit to PHP 5.4 as a minimum 2015-07-20 20:49:03 +02:00