Commit Graph

340 Commits

Author SHA1 Message Date
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
Stéphane Goetz 6a7dae3023 Fix regression introduced to fix #55 2018-06-06 23:37:26 +02:00
Stéphane Goetz 47a9565b23 Create cache for Markdown content. #51 2018-06-06 23:20:29 +02:00
Stéphane Goetz 4325008a5f Improve performance by calculating. Fixes #55 2018-06-06 21:10:06 +02:00
Stéphane Goetz 0570fb7971 Fix breadcrumb support of multiple folders with the same name. Fixes #54 2018-06-05 23:02:01 +02:00
Stéphane Goetz 7b665558af Use front matter of the index page to define folder's name. Fixes #27 2018-06-05 22:29:31 +02:00
Stéphane Goetz eb89664473 Keep numbers in raw files, as they aren't sorted anyway. Fixes #26 2018-06-05 21:28:54 +02:00
Stéphane Goetz 41c355edb1 Add more details on verbose output #52 2018-06-05 20:31:51 +02:00
Stéphane Goetz 29a8a8d9cc Allow to get version with -V / --version #53 2018-06-04 22:52:21 +02:00
Stéphane Goetz 65f0679d7a Fix formatting 2018-05-05 18:16:24 +02:00
Stéphane Goetz 5ab15752de fix getTerminalDimensions 2018-05-05 16:58:49 +02:00
catroll 83464a80e9 fix: "PHP Notice: Uninitialized string offset: 0 in ..." 2018-03-21 16:11:53 +08:00
Stéphane Goetz 2a3d513a40 Create a variables file to customize theme easily, lint CSS 2018-02-25 23:02:09 +01:00
Stéphane Goetz da522ba2d3 Repair single page documentation generator 2017-12-11 22:25:45 +01:00
Stéphane Goetz e12465b4de Fix unit tests 2017-12-11 22:02:20 +01:00