Skip to content

lejmr/dokuwiki-plugin-drawio

Repository files navigation

Draw.io Plugin for DokuWiki

Automatically generated documentation (I guess the DokuWiki community likes this form of documentation)

Draw.io integration

All documentation for this plugin can be found at
https://www.dokuwiki.org/plugin:drawio and https://github.com/lejmr/dokuwiki-plugin-drawio

If you install this plugin manually, make sure it is installed in
lib/plugins/drawio/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info
on how to install plugins in DokuWiki.

----
Copyright (C) Milos Kozak <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the LICENSING file for details

Before you open a PR or an Issue

I am very grateful for all contribution, but before you open a PR or an Issue please make sure your contribution works. Very important aspect of all contributions is that they are solving problem that anybody can have not that you are solving your particular problem which you do not want to support on your own, so you rather choose to dump it over to the upstream repository. I am sorry I am not keen to support your technical dept. When you are opening an issue for a missing functionality, please reconcile whether are you willing to implement the feauture or not. Don't get it that you must implement it all the time, sometimes you have a great idea that should be implemented, but you don't have the right skill-set. In such a case open an issue and detail the feature, so that the feature can be reviewed and implemented by somebody else. In special cases I can commit to implement it. Generally, this is a non-profit area for me, so please do not expect I am going to be implementing anything for free.

Regarding to bugs. I prefer pull-requests rather than issues, as I am not going to be fixing any bug unless the bug is breaking my personal wiki page.

I am using labels for Issue for the ones that I would like to be implemented by somebody else. The un-labeled issues became stale or removed.

Roadmap

This project is completely OpenSource and maintained in my free time, so I can NOT provide any ETA when certain functionality is implemented. The future tasks i would like to be working on are labeled as enhacement in the Issues page of this project: Enhancements

I will be extremelly happy if I receive any pull request with a bug fix or a new feature.

How to extend this plugin?

In order to make the development as simple as possible, I prepared a Docker compose file. Using the docker-compose command one can simply start its development environment locally.

This is how to start local development server:

docker-compose up

Wait until server is started, and feel free to login using superuser:password credentials and go on and develop. The development server is available at address http://localhost:8080

SVG support related notes

In order to enable svg drawing support make sure:

  • You have installed svgEmbed Plugin
  • You enabled svg extension in DokuWiki's Draw.io configuration
  • You added svg image/svg+xml line to conf/mime.local.conf