Commit Graph

323 Commits

Author SHA1 Message Date
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
Stéphane Goetz
bed4d204ca Create a "daux" binary
Refactored Daux a bit to allow generating documentation from working directory
2016-07-29 08:02:34 +02:00
onigoetz
029d6cf332 Applied fixes from StyleCI 2016-07-29 08:02:34 +02:00
Stéphane Goetz
4c98140329 Add the ability to do relative links in documentations 2016-07-29 08:02:34 +02:00
Stéphane Goetz
3ae2662662 Remove Bootstrap and simplify styles 2016-07-29 08:02:34 +02:00
Sam Hermans
73f9f30e9f realpath returns the canonicalized absolute pathname 2016-07-28 11:18:24 +03:00
Sam Hermans
e132a102d8 Dont set theme-variant if there is none 2016-07-28 10:59:54 +03:00
Stéphane Goetz
38e939c848 Fix deepclone, generation and file loading bugs 2016-05-01 20:56:23 +02:00
Stéphane Goetz
d25a001325 Fix front matter gathering, was very eager on some cases 2016-04-28 23:33:26 +02:00
Stéphane Goetz
ab490bd156 Fix errors introduced by the guzzle 6 update fixes #362 2016-04-15 10:43:44 +02:00
Stéphane Goetz
9adf934e32 Create latest daux.phar 2016-04-14 21:29:03 +02:00
Stéphane Goetz
a2f5d89201 Merge branch 'master' into development
* master:
  Adjust API to work with Guzzle 6
  Change guzzle version to ~6.0
  Added docs to explain how to use markdown to display images

# Conflicts:
#	composer.lock
2016-04-14 21:28:52 +02:00
Stéphane Goetz
2c3042a2f3 Create latest daux.phar 2016-04-14 12:13:53 +02:00
Stéphane Goetz
76d10a9fe5 Small tweaks 2016-04-14 12:03:46 +02:00
Stéphane Goetz
40a59106fd Add the ability to put an information message at the top of a confluence page 2016-04-14 12:03:25 +02:00
Stéphane Goetz
d3f8d19f88 Finalize table of contents feature, also for confluence upload 2016-04-14 12:02:31 +02:00
Stéphane Goetz
fb7343c109 Merge branch 'development' of https://github.com/justinwalsh/daux.io into development
* 'development' of https://github.com/justinwalsh/daux.io:
  Add Table Of Contents feature
  Compile latest version
  Fix floating value read
  Improve toggle usability
  Generate can fall back to daux.phar, fixes #354
  Add an arrow to open sub-trees, fixes #277
  Updates
  Finalize search feature for merge
  Add `getPureContent` to Page to be able to get content without template
  Update the list of demos
  Fix dynamic website
  First checkin of search for static websites
  Compile latest version
  Add computed raw pages, to create special content at any time
  Small tweaks
2016-04-13 17:48:05 +02:00
Stéphane Goetz
b037a43e2d Add Table Of Contents feature 2016-04-12 08:38:52 +02:00
ayeo
fa38e68045 Adjust API to work with Guzzle 6 2016-04-09 16:42:46 +02:00
Stéphane Goetz
2bd1978f0e Add an arrow to open sub-trees, fixes #277 2016-04-02 13:39:04 +02:00
Stéphane Goetz
d4c78ae3f9 Finalize search feature for merge 2016-03-13 21:51:58 +01:00
Stéphane Goetz
55ef0b982b Add getPureContent to Page to be able to get content without template 2016-03-13 21:51:15 +01:00
djohnanderson
61388e1c51 First checkin of search for static websites 2016-02-15 12:14:48 -08:00
Stéphane Goetz
b1964a7c37 Add computed raw pages, to create special content at any time 2016-01-31 12:00:29 +01:00
Stéphane Goetz
8e065982c5 Small tweaks 2016-01-31 11:59:35 +01:00
Stéphane Goetz
de7b154351 [Confluence] Add options on the update_threshold, and ability to specify a root_id instead of ancestor_id 2016-01-26 12:00:07 +01:00
Stéphane Goetz
2bf64a9f14 Merge pull request #344 from Schiznitz/development
UTF8 Internal link support
2016-01-26 08:07:23 +01:00
Schiznitz
ae9bfe4844 UTF8 Internal link support
example:
[Hello CHS](!Examples/你好世界)
2016-01-26 14:35:29 +08:00
Stéphane Goetz
6f43467348 Avoid multiple uploads of the same file in confluence 2016-01-25 17:49:26 +01:00
Stéphane Goetz
5d6dc9a8b1 Take templates from inside .phar if dir doesn't exist 2016-01-25 16:10:13 +01:00
Stéphane Goetz
12c4a150e0 [Confluence] Delete pages that exist on confluence but not in the documentation 2016-01-25 14:48:37 +01:00
Stéphane Goetz
74b11f6c7b Stop publishing on duplicate page 2016-01-25 14:47:37 +01:00
Stéphane Goetz
ef5dc8ea52 Add missing . on getOrCreate 2016-01-25 14:47:13 +01:00
Stéphane Goetz
6111ca46fa Fix small typo in Server.php fixes #336 2016-01-07 22:20:00 +01:00
Stéphane Goetz
02ede2220e Add missing symfony/polyfill-mbstring to the compiled phar 2016-01-07 22:16:21 +01:00
Stéphane Goetz
0daa6d3148 Update dependencies 2016-01-07 21:31:43 +01:00
Stéphane Goetz
a3ebedb7e3 Add a way to disable the automatic landing page
fixes #338
2016-01-07 21:18:18 +01:00
Stéphane Goetz
93330e86db Add metadata support, fixes #210 2015-11-11 00:09:47 +01:00
Stéphane Goetz
295aee5f77 Create single-page HTML output, prepares the terrain for PDF/ePub output 2015-11-06 22:44:34 +01:00
Stéphane Goetz
18a34beac3 Add previous and next links to the pages, fixes #93 2015-10-28 00:18:29 +01:00
Stéphane Goetz
6e38c56a12 First unit tests & TDD Refactoring 2015-10-28 00:01:41 +01:00
Stéphane Goetz
b7983f101b Fix markup for image from external sources for Confluence 2015-10-27 16:03:58 +01:00
Stéphane Goetz
5ada801e6d Fix method signatures for confluence 2015-10-27 16:03:06 +01:00
Stéphane Goetz
d6e2eb5592 Do not send notification emails ... 2015-10-27 16:02:12 +01:00
Stéphane Goetz
d5af196ee6 Compile latest daux.phar 2015-10-22 19:51:55 +02:00