Commit Graph

354 Commits

Author SHA1 Message Date
Stéphane Goetz
d08393fbe5 Fix piwik check 2020-02-07 22:51:21 +01:00
Stéphane Goetz
f268f889a4 Fix PHP 7.4 warnings #189 2020-02-07 22:38:28 +01:00
Stéphane Goetz
d55a615654 Remove search option, can be changed in json easily or with --value 2020-02-07 22:15:38 +01:00
proggeler
40e7b83b50 #185: fixed fatal error whilst generating html 2020-01-16 16:06:49 +01:00
Stéphane Goetz
3276d4b611
Fix an edge case in sorting 2020-01-08 08:43:02 +01:00
Stéphane Goetz
437a52e90e
path can be null in case of generated pages 2020-01-08 08:17:33 +01:00
Stéphane Goetz
13377c5ba6 Fix nesting level too deep error #182 2019-12-29 22:40:34 +01:00
Stéphane Goetz
0966f90b2c only transliterate if the function exists 2019-12-29 20:54:17 +01:00
Stéphane Goetz
695d2db311 Use transliteration for slug #183 2019-12-29 20:41:13 +01:00
Stéphane Goetz
01c97c64c7 Fix generation issue, update dependencies 2019-12-09 19:21:16 +01:00
Stéphane Goetz
ac60948fab Other Scrutinizer fixes 2019-12-07 16:32:38 +01:00
Stéphane Goetz
8215808282 Fix scrutinizer hints 2019-12-07 11:22:40 +01:00
Stéphane Goetz
b5633e93c7 #171 Redo the configuration layer to add a ConfigBuilder and group configuration parts 2019-12-05 21:25:58 +01:00
Stéphane Goetz
688de1d5b9 Fix warnings and errors reported by Scrutinizer 2019-11-30 22:24:10 +01:00
Stéphane Goetz
abaf36bec6 Lazy load CommonMark converter, speeds up generation in serve mode when file is cached (~ -10ms) 2019-11-30 21:46:58 +01:00
Stéphane Goetz
727c5c015e Add custom image renderer to fix relative links to images #78 2019-11-30 20:40:42 +01:00
Stéphane Goetz
780b224175 fix small oopsies 2019-11-28 23:41:53 +01:00
Stéphane Goetz
13be180582 Fix lots of scrutinizer warnings, remove Travis 2019-11-28 23:32:33 +01:00
Stéphane Goetz
4c7f3816f8 Fix small issues 2019-11-28 22:41:53 +01:00
Stéphane Goetz
e04335abeb Update dependencies, min PHP 7.2 2019-11-28 22:36:26 +01:00
Stéphane Goetz
f62b2bec96 Output logs from serve in verbose mode #171 2019-11-26 22:43:12 +01:00
Stéphane Goetz
98acc7323f Fix bug reported in #169 2019-11-26 22:08:18 +01:00
Stéphane Goetz
e796fad862 rename _libraries to daux_libraries and _search_index to daux_search_index otherwise github pages makes the files invisible 2019-09-23 22:10:07 +02:00
Stéphane Goetz
d02b46e883 Fine tune menus 2019-09-22 21:42:03 +02:00
Stéphane Goetz
92db87e00d Add server side highlighting, fixes #139 2019-09-20 23:20:49 +02:00
Stéphane Goetz
57b3848430 Move search to _libraries 2019-09-20 23:20:05 +02:00
Stéphane Goetz
b06009ebbd Compile daux's JavaScript. Lazy load Highlight.js 2019-09-20 23:15:45 +02:00
Stéphane Goetz
194110ea6d Replace tipuesearch's jQuery with a mix of JS and preact 2019-09-18 23:16:35 +02:00
Stéphane Goetz
6cce90f2de Allow to specify template to use in attributes 2019-09-05 23:18:51 +02:00
J. King
1ba6f269bf Fix notice 2019-08-22 20:03:12 +02:00
Stéphane Goetz
61eaad45e2 #121 Add tests to make sure it doesn't break again 2019-08-08 14:14:56 +02:00
DragoonBoots
a17b3d7e5e Fix Mime type guessing 2019-08-08 11:39:39 +02:00
Alexander Overvoorde
dbfb4cf70d Fix directories with unicode characters not being supported 2019-07-09 21:16:05 +02:00
Stéphane Goetz
5d2d19141c Sanitize filenames for usage in urls, fixes #86 2019-05-28 21:26:27 +02:00
Stéphane Goetz
d02ebe093b
Fix missing variable 2019-04-29 14:36:22 +02:00
Tim Gerundt
c8232b612d Global language get ignored
If a page has no language configured, the global language setting get ignored.
2018-10-15 10:11:23 +02:00
Stéphane Goetz
f75c5597d9
Replace deprecated call 2018-10-04 08:18:23 +02:00
Stéphane Goetz
ba097a9be0
Merge pull request #69 from enricobono/translate-framework-on-shown-content
Translate framework based on shown content
2018-09-27 14:05:22 +02:00
enrico
0d72c5a056 Use the page language for the framework translation 2018-09-27 10:13:43 +02:00
Stéphane Goetz
b05010fd00 Update dependencies 2018-09-26 21:38:07 +02:00
Stéphane Goetz
4e0e81cb29 Fix single page generation, make internal links work correctly 2018-09-21 23:43:06 +02:00
Stéphane Goetz
851bad3ada Be more user friendly if the format is incorrect 2018-09-21 23:41:49 +02:00
Stéphane Goetz
098b566496 small changes 2018-09-21 22:12:07 +02:00
Stéphane Goetz
d93ad8c6b1 Add translation of modified_at time, using php-intl 2018-09-21 22:12:07 +02:00
Marie P-W
ac4bb09d45 Fix TOC template rendering
TOC renderer only takes default template into account. 
Adding `theme::` fix it, it will use `theme` folder if there is one.
2018-09-21 16:29:46 +02:00
Stéphane Goetz
6b6a010261 Remove default command, fixes #60 2018-09-20 20:41:25 +02:00
Stéphane Goetz
cfc3be0b32 Remove HHVM specific code 2018-09-20 20:17:51 +02:00
Morgan Zolob
7928b4365b Allow Daux to work from sub-directories
If you try to host Daux from any directory other than the root of a website (like mysite.com/docs, for example), it just gives an error that the page can't be found. This commit will make Daux remove the base directory from the request when handling it, which should make it work properly in sub-directories.
2018-09-20 20:14:43 +02:00
Romain Cambier
2093eee156
Changed Server.php to be able to run on symfony 4.0+ 2018-08-13 08:42:14 +02:00
Stéphane Goetz
ba8658d706 Fix cache, add clear-cache command 2018-06-07 20:40:38 +02:00