Commit Graph

317 Commits

Author SHA1 Message Date
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
Stéphane Goetz
91014cef8b Manage table of contents differently 2017-12-11 21:14:18 +01:00
Stéphane Goetz
e844b51f10 Fix Mime Types - fix CLI param 2017-12-08 16:29:44 +01:00
Stéphane Goetz
70d15cc0ec fix usages of iconv 2017-11-08 21:51:01 +01:00
Stéphane Goetz
d1c7b27563 Add support for + at the beginning, fixes #18 2017-11-08 21:49:30 +01:00
Stéphane Goetz
d898eb6edf Fix json output for search index, fixes #21 2017-11-08 00:01:08 +01:00
Stéphane Goetz
837fca6886 Small refactoring and documentation fix 2017-11-07 23:17:05 +01:00
Stéphane Goetz
def4b5ed98
Merge pull request #22 from gerundt/meta-tags
Add `description`, `keywords` and `author` to Front Matter (fix #20)
2017-11-08 00:08:27 +02:00
Stéphane Goetz
52ce3714cf More cleanup 2017-11-07 22:54:31 +01:00
Stéphane Goetz
c0016c759a More refactoring 2017-11-07 22:44:27 +01:00
Tim Gerundt
0e516797c3 Add description, keywords and author to Front Matter (fix #20) 2017-11-07 22:39:34 +01:00
Stéphane Goetz
f281169871 Cleanup publisher 2017-11-07 22:08:30 +01:00
Stéphane Goetz
e3a89832c5 Only list deletable pages if there are any 2017-11-06 23:32:41 +01:00
Stéphane Goetz
e5ee061ddd Don't upload attachments if they are already uploaded and have the same size 2017-11-06 23:20:42 +01:00
Stéphane Goetz
59b8c04161 Confluences bugfixes, Fix documentation
Make it easier to spot where an error comes from when uploading to confluence.
Allow to upload documentation without a prefix.
2017-11-06 22:46:07 +01:00
Stéphane Goetz
8e7340da3d Allow to set configuration values directly in the command line 2017-11-05 23:56:46 +01:00
Stéphane Goetz
a1a65bb9f0 Support translations for the UI, fixes #1 2017-10-19 22:18:46 +02:00
Stéphane Goetz
0d3e366277 Remove daux.phar 2017-10-18 21:15:35 +02:00
Stéphane Goetz
0758366430 Rely on symfony's HttpFoundation to handle requests. Fixes weird bugs 2017-06-08 23:07:18 +02:00
Stéphane Goetz
5a24c48788 Add documentation in some places 2017-06-07 23:40:12 +02:00
Stéphane Goetz
fa91642a34 Merge branch 'development'
* development:
  Fix image embedding for confluence, fixes #439
  Update dependencies
  Send correct mimetype for ComputedRawPage in live mode
  Compile theme, a bug put back the old theme
  Tweak theme and search
2017-06-07 20:50:47 +02:00
Stéphane Goetz
a0a8cbcfae Fix image embedding for confluence, fixes #439 2017-06-06 23:35:49 +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
885cc1f5ee Fix TOC links that are escaped, also handle uniqueness, fixes #461 2017-05-18 23:43:02 +02:00