summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-02 09:51:21 +0200
committerwm4 <wm4@nowhere>2016-09-02 09:53:11 +0200
commitc72df804604c8b7859af76d3503234725b501c96 (patch)
treed77d82d1f127aaff2fd7b2475afbbda912e16e36
parent907bf832970412a81cc3813ab07a634b116995c3 (diff)
downloadmpv-c72df804604c8b7859af76d3503234725b501c96.tar.bz2
mpv-c72df804604c8b7859af76d3503234725b501c96.tar.xz
DOCS: move libmpv stub to manpage
And replace the sort-of duplicated explanations. (It's a bit funny to use weblinks to the generated web version of itself instead of proper RST links, but I think I don't care.)
-rw-r--r--DOCS/libmpv-client-api.rst14
-rw-r--r--DOCS/man/libmpv.rst16
-rw-r--r--DOCS/man/mpv.rst9
3 files changed, 17 insertions, 22 deletions
diff --git a/DOCS/libmpv-client-api.rst b/DOCS/libmpv-client-api.rst
deleted file mode 100644
index eeb5fe0408..0000000000
--- a/DOCS/libmpv-client-api.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-Client API (libmpv) documentation and examples
-==============================================
-
-libmpv lets you embed mpv as a library. It is meant to enable development of
-GUI frontends.
-
-Since libmpv merely allows access to underlying mechanisms that can control
-mpv, documentation is spread over a few places:
-
-- https://github.com/mpv-player/mpv/blob/master/libmpv/client.h
-- http://mpv.io/manual/master/#options
-- http://mpv.io/manual/master/#list-of-input-commands
-- http://mpv.io/manual/master/#properties
-- https://github.com/mpv-player/mpv-examples/tree/master/libmpv
diff --git a/DOCS/man/libmpv.rst b/DOCS/man/libmpv.rst
new file mode 100644
index 0000000000..d3e78aa5bc
--- /dev/null
+++ b/DOCS/man/libmpv.rst
@@ -0,0 +1,16 @@
+EMBEDDING INTO OTHER PROGRAMS (LIBMPV)
+======================================
+
+mpv can be embedded into other programs as video/audio playback backend. The
+recommended way to do so is using libmpv. See ``libmpv/client.h`` in the mpv
+source code repository. This provides a C API. Bindings for other languages
+might be available (see wiki).
+
+Since libmpv merely allows access to underlying mechanisms that can control
+mpv, further documentation is spread over a few places:
+
+- https://github.com/mpv-player/mpv/blob/master/libmpv/client.h
+- http://mpv.io/manual/master/#options
+- http://mpv.io/manual/master/#list-of-input-commands
+- http://mpv.io/manual/master/#properties
+- https://github.com/mpv-player/mpv-examples/tree/master/libmpv
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 5a80319a78..bbfc6d4b7c 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -785,14 +785,7 @@ The profile always overrides other settings in ``mpv.conf``.
.. include:: changes.rst
-
-EMBEDDING INTO OTHER PROGRAMS (LIBMPV)
-======================================
-
-mpv can be embedded into other programs as video/audio playback backend. The
-recommended way to do so is using libmpv. See ``libmpv/client.h`` in the mpv
-source code repository. This provides a C API. Bindings for other languages
-might be available (see wiki).
+.. include:: libmpv.rst
ENVIRONMENT VARIABLES
=====================