8
0
Commit graph

47 Commits

Autor SHA1 Nachricht Datum
Stéphane Goetz
14b50c7c45 Handle absolute paths, fixes #407 2016-09-21 23:10:10 +02:00
Stéphane Goetz
519e85b5dc Add a confluence configuration checker. Allow configuration overrides on daux command 2016-09-15 17:20:24 +02:00
Stéphane Goetz
aa4ad02b46 Handle custom themes on serve fixes #396 2016-09-12 23:58:58 +02:00
Stéphane Goetz
7ee564c667 Allow for custom themes on generate with global installation, partly fixes #396 2016-09-06 23:11:32 +02:00
Stéphane Goetz
948f2aaa39 Fix bugs reported by scrutinizer 2016-07-29 22:38:03 +02:00
onigoetz
f7b47a6c19 Applied fixes from StyleCI 2016-07-29 21:56:10 +02:00
Stéphane Goetz
18e10cacc8 Add the daux --serve command to simplify writing documentation and reading. 2016-07-29 21:56:10 +02:00
Stéphane Goetz
3375f8ff2b Create a "daux" binary
Refactored Daux a bit to allow generating documentation from working directory
2016-07-29 21:56:10 +02:00
onigoetz
2314516ce9 Applied fixes from StyleCI 2016-07-29 21:56:09 +02:00
Stéphane Goetz
8e065982c5 Small tweaks 2016-01-31 11:59:35 +01:00
Stéphane Goetz
295aee5f77 Create single-page HTML output, prepares the terrain for PDF/ePub output 2015-11-06 22:44:34 +01:00
Stéphane Goetz
18a34beac3 Add previous and next links to the pages, fixes #93 2015-10-28 00:18:29 +01:00
Stéphane Goetz
cee589fbad Merge branch 'dev_template_refactor' of https://github.com/holodyn/daux.io into holodyn-dev_template_refactor
# By David Hunt
# Via David Hunt
* 'dev_template_refactor' of https://github.com/holodyn/daux.io:
  Updated libs to use /templates and /themes/{theme}/templates Renamed /themes/core to /themes/daux Updated /themes/{theme}/less/theme.less to allow for bootstrap overrides Added /themes/daux/less/theme.less to allow daux to function as theme - used daux-navy colors Moved fonts from themes variants into /themes/daux/fonts
  Refactored /templates and /resources into a single /themes folder.

# Conflicts:
#	libs/Daux.php
2015-08-09 21:29:23 +02:00
David Hunt
f9d87c5c71 Updated libs to use /templates and /themes/{theme}/templates
Renamed /themes/core to /themes/daux
Updated /themes/{theme}/less/theme.less to allow for bootstrap overrides
Added /themes/daux/less/theme.less to allow daux to function as theme - used daux-navy colors
Moved fonts from themes variants into /themes/daux/fonts
2015-08-06 16:47:38 -04:00
David Hunt
fca2b4dc6a Refactored /templates and /resources into a single /themes folder. 2015-07-31 11:54:02 -04:00
Stéphane Goetz
d2b45a845f Pass the original node on generation 2015-07-31 12:53:22 +02:00
Stéphane Goetz
e543a107b1 Extract ContentType from format 2015-07-29 22:31:41 +02:00
Stéphane Goetz
114a0f29b7 Be able to set the source directory on command line 2015-07-28 17:26:35 +02:00
Stéphane Goetz
b5ce4f1d79 Added a content type system to be able to extend the conversion mechanism 2015-07-28 17:25:03 +02:00
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