Skip to content

Commit 54f38fc

Browse files
committed
media: docs: move uAPI book to userspace-api/media
Since 2017, there is an space reserved for userspace API, created by changeset 1d596de ("docs: Create a user-space API guide"). As the media subsystem was one of the first subsystems to use Sphinx, until this patch, we were keeping things on a separate place. Let's just use the new location, as having all uAPI altogether will likely make things easier for developers. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 5dfb8db commit 54f38fc

464 files changed

Lines changed: 464 additions & 462 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/ABI/testing/debugfs-cec-error-inj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ when changes are made.
3737

3838
The following CEC error injection implementations exist:
3939

40-
- Documentation/media/uapi/cec/cec-pin-error-inj.rst
40+
- Documentation/userspace-api/media/cec/cec-pin-error-inj.rst

‎Documentation/Makefile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
5555
loop_cmd = $(echo-cmd) $(cmd_$(1)) || exit;
5656

5757
# $2 sphinx builder e.g. "html"
58-
# $3 name of the build subfolder / e.g. "media", used as:
58+
# $3 name of the build subfolder / e.g. "userspace-api/media", used as:
5959
# * dest folder relative to $(BUILDDIR) and
6060
# * cache folder relative to $(BUILDDIR)/.doctrees
61-
# $4 dest subfolder e.g. "man" for man pages at media/man
61+
# $4 dest subfolder e.g. "man" for man pages at userspace-api/media/man
6262
# $5 reST source folder relative to $(srctree)/$(src),
63-
# e.g. "media" for the linux-tv book-set at ./Documentation/media
63+
# e.g. "userspace-api/media" for the linux-tv book-set at ./Documentation/userspace-api/media
6464

6565
quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
66-
cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/media $2 && \
66+
cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media $2 && \
6767
PYTHONDONTWRITEBYTECODE=1 \
6868
BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
6969
$(PYTHON) $(srctree)/scripts/jobserver-exec \
@@ -120,7 +120,7 @@ refcheckdocs:
120120

121121
cleandocs:
122122
$(Q)rm -rf $(BUILDDIR)
123-
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/media clean
123+
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean
124124

125125
dochelp:
126126
@echo ' Linux kernel internal documentation in different formats from ReST:'

‎Documentation/doc-guide/parse-headers.rst‎

Lines changed: 1 addition & 1 deletion

‎Documentation/fb/api.rst‎

Lines changed: 2 additions & 2 deletions

‎Documentation/media/index.rst‎

Lines changed: 1 addition & 1 deletion

‎Documentation/translations/it_IT/doc-guide/parse-headers.rst‎

Lines changed: 1 addition & 1 deletion

Documentation/media/Makefile renamed to Documentation/userspace-api/media/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Rules to convert a .h file to inline RST documentation
44

5-
SRC_DIR=$(srctree)/Documentation/media
5+
SRC_DIR=$(srctree)/Documentation/userspace-api/media
66
PARSER = $(srctree)/Documentation/sphinx/parse-headers.pl
77
UAPI = $(srctree)/include/uapi/linux
88
KAPI = $(srctree)/include/linux
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)