Commit grafiek

367 Commits

Auteur SHA1 Bericht Datum
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
Daniel Seifert 7e53ad4b4a Merge remote-tracking branch 'remotes/origin/d3version' 2018-09-07 13:01:00 +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
Daniel Seifert 146e527561 don't export templates and scss files 2018-07-20 22:11:16 +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
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 4c9cbed9da Send correct mimetype for ComputedRawPage in live mode 2017-03-01 10:54:38 +01:00
Stéphane Goetz 2b1bfbf52a Added a test for mailto: links 2017-01-23 23:28:56 +01:00
Karl Wiggisser 7fe42a752a fix for error with mailto links 2017-01-21 12:32:36 +01:00
Stéphane Goetz 97a4e73878 Fix multilanguage, make an example, fixes #416 2017-01-10 10:28:58 +01: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
Stéphane Goetz 83fde0ceaf Fix the TOC for unicode characters, fixes #423 2017-01-09 17:35:13 +01:00
Stéphane Goetz be6438aca5 Fix automatic table of contents, fixes #421 2016-11-18 10:03:21 +01:00
Stéphane Goetz e5c7747884 Allow to use Processors through the new CLI 2016-11-17 17:02:12 +01:00
Stéphane Goetz 2d451be104 Handle default command arguments, fixes #409 2016-09-30 23:10:17 +02:00
Stéphane Goetz 4cdb7f6fd1 Add a way to support any platform for the "Edit On" feature, fixes #413 2016-09-30 22:24:33 +02:00
onigoetz 5b75fd0d10 Applied fixes from StyleCI 2016-09-26 20:54:26 +02:00
Stéphane Goetz f63456cbc8 Add option to specify themes directory 2016-09-21 23:30:01 +02:00
Stéphane Goetz 14b50c7c45 Handle absolute paths, fixes #407 2016-09-21 23:10:10 +02:00
Stéphane Goetz f8806b18b7 Merge branch 'master' of https://github.com/eteeselink/daux.io into development
* 'master' of https://github.com/eteeselink/daux.io:
  Add support for anchors on internal links

# Conflicts:
#	libs/ContentTypes/Markdown/LinkRenderer.php
2016-09-21 21:49:55 +02:00
Stéphane Goetz 519e85b5dc Add a confluence configuration checker. Allow configuration overrides on daux command 2016-09-15 17:20:24 +02:00
Stéphane Goetz a40769b48a Fix confluence links bug 2016-09-15 00:49:48 +02:00
Stéphane Goetz aa4ad02b46 Handle custom themes on serve fixes #396 2016-09-12 23:58:58 +02:00
Stéphane Goetz 7ee564c667 Allow for custom themes on `generate` with global installation, partly fixes #396 2016-09-06 23:11:32 +02:00
Egbert Teeselink 047610f314 Add support for anchors on internal links 2016-08-25 23:15:15 +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 67c5fa2f7e Read legacy "inherit_index" value correctly 2016-08-04 22:10:36 +02:00
Stéphane Goetz 647c0beb3b Fix the URL Generator for inherit_index, fixes #381 2016-08-02 23:39:57 +02:00
Stéphane Goetz c450903b3a Added a bit of documentation 2016-07-29 23:46:57 +02:00
Stéphane Goetz a6783d41e8 Code Style fix 2016-07-29 23:28:45 +02:00
Stéphane Goetz 6f66600fbd Fix the fix 2016-07-29 23:25:43 +02:00
onigoetz 6d871c3f62 Applied fixes from StyleCI 2016-07-29 23:21:19 +02:00
Stéphane Goetz 2081acc3c5 Document the new command line tool 2016-07-29 23:20:01 +02:00
Stéphane Goetz 08a5fc3f56 Compiling latest .phar 2016-07-29 22:46:48 +02:00
Stéphane Goetz 948f2aaa39 Fix bugs reported by scrutinizer 2016-07-29 22:38:03 +02:00
Stéphane Goetz fb5fb41e96 Merge branch 'development'
* development:
  Add a refrence to themes_path
  realpath returns the canonicalized absolute pathname
  Dont set theme-variant if there is none
  Add Vulkan Tutorial to list of sites using the framework
  Fix autoloading and prioritize getting it as a dependency
  Change the way the commands are declare, separate "generate" and "serve"
  Support BOM at the beginning of content, fixes #372
  Applied fixes from StyleCI
  Add the daux --serve command to simplify writing documentation and reading.
  Fix the way front matter is handled, fixes #345
  Create a "daux" binary
  Add badges and code coverage
  Mark as non compatible with PHP 5.4
  Applied fixes from StyleCI
  Added .travis.yml file
  Build latest phar
  Add the ability to do relative links in documentations
  Compile latest version
  Minify files
  Remove Bootstrap and simplify styles

# Conflicts:
#	libs/DauxHelper.php
#	libs/bootstrap.php
2016-07-29 22:00:43 +02:00
Stéphane Goetz 341ec96cf8 Change the way the commands are declare, separate "generate" and "serve" 2016-07-29 21:56:10 +02:00
Stéphane Goetz 64edc31122 Support BOM at the beginning of content, fixes #372 2016-07-29 21:56:10 +02:00
onigoetz f7b47a6c19 Applied fixes from StyleCI 2016-07-29 21:56:10 +02:00
Stéphane Goetz 18e10cacc8 Add the daux --serve command to simplify writing documentation and reading. 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 05a39eeeff Remove Bootstrap and simplify styles 2016-07-29 21:56:09 +02:00
Stéphane Goetz f4cfa35c59 Merge branch 'master' into development
* master:
  Add a refrence to themes_path
  realpath returns the canonicalized absolute pathname
  Dont set theme-variant if there is none
  Add Vulkan Tutorial to list of sites using the framework
2016-07-29 21:53:29 +02:00
Sam Hermans 9f3a31aeab realpath returns the canonicalized absolute pathname 2016-07-29 21:52:26 +02:00
Sam Hermans 15c4da62d9 Dont set theme-variant if there is none 2016-07-29 21:52:26 +02:00
Stéphane Goetz b9d99d1388 Fix autoloading and prioritize getting it as a dependency 2016-07-29 08:55:08 +02:00
Stéphane Goetz 06f0945cab Change the way the commands are declare, separate "generate" and "serve" 2016-07-29 08:02:35 +02:00
Stéphane Goetz 77d7989f3b Support BOM at the beginning of content, fixes #372 2016-07-29 08:02:35 +02:00
onigoetz 68a91159e6 Applied fixes from StyleCI 2016-07-29 08:02:35 +02:00
Stéphane Goetz ec775de695 Add the daux --serve command to simplify writing documentation and reading. 2016-07-29 08:02:35 +02:00
Stéphane Goetz b090571e4b Fix the way front matter is handled, fixes #345 2016-07-29 08:02:35 +02:00