Commit Graph

60 Commits

Author SHA1 Message Date
Stéphane Goetz
65f0679d7a Fix formatting 2018-05-05 18:16:24 +02:00
catroll
83464a80e9 fix: "PHP Notice: Uninitialized string offset: 0 in ..." 2018-03-21 16:11:53 +08:00
Stéphane Goetz
d1c7b27563 Add support for + at the beginning, fixes #18 2017-11-08 21:49:30 +01:00
Stéphane Goetz
c0016c759a More refactoring 2017-11-07 22:44:27 +01:00
Stéphane Goetz
5a24c48788 Add documentation in some places 2017-06-07 23:40:12 +02:00
Stéphane Goetz
6b5d395ca3 Lazy load all content, keep it off the memory.
fixes #443
2017-06-06 23:16:45 +02:00
Stéphane Goetz
ea61ca0210 Fix homepage title when auto_landing is disabled fixes #456 2017-05-16 23:17:06 +02:00
Stéphane Goetz
e831e75958 Use a more reliable way to detect the current page, fixes #420 2017-01-09 18:29:52 +01:00
onigoetz
5b75fd0d10 Applied fixes from StyleCI 2016-09-26 20:54:26 +02:00
Stéphane Goetz
e9cd1e3c27 Remove ribbon, add "Edit on Github" links, fixes #398 2016-08-17 00:18:34 +02:00
Stéphane Goetz
8ac4137007 Show broken links in red, external link with an arrow. fixes #395 2016-08-16 23:25:06 +02:00
Stéphane Goetz
647c0beb3b Fix the URL Generator for inherit_index, fixes #381 2016-08-02 23:39:57 +02:00
onigoetz
6d871c3f62 Applied fixes from StyleCI 2016-07-29 23:21:19 +02:00
Stéphane Goetz
948f2aaa39 Fix bugs reported by scrutinizer 2016-07-29 22:38:03 +02:00
Stéphane Goetz
64edc31122 Support BOM at the beginning of content, fixes #372 2016-07-29 21:56:10 +02:00
Stéphane Goetz
97c4014926 Fix the way front matter is handled, fixes #345 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
c1dd70748f Add the ability to do relative links in documentations 2016-07-29 21:56:09 +02:00
Stéphane Goetz
d25a001325 Fix front matter gathering, was very eager on some cases 2016-04-28 23:33:26 +02:00
Stéphane Goetz
b1964a7c37 Add computed raw pages, to create special content at any time 2016-01-31 12:00:29 +01:00
Stéphane Goetz
8e065982c5 Small tweaks 2016-01-31 11:59:35 +01:00
Stéphane Goetz
ef5dc8ea52 Add missing . on getOrCreate 2016-01-25 14:47:13 +01:00
Stéphane Goetz
93330e86db Add metadata support, fixes #210 2015-11-11 00:09:47 +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
6e38c56a12 First unit tests & TDD Refactoring 2015-10-28 00:01:41 +01:00
Stéphane Goetz
9c16b666f7 Fix bug on PHP 5.4 and document the minimum version 2015-10-21 21:41:42 +02:00
Stéphane Goetz
d02ac85697 Fix code style 2015-08-16 22:26:00 +02:00
Stéphane Goetz
a7aff213de Disable inherit_index in generated mode 2015-08-16 22:24:49 +02:00
Stéphane Goetz
db520e36e6 Use DirectoryIterator to build the tree 2015-08-16 21:19:55 +02:00
Stéphane Goetz
dc1965a2e7 Improve windows support, fixes #264, #298 and #307 2015-08-15 16:31:36 +02:00
Stéphane Goetz
2f5abb8488 Make sure the entries that just have a number work correctly 2015-08-04 22:40:24 +02:00
Stéphane Goetz
b1eaa506b2 Code Style 2015-08-04 22:29:26 +02:00
David Hunt
551e03dc93 Merge remote branch 'upstream/development' into development 2015-07-30 17:44:11 -04:00
Stéphane Goetz
651f860222 Improve the builder to support file extension, for contentTypes 2015-07-29 22:39:19 +02:00
Stéphane Goetz
386f323dd0 Hide directories that have no content 2015-07-29 08:30:41 +02:00
David Hunt
1e1f261ea9 Patch duplicate call to seekFirstPage during recursive search. 2015-07-27 18:42:33 -04:00
David Hunt
7a01df7ea9 Added the inherit_index feature for routing requests to directories without a valid index defined. 2015-07-21 14:34:21 -04:00
Stéphane Goetz
12739c2044 Small fixes in url generations 2015-07-21 09:51:55 +02:00
Stéphane Goetz
061ea5ea55 Code Style and refactorings 2015-07-20 20:51:49 +02:00
Stéphane Goetz
c00dfac001 Change configuration format 2015-07-20 20:51:48 +02:00
Stéphane Goetz
d531de86cf Cleaned getFirstPage a bit 2015-07-20 20:51:48 +02:00
Stéphane Goetz
bb3a3408fd Bugfix in the path rebase from the HTML Generator 2015-07-20 20:51:42 +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
7dc7c045d4 Bugfixes 2015-07-20 20:51:32 +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
71d1041cb8 Refactor getFirstPage 2015-07-20 20:51:32 +02:00