Commit Graph

749 Commits

Author SHA1 Message Date
Stéphane Goetz
97f6175f1c Fine tune configuration 2019-03-04 10:26:38 +01:00
Stéphane Goetz
5af4b2398f Update dependencies 2019-03-04 10:17:00 +01:00
Gereon Frey
5f616782fd Fix file permissions
Using the user's uid and gid in the container prevents the output files
to belong to root.
2019-02-25 08:06:45 +01:00
Gereon Frey
59fa9fb3ab Optimize Dockerfile
This change will only copy the `compose.{json|lock}` files prior to
installing the dependencies. This improves container image build time
when only code changed, as it facilitates image caching.
2019-02-25 08:06:45 +01:00
Gereon Frey
63c336039b Use debian instead of alpine
This is related to issues with iconv on alpine linux (see [1]). I
noticed that the content file `tipuesearch_content.json` didn't contain
the sanitized text, but only the boolean `false`. I tracked it down to
the `iconv` call. After migration to the debian docker image it is
working fine. Build was started using `docker run --rm -it -w /build -v
"$PWD":/build daux/daux.io daux generate`.

[1] https://github.com/docker-library/php/issues/428
2019-02-25 08:06:45 +01:00
Stéphane Goetz
0c2032d5f9 Update dependencies 2018-11-30 21:09:46 +01: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
Tim Gerundt
b60772ac72 Translate new strings to German 2018-10-15 10:08:36 +02:00
Tim Gerundt
ad4f6c7c01 Update PHP Requirements in README.md 2018-10-12 09:06:10 +02:00
Stéphane Goetz
f75c5597d9
Replace deprecated call 2018-10-04 08:18:23 +02:00
Stéphane Goetz
7d8d5c86cf Search only in current language, fixes #48 2018-10-01 22:25:59 +02:00
Stéphane Goetz
10070f9b90 Separate documentation deployment 2018-09-30 11:06:28 +02:00
Stéphane Goetz
3e41b5142e Merge remote-tracking branch 'origin/master' 2018-09-30 11:01:45 +02:00
Stéphane Goetz
5acebc567f Update list of who uses Daux, fixes #70 2018-09-30 11:01:34 +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
2f0b298b50 Translate new strings into italian 2018-09-27 14:04:42 +02:00
enrico
091edbd7e8 Add italian translation to global.json 2018-09-27 14:04:42 +02:00
enrico
f5b7635013 Add italian translation to global.json 2018-09-27 14:04:42 +02:00
enrico
bd2b6d01b4 Add italian translation to global.json 2018-09-27 14:04:42 +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
enrico
2bf251201c Add italian translation to global.json 2018-09-26 15:01:00 +02:00
enrico
5da0aa8996 Add italian translation to global.json 2018-09-26 14:59:20 +02:00
Stéphane Goetz
d1089b114e Allow to translate search strings, Fixes #39 2018-09-23 20:38:06 +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
Stéphane Goetz
3982139892 Update npm dependencies 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
Stéphane Goetz
59a9dd5cf5
Merge pull request #59 from noraj/patch-1
add debian 8 composer path
2018-09-20 10:46:49 +02:00
Stéphane Goetz
434a9d7290
Merge pull request #64 from cambierr/master
Changed Server.php to be able to run on symfony 4.0+
2018-09-20 10:45:47 +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
Alexandre ZANNI
f171faf81e
add debian 8 composer path
not all linux distro have the same path
2018-06-22 15:24:07 +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
049e5cd498 Document how you can create a docker image with the documentation inside. Fixes #37 2018-06-05 22:40:38 +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
1e23b4ed90 and again :) 2018-05-05 17:43:23 +02:00
Stéphane Goetz
4b8a487b4f Let's try with other versions 2018-05-05 17:41:09 +02:00