[{"id":5,"web_url":"https://patchwork.libcamera.org/comment/5/","msgid":"<20181123131944.GD1158@bigcity.dyn.berto.se>","date":"2018-11-23T13:19:44","subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"content":"Hi Kieran,\n\nThanks for your patch.\n\nOn 2018-11-22 16:58:52 +0000, Kieran Bingham wrote:\n> Utilise sphinx-build to generate documentation in HTML form, and\n> populate with some initial content.\n> \n> An initial conf.py is generated from sphinx-quickstart and answering\n> initial questions.\n> \n> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> \n> ---\n> v2:\n>  - Fix spelling in hacking.rst\n>  - Remove autogenerated comments at index.rst\n>  - Fix whitespaces\n>  - Remove autogenerated Makefile\n>  - Fix typos and grammar\n> \n>  Documentation/conf.py     | 173 ++++++++++++++++++++++++++++++++++++++\n>  Documentation/hacking.rst |  42 +++++++++\n>  Documentation/index.rst   |  30 +++++++\n>  Documentation/meson.build |  20 +++++\n>  meson.build               |   6 ++\n>  5 files changed, 271 insertions(+)\n>  create mode 100644 Documentation/conf.py\n>  create mode 100644 Documentation/hacking.rst\n>  create mode 100644 Documentation/index.rst\n>  create mode 100644 Documentation/meson.build\n> \n> diff --git a/Documentation/conf.py b/Documentation/conf.py\n> new file mode 100644\n> index 000000000000..70d4e72c6902\n> --- /dev/null\n> +++ b/Documentation/conf.py\n> @@ -0,0 +1,173 @@\n> +# -*- coding: utf-8 -*-\n> +#\n> +# Configuration file for the Sphinx documentation builder.\n> +#\n> +# This file does only contain a selection of the most common options. For a\n> +# full list see the documentation:\n> +# http://www.sphinx-doc.org/en/master/config\n> +\n> +# -- Path setup --------------------------------------------------------------\n> +\n> +# If extensions (or modules to document with autodoc) are in another directory,\n> +# add these directories to sys.path here. If the directory is relative to the\n> +# documentation root, use os.path.abspath to make it absolute, like shown here.\n> +#\n> +# import os\n> +# import sys\n> +# sys.path.insert(0, os.path.abspath('.'))\n> +\n> +\n> +# -- Project information -----------------------------------------------------\n> +\n> +project = 'LibCamera'\n> +copyright = '2018, Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund'\n> +author = 'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund'\n\nMy pretty döts seems to me missing :-)\n\n> +\n> +# The short X.Y version\n> +version = ''\n> +# The full version, including alpha/beta/rc tags\n> +release = '0.1'\n> +\n> +\n> +# -- General configuration ---------------------------------------------------\n> +\n> +# If your documentation needs a minimal Sphinx version, state it here.\n> +#\n> +# needs_sphinx = '1.0'\n> +\n> +# Add any Sphinx extension module names here, as strings. They can be\n> +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n> +# ones.\n> +extensions = [\n> +]\n> +\n> +# Add any paths that contain templates here, relative to this directory.\n> +templates_path = ['_templates']\n> +\n> +# The suffix(es) of source filenames.\n> +# You can specify multiple suffix as a list of string:\n> +#\n> +# source_suffix = ['.rst', '.md']\n> +source_suffix = '.rst'\n> +\n> +# The master toctree document.\n> +master_doc = 'index'\n> +\n> +# The language for content autogenerated by Sphinx. Refer to documentation\n> +# for a list of supported languages.\n> +#\n> +# This is also used if you do content translation via gettext catalogs.\n> +# Usually you set \"language\" from the command line for these cases.\n> +language = None\n> +\n> +# List of patterns, relative to source directory, that match files and\n> +# directories to ignore when looking for source files.\n> +# This pattern also affects html_static_path and html_extra_path.\n> +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n> +\n> +# The name of the Pygments (syntax highlighting) style to use.\n> +pygments_style = None\n> +\n> +\n> +# -- Options for HTML output -------------------------------------------------\n> +\n> +# The theme to use for HTML and HTML Help pages.  See the documentation for\n> +# a list of builtin themes.\n> +#\n> +html_theme = 'alabaster'\n> +\n> +# Theme options are theme-specific and customize the look and feel of a theme\n> +# further.  For a list of options available for each theme, see the\n> +# documentation.\n> +#\n> +# html_theme_options = {}\n> +\n> +# Add any paths that contain custom static files (such as style sheets) here,\n> +# relative to this directory. They are copied after the builtin static files,\n> +# so a file named \"default.css\" will overwrite the builtin \"default.css\".\n> +html_static_path = ['_static']\n> +\n> +# Custom sidebar templates, must be a dictionary that maps document names\n> +# to template names.\n> +#\n> +# The default sidebars (for documents that don't match any pattern) are\n> +# defined by theme itself.  Builtin themes are using these templates by\n> +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n> +# 'searchbox.html']``.\n> +#\n> +# html_sidebars = {}\n> +\n> +\n> +# -- Options for HTMLHelp output ---------------------------------------------\n> +\n> +# Output file base name for HTML help builder.\n> +htmlhelp_basename = 'LibCameradoc'\n> +\n> +\n> +# -- Options for LaTeX output ------------------------------------------------\n> +\n> +latex_elements = {\n> +    # The paper size ('letterpaper' or 'a4paper').\n> +    #\n> +    # 'papersize': 'letterpaper',\n> +\n> +    # The font size ('10pt', '11pt' or '12pt').\n> +    #\n> +    # 'pointsize': '10pt',\n> +\n> +    # Additional stuff for the LaTeX preamble.\n> +    #\n> +    # 'preamble': '',\n> +\n> +    # Latex figure (float) alignment\n> +    #\n> +    # 'figure_align': 'htbp',\n> +}\n> +\n> +# Grouping the document tree into LaTeX files. List of tuples\n> +# (source start file, target name, title,\n> +#  author, documentclass [howto, manual, or own class]).\n> +latex_documents = [\n> +    (master_doc, 'LibCamera.tex', 'LibCamera Documentation',\n> +     'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund', 'manual'),\n\n:-)\n\n> +]\n> +\n> +\n> +# -- Options for manual page output ------------------------------------------\n> +\n> +# One entry per manual page. List of tuples\n> +# (source start file, name, description, authors, manual section).\n> +man_pages = [\n> +    (master_doc, 'libcamera', 'LibCamera Documentation',\n> +     [author], 1)\n> +]\n> +\n> +\n> +# -- Options for Texinfo output ----------------------------------------------\n> +\n> +# Grouping the document tree into Texinfo files. List of tuples\n> +# (source start file, target name, title, author,\n> +#  dir menu entry, description, category)\n> +texinfo_documents = [\n> +    (master_doc, 'LibCamera', 'LibCamera Documentation',\n> +     author, 'LibCamera', 'One line description of project.',\n> +     'Miscellaneous'),\n> +]\n> +\n> +\n> +# -- Options for Epub output -------------------------------------------------\n> +\n> +# Bibliographic Dublin Core info.\n> +epub_title = project\n> +\n> +# The unique identifier of the text. This can be a ISBN number\n> +# or the project homepage.\n> +#\n> +# epub_identifier = ''\n> +\n> +# A unique identification for the text.\n> +#\n> +# epub_uid = ''\n> +\n> +# A list of files that should not be packed into the epub file.\n> +epub_exclude_files = ['search.html']\n> \\ No newline at end of file\n> diff --git a/Documentation/hacking.rst b/Documentation/hacking.rst\n> new file mode 100644\n> index 000000000000..2dbee7f2b88d\n> --- /dev/null\n> +++ b/Documentation/hacking.rst\n> @@ -0,0 +1,42 @@\n> +Hacking and Development\n> +=======================\n> +\n> +libcamera is developed as a free software project and welcomes contributors.\n> +Whether you would like to help with coding, documentation, testing, proposing\n> +new features, or just discussing the project with the community, you can join\n> +our official public communication channels, or simply check out the code.\n> +Mailing List\n\nThis seems odd, should not the 'Mailing List' also have a line of - to \nmake it a subsection?\n\nWith these issues addressed feel free to add\n\nReviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n\n> +\n> +We use a public mailing list as our main means of communication. You can find\n> +subscription information and the messages archive on the libcamera-devel list\n> +information page.\n> +\n> +IRC Channel\n> +-----------\n> +\n> +For informal and real time discussions, our IRC channel on Freenode is open to\n> +the public. Point your IRC client to #libcamera to say hello, or use the `WebChat`_.\n> +\n> +.. _WebChat: https://webchat.freenode.net/?channels=%23libcamera&uio=d4\n> +\n> +Source Code\n> +-----------\n> +\n> +libcamera is in early stages of development, and no releases are available yet.\n> +The source code is available from the project's git tree, hosted by LinuxTV.\n> +\n> +  $ git clone git://linuxtv.org/libcamera.git\n> +\n> +Documentation\n> +-------------\n> +\n> +Project documentation is created using `Sphinx`_.  Source level documentation\n> +is currently planned to utilise Doxygen integration.  Please use this in your\n> +development.\n> +\n> +Sphinx integration with Doxygen will be with either `Breathe`_ or `Exhale`_\n> +depending upon which system works best\n> +\n> +.. _Sphinx: http://www.sphinx-doc.org\n> +.. _Breathe: https://breathe.readthedocs.io/en/latest/\n> +.. _Exhale: https://exhale.readthedocs.io/en/latest/\n> diff --git a/Documentation/index.rst b/Documentation/index.rst\n> new file mode 100644\n> index 000000000000..962192ec8ee8\n> --- /dev/null\n> +++ b/Documentation/index.rst\n> @@ -0,0 +1,30 @@\n> +LibCamera abstraction library\n> +=============================\n> +\n> +Cameras are complex devices that need heavy hardware image processing\n> +operations. Control of the processing is based on advanced algorithms that must\n> +run on a programmable processor. This has traditionally been implemented in a\n> +dedicated MCU in the camera, but in embedded devices algorithms have been moved\n> +to the main CPU to save cost. Blurring the boundary between camera devices and\n> +Linux often left the user with no other option than a vendor-specific\n> +closed-source solution.\n> +\n> +To address this problem the Linux media community has very recently started\n> +collaboration with the industry to develop a camera stack that will be\n> +open-source-friendly while still protecting vendor core IP. libcamera was born\n> +out of that collaboration and will offer modern camera support to Linux-based\n> +systems, including traditional Linux distributions, ChromeOS and Android.\n> +\n> +\n> +.. toctree::\n> +   :maxdepth: 2\n> +   :caption: Contents:\n> +\n> +   hacking\n> +\n> +\n> +Indices and tables\n> +==================\n> +\n> +* :ref:`genindex`\n> +* :ref:`search`\n> diff --git a/Documentation/meson.build b/Documentation/meson.build\n> new file mode 100644\n> index 000000000000..5ab04479d3fb\n> --- /dev/null\n> +++ b/Documentation/meson.build\n> @@ -0,0 +1,20 @@\n> +sphinx = find_program('sphinx-build-3', required: false)\n> +if not sphinx.found()\n> +    sphinx = find_program('sphinx-build', required: false)\n> +endif\n> +\n> +if sphinx.found()\n> +    docs_sources = [\n> +\t'hacking.rst',\n> +\t'index.rst',\n> +    ]\n> +\n> +    custom_target('en user documentation',\n> +\t\t  command: [sphinx, '-W', '-b', 'html', meson.current_source_dir(), '@OUTPUT@'],\n> +\t\t  input: docs_sources,\n> +\t\t  output: 'en',\n> +\t\t  build_by_default: true)\n> +\n> +    install_subdir(meson.current_build_dir() + '/en',\n> +\t\t  install_dir: 'share/doc/libcamera-@0@/user'.format(api_version))\n> +endif\n> diff --git a/meson.build b/meson.build\n> index 4b3d528c8932..434aa557b8a1 100644\n> --- a/meson.build\n> +++ b/meson.build\n> @@ -2,8 +2,14 @@ project('libcamera - supporting complex camera pipelines', 'c', 'cpp',\n>    version : '0.1',\n>    license : 'LGPL 2.1+')\n>  \n> +# TODO: Extract this from project.version.\n> +#\tIdeally the version at Documentation/conf.py should be\n> +#\tgenerated from this too.\n> +api_version = '0.1'\n> +\n>  inc = include_directories('include')\n>  \n> +subdir('Documentation')\n>  subdir('lib')\n>  subdir('test')\n>  subdir('utils')\n> -- \n> 2.17.1\n> \n> _______________________________________________\n> libcamera-devel mailing list\n> libcamera-devel@lists.libcamera.org\n> https://lists.libcamera.org/listinfo/libcamera-devel","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from mail-lf1-x133.google.com (mail-lf1-x133.google.com\n\t[IPv6:2a00:1450:4864:20::133])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7032860002\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Nov 2018 14:19:47 +0100 (CET)","by mail-lf1-x133.google.com with SMTP id p6so8722521lfc.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Nov 2018 05:19:47 -0800 (PST)","from localhost (89-233-230-99.cust.bredband2.com. [89.233.230.99])\n\tby smtp.gmail.com with ESMTPSA id\n\tr199sm7765542lff.50.2018.11.23.05.19.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 23 Nov 2018 05:19:45 -0800 (PST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=ragnatech-se.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:content-transfer-encoding:in-reply-to\n\t:user-agent; bh=w5wEuzTwL8+6jE0SeZ2ozSkj9QqeHlQNem246s7bPjg=;\n\tb=l03NCJq54QAKsKCNMxqyarqUIIoaIa0o+sXj1adWdtV0G4s/vIjmrKwHOvJRxa6SRm\n\tefKTVK8DJ5tst781x7+VGOLq4Gbb7bX6BBPeu37QOAXkdD29lX5ryRm00zAJ7oNe4gPE\n\tfGD24SjP9W/yMxPWnKopFaRUnnUh17zxb97qOjaNAjEq0YCHN7kzorUJtq6uON8GJTTj\n\tf8fRlA328/EGdYRtcXDFrSIjBUp89wVMMtJOdOhXNesNp7qYSjgBkCmMyp46pcGCtn3B\n\tqHqXgfRoKctQ/B95dprWGfs5rAAkMIzr4R8q2DJlrORQ4TKC6GxalAt9UyQPCL2CJELF\n\tjM1g==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:content-transfer-encoding\n\t:in-reply-to:user-agent;\n\tbh=w5wEuzTwL8+6jE0SeZ2ozSkj9QqeHlQNem246s7bPjg=;\n\tb=GIKgQgdSbyq0w3UIoNWzMMPIoU+ttgiEY98oLt+bqLO1llEF7AtS4/AN56kG7zywF/\n\tegvMRYFcCeTDvR2NBvb3dLYwJxFNB15aQveth6uVwXoACsay/suaVLpVxnNDac5BPpqA\n\tn0xMn3L8w+zW33ce7Jj2udijqH2GgJ2I0hwaRJ9w7SoByhnIABqj5ZJZJ4TKQyy3S9GW\n\tDSYZKYI3SAqPdprwqtmtjtxGRc5Syo+/EKRp8S0/a0wneXNOAfjKp8Rfnd8zmlHwsDxn\n\t/4zjAxMbD/8BVyZv9JPyIKcTvmBfnPwuWgbOPvQ8KIcCgY5shLRm7dUy5ROY2+kJ0ZGt\n\tFkHg==","X-Gm-Message-State":"AGRZ1gJkeIaE9avn9XLtS1kPNjHXEXr74qOvRd42OVBAxpQ4I6cczf5K\n\tiiQThIlBuNGgNjT9R2zrTNkIzg==","X-Google-Smtp-Source":"AJdET5cr5ePmJjCswP1xMAX+tTnbXaRY7pWJpAScNBV6FdxfFLn76aracFTRiMgQF9BO4+da539OSg==","X-Received":"by 2002:a19:f204:: with SMTP id q4mr9961058lfh.133.1542979186382;\n\tFri, 23 Nov 2018 05:19:46 -0800 (PST)","Date":"Fri, 23 Nov 2018 14:19:44 +0100","From":"Niklas =?iso-8859-1?q?S=F6derlund?= <niklas.soderlund@ragnatech.se>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"LibCamera Devel <libcamera-devel@lists.libcamera.org>","Message-ID":"<20181123131944.GD1158@bigcity.dyn.berto.se>","References":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=iso-8859-1","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>","User-Agent":"Mutt/1.10.1 (2018-07-13)","Subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Fri, 23 Nov 2018 13:19:47 -0000"}},{"id":6,"web_url":"https://patchwork.libcamera.org/comment/6/","msgid":"<3fb796a7-958e-cbe3-dbee-dbdb19e77197@ideasonboard.com>","date":"2018-11-23T14:12:54","subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Hi Niklas,\n\nThank you for the review,\n\nOn 23/11/2018 13:19, Niklas Söderlund wrote:\n> Hi Kieran,\n> \n> Thanks for your patch.\n> \n> On 2018-11-22 16:58:52 +0000, Kieran Bingham wrote:\n>> Utilise sphinx-build to generate documentation in HTML form, and\n>> populate with some initial content.\n>>\n>> An initial conf.py is generated from sphinx-quickstart and answering\n>> initial questions.\n>>\n>> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n>>\n>> ---\n>> v2:\n>>  - Fix spelling in hacking.rst\n>>  - Remove autogenerated comments at index.rst\n>>  - Fix whitespaces\n>>  - Remove autogenerated Makefile\n>>  - Fix typos and grammar\n>>\n>>  Documentation/conf.py     | 173 ++++++++++++++++++++++++++++++++++++++\n>>  Documentation/hacking.rst |  42 +++++++++\n>>  Documentation/index.rst   |  30 +++++++\n>>  Documentation/meson.build |  20 +++++\n>>  meson.build               |   6 ++\n>>  5 files changed, 271 insertions(+)\n>>  create mode 100644 Documentation/conf.py\n>>  create mode 100644 Documentation/hacking.rst\n>>  create mode 100644 Documentation/index.rst\n>>  create mode 100644 Documentation/meson.build\n>>\n>> diff --git a/Documentation/conf.py b/Documentation/conf.py\n>> new file mode 100644\n>> index 000000000000..70d4e72c6902\n>> --- /dev/null\n>> +++ b/Documentation/conf.py\n>> @@ -0,0 +1,173 @@\n>> +# -*- coding: utf-8 -*-\n>> +#\n>> +# Configuration file for the Sphinx documentation builder.\n>> +#\n>> +# This file does only contain a selection of the most common options. For a\n>> +# full list see the documentation:\n>> +# http://www.sphinx-doc.org/en/master/config\n>> +\n>> +# -- Path setup --------------------------------------------------------------\n>> +\n>> +# If extensions (or modules to document with autodoc) are in another directory,\n>> +# add these directories to sys.path here. If the directory is relative to the\n>> +# documentation root, use os.path.abspath to make it absolute, like shown here.\n>> +#\n>> +# import os\n>> +# import sys\n>> +# sys.path.insert(0, os.path.abspath('.'))\n>> +\n>> +\n>> +# -- Project information -----------------------------------------------------\n>> +\n>> +project = 'LibCamera'\n>> +copyright = '2018, Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund'\n>> +author = 'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund'\n> \n> My pretty döts seems to me missing :-)\n\nI have no idea how to generate those on my keyboard...\n\nFortunately - you've now given me a character I can copy and paste.\n (yes, of course it was already in my e-mail client)\n\nPerhaps I was giving you a chance to increase your patch count with a\nfixup patch later ;-)\n\n> \n>> +\n>> +# The short X.Y version\n>> +version = ''\n>> +# The full version, including alpha/beta/rc tags\n>> +release = '0.1'\n>> +\n>> +\n>> +# -- General configuration ---------------------------------------------------\n>> +\n>> +# If your documentation needs a minimal Sphinx version, state it here.\n>> +#\n>> +# needs_sphinx = '1.0'\n>> +\n>> +# Add any Sphinx extension module names here, as strings. They can be\n>> +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n>> +# ones.\n>> +extensions = [\n>> +]\n>> +\n>> +# Add any paths that contain templates here, relative to this directory.\n>> +templates_path = ['_templates']\n>> +\n>> +# The suffix(es) of source filenames.\n>> +# You can specify multiple suffix as a list of string:\n>> +#\n>> +# source_suffix = ['.rst', '.md']\n>> +source_suffix = '.rst'\n>> +\n>> +# The master toctree document.\n>> +master_doc = 'index'\n>> +\n>> +# The language for content autogenerated by Sphinx. Refer to documentation\n>> +# for a list of supported languages.\n>> +#\n>> +# This is also used if you do content translation via gettext catalogs.\n>> +# Usually you set \"language\" from the command line for these cases.\n>> +language = None\n>> +\n>> +# List of patterns, relative to source directory, that match files and\n>> +# directories to ignore when looking for source files.\n>> +# This pattern also affects html_static_path and html_extra_path.\n>> +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n>> +\n>> +# The name of the Pygments (syntax highlighting) style to use.\n>> +pygments_style = None\n>> +\n>> +\n>> +# -- Options for HTML output -------------------------------------------------\n>> +\n>> +# The theme to use for HTML and HTML Help pages.  See the documentation for\n>> +# a list of builtin themes.\n>> +#\n>> +html_theme = 'alabaster'\n>> +\n>> +# Theme options are theme-specific and customize the look and feel of a theme\n>> +# further.  For a list of options available for each theme, see the\n>> +# documentation.\n>> +#\n>> +# html_theme_options = {}\n>> +\n>> +# Add any paths that contain custom static files (such as style sheets) here,\n>> +# relative to this directory. They are copied after the builtin static files,\n>> +# so a file named \"default.css\" will overwrite the builtin \"default.css\".\n>> +html_static_path = ['_static']\n>> +\n>> +# Custom sidebar templates, must be a dictionary that maps document names\n>> +# to template names.\n>> +#\n>> +# The default sidebars (for documents that don't match any pattern) are\n>> +# defined by theme itself.  Builtin themes are using these templates by\n>> +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n>> +# 'searchbox.html']``.\n>> +#\n>> +# html_sidebars = {}\n>> +\n>> +\n>> +# -- Options for HTMLHelp output ---------------------------------------------\n>> +\n>> +# Output file base name for HTML help builder.\n>> +htmlhelp_basename = 'LibCameradoc'\n>> +\n>> +\n>> +# -- Options for LaTeX output ------------------------------------------------\n>> +\n>> +latex_elements = {\n>> +    # The paper size ('letterpaper' or 'a4paper').\n>> +    #\n>> +    # 'papersize': 'letterpaper',\n>> +\n>> +    # The font size ('10pt', '11pt' or '12pt').\n>> +    #\n>> +    # 'pointsize': '10pt',\n>> +\n>> +    # Additional stuff for the LaTeX preamble.\n>> +    #\n>> +    # 'preamble': '',\n>> +\n>> +    # Latex figure (float) alignment\n>> +    #\n>> +    # 'figure_align': 'htbp',\n>> +}\n>> +\n>> +# Grouping the document tree into LaTeX files. List of tuples\n>> +# (source start file, target name, title,\n>> +#  author, documentclass [howto, manual, or own class]).\n>> +latex_documents = [\n>> +    (master_doc, 'LibCamera.tex', 'LibCamera Documentation',\n>> +     'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund', 'manual'),\n> \n> :-)\n> \n\nI'll update here as well.\n\n\n>> +]\n>> +\n>> +\n>> +# -- Options for manual page output ------------------------------------------\n>> +\n>> +# One entry per manual page. List of tuples\n>> +# (source start file, name, description, authors, manual section).\n>> +man_pages = [\n>> +    (master_doc, 'libcamera', 'LibCamera Documentation',\n>> +     [author], 1)\n>> +]\n>> +\n>> +\n>> +# -- Options for Texinfo output ----------------------------------------------\n>> +\n>> +# Grouping the document tree into Texinfo files. List of tuples\n>> +# (source start file, target name, title, author,\n>> +#  dir menu entry, description, category)\n>> +texinfo_documents = [\n>> +    (master_doc, 'LibCamera', 'LibCamera Documentation',\n>> +     author, 'LibCamera', 'One line description of project.',\n>> +     'Miscellaneous'),\n>> +]\n>> +\n>> +\n>> +# -- Options for Epub output -------------------------------------------------\n>> +\n>> +# Bibliographic Dublin Core info.\n>> +epub_title = project\n>> +\n>> +# The unique identifier of the text. This can be a ISBN number\n>> +# or the project homepage.\n>> +#\n>> +# epub_identifier = ''\n>> +\n>> +# A unique identification for the text.\n>> +#\n>> +# epub_uid = ''\n>> +\n>> +# A list of files that should not be packed into the epub file.\n>> +epub_exclude_files = ['search.html']\n>> \\ No newline at end of file\n>> diff --git a/Documentation/hacking.rst b/Documentation/hacking.rst\n>> new file mode 100644\n>> index 000000000000..2dbee7f2b88d\n>> --- /dev/null\n>> +++ b/Documentation/hacking.rst\n>> @@ -0,0 +1,42 @@\n>> +Hacking and Development\n>> +=======================\n>> +\n>> +libcamera is developed as a free software project and welcomes contributors.\n>> +Whether you would like to help with coding, documentation, testing, proposing\n>> +new features, or just discussing the project with the community, you can join\n>> +our official public communication channels, or simply check out the code.\n>> +Mailing List\n> \n> This seems odd, should not the 'Mailing List' also have a line of - to \n> make it a subsection?\n\n\nAh yes, thank you I had missed that. This was just a copy paste from the\nwebsite.\n\n> \n> With these issues addressed feel free to add\n> \n> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n\nI'll take this and commit to master :)\n\n\n> \n>> +\n>> +We use a public mailing list as our main means of communication. You can find\n>> +subscription information and the messages archive on the libcamera-devel list\n>> +information page.\n\nIt might help if I add a link to the libcamera-devel list page here too :)\n\n\n>> +\n>> +IRC Channel\n>> +-----------\n>> +\n>> +For informal and real time discussions, our IRC channel on Freenode is open to\n>> +the public. Point your IRC client to #libcamera to say hello, or use the `WebChat`_.\n>> +\n>> +.. _WebChat: https://webchat.freenode.net/?channels=%23libcamera&uio=d4\n>> +\n>> +Source Code\n>> +-----------\n>> +\n>> +libcamera is in early stages of development, and no releases are available yet.\n>> +The source code is available from the project's git tree, hosted by LinuxTV.\n>> +\n>> +  $ git clone git://linuxtv.org/libcamera.git\n>> +\n>> +Documentation\n>> +-------------\n>> +\n>> +Project documentation is created using `Sphinx`_.  Source level documentation\n>> +is currently planned to utilise Doxygen integration.  Please use this in your\n>> +development.\n>> +\n>> +Sphinx integration with Doxygen will be with either `Breathe`_ or `Exhale`_\n>> +depending upon which system works best\n>> +\n>> +.. _Sphinx: http://www.sphinx-doc.org\n>> +.. _Breathe: https://breathe.readthedocs.io/en/latest/\n>> +.. _Exhale: https://exhale.readthedocs.io/en/latest/\n>> diff --git a/Documentation/index.rst b/Documentation/index.rst\n>> new file mode 100644\n>> index 000000000000..962192ec8ee8\n>> --- /dev/null\n>> +++ b/Documentation/index.rst\n>> @@ -0,0 +1,30 @@\n>> +LibCamera abstraction library\n>> +=============================\n>> +\n>> +Cameras are complex devices that need heavy hardware image processing\n>> +operations. Control of the processing is based on advanced algorithms that must\n>> +run on a programmable processor. This has traditionally been implemented in a\n>> +dedicated MCU in the camera, but in embedded devices algorithms have been moved\n>> +to the main CPU to save cost. Blurring the boundary between camera devices and\n>> +Linux often left the user with no other option than a vendor-specific\n>> +closed-source solution.\n>> +\n>> +To address this problem the Linux media community has very recently started\n>> +collaboration with the industry to develop a camera stack that will be\n>> +open-source-friendly while still protecting vendor core IP. libcamera was born\n>> +out of that collaboration and will offer modern camera support to Linux-based\n>> +systems, including traditional Linux distributions, ChromeOS and Android.\n>> +\n>> +\n>> +.. toctree::\n>> +   :maxdepth: 2\n>> +   :caption: Contents:\n>> +\n>> +   hacking\n>> +\n>> +\n>> +Indices and tables\n>> +==================\n>> +\n>> +* :ref:`genindex`\n>> +* :ref:`search`\n>> diff --git a/Documentation/meson.build b/Documentation/meson.build\n>> new file mode 100644\n>> index 000000000000..5ab04479d3fb\n>> --- /dev/null\n>> +++ b/Documentation/meson.build\n>> @@ -0,0 +1,20 @@\n>> +sphinx = find_program('sphinx-build-3', required: false)\n>> +if not sphinx.found()\n>> +    sphinx = find_program('sphinx-build', required: false)\n>> +endif\n>> +\n>> +if sphinx.found()\n>> +    docs_sources = [\n>> +\t'hacking.rst',\n>> +\t'index.rst',\n>> +    ]\n>> +\n>> +    custom_target('en user documentation',\n>> +\t\t  command: [sphinx, '-W', '-b', 'html', meson.current_source_dir(), '@OUTPUT@'],\n>> +\t\t  input: docs_sources,\n>> +\t\t  output: 'en',\n>> +\t\t  build_by_default: true)\n>> +\n>> +    install_subdir(meson.current_build_dir() + '/en',\n>> +\t\t  install_dir: 'share/doc/libcamera-@0@/user'.format(api_version))\n>> +endif\n>> diff --git a/meson.build b/meson.build\n>> index 4b3d528c8932..434aa557b8a1 100644\n>> --- a/meson.build\n>> +++ b/meson.build\n>> @@ -2,8 +2,14 @@ project('libcamera - supporting complex camera pipelines', 'c', 'cpp',\n>>    version : '0.1',\n>>    license : 'LGPL 2.1+')\n>>  \n>> +# TODO: Extract this from project.version.\n>> +#\tIdeally the version at Documentation/conf.py should be\n>> +#\tgenerated from this too.\n>> +api_version = '0.1'\n>> +\n>>  inc = include_directories('include')\n>>  \n>> +subdir('Documentation')\n>>  subdir('lib')\n>>  subdir('test')\n>>  subdir('utils')\n>> -- \n>> 2.17.1\n>>\n>> _______________________________________________\n>> libcamera-devel mailing list\n>> libcamera-devel@lists.libcamera.org\n>> https://lists.libcamera.org/listinfo/libcamera-devel\n>","headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4914560002\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Nov 2018 15:12:58 +0100 (CET)","from [192.168.0.21]\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B48E058E;\n\tFri, 23 Nov 2018 15:12:57 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1542982377;\n\tbh=xQ6RB0D4xWsK3O5TrEK0LPut9h6lphvH6lnbCkjlmBE=;\n\th=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From;\n\tb=Y5jUrUvvx1ybsTiES9yCX5v4J1n89fAvD4JtSM2w8xu9yVpPNvpr75Ub71IcUuGSr\n\tvHPeU9ttwf65ysnINFV+NOjgOAZloQDT3yuxiquAm2G0WaxWOMjJhCdaeEcGegOutN\n\tEH7cktu2AjdR/KOKjNmdJ2fz5J5CPVCUsxIRjjBA=","Reply-To":"kieran.bingham@ideasonboard.com","To":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","Cc":"LibCamera Devel <libcamera-devel@lists.libcamera.org>","References":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>\n\t<20181123131944.GD1158@bigcity.dyn.berto.se>","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Openpgp":"preference=signencrypt","Autocrypt":"addr=kieran.bingham@ideasonboard.com; keydata=\n\t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\n\tsbsRB8KNNvVXBOVNwko86rQqF9drZuw=","Organization":"Ideas on Board","Message-ID":"<3fb796a7-958e-cbe3-dbee-dbdb19e77197@ideasonboard.com>","Date":"Fri, 23 Nov 2018 14:12:54 +0000","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101\n\tThunderbird/60.2.1","MIME-Version":"1.0","In-Reply-To":"<20181123131944.GD1158@bigcity.dyn.berto.se>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-GB","Content-Transfer-Encoding":"8bit","Subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Fri, 23 Nov 2018 14:12:58 -0000"}},{"id":7,"web_url":"https://patchwork.libcamera.org/comment/7/","msgid":"<1598916.6xSdIj2yWm@avalon>","date":"2018-11-23T15:25:11","subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Kieran,\n\nThank you for the patch.\n\nOn Friday, 23 November 2018 16:12:54 EET Kieran Bingham wrote:\n> On 23/11/2018 13:19, Niklas Söderlund wrote:\n> > On 2018-11-22 16:58:52 +0000, Kieran Bingham wrote:\n> >> Utilise sphinx-build to generate documentation in HTML form, and\n> >> populate with some initial content.\n> >> \n> >> An initial conf.py is generated from sphinx-quickstart and answering\n> >> initial questions.\n> >> \n> >> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> >> \n> >> ---\n> >> \n> >> v2:\n> >>  - Fix spelling in hacking.rst\n> >>  - Remove autogenerated comments at index.rst\n> >>  - Fix whitespaces\n> >>  - Remove autogenerated Makefile\n> >>  - Fix typos and grammar\n> >>  \n> >>  Documentation/conf.py     | 173 ++++++++++++++++++++++++++++++++++++++\n> >>  Documentation/hacking.rst |  42 +++++++++\n> >>  Documentation/index.rst   |  30 +++++++\n> >>  Documentation/meson.build |  20 +++++\n> >>  meson.build               |   6 ++\n> >>  5 files changed, 271 insertions(+)\n> >>  create mode 100644 Documentation/conf.py\n> >>  create mode 100644 Documentation/hacking.rst\n> >>  create mode 100644 Documentation/index.rst\n> >>  create mode 100644 Documentation/meson.build\n> >> \n> >> diff --git a/Documentation/conf.py b/Documentation/conf.py\n> >> new file mode 100644\n> >> index 000000000000..70d4e72c6902\n> >> --- /dev/null\n> >> +++ b/Documentation/conf.py\n> >> @@ -0,0 +1,173 @@\n> >> +# -*- coding: utf-8 -*-\n> >> +#\n> >> +# Configuration file for the Sphinx documentation builder.\n> >> +#\n> >> +# This file does only contain a selection of the most common options.\n> >> For a\n> >> +# full list see the documentation:\n> >> +# http://www.sphinx-doc.org/en/master/config\n> >> +\n> >> +# -- Path setup --------------------------------------------------------\n> >> +\n> >> +# If extensions (or modules to document with autodoc) are in another\n> >> directory,\n> >> +# add these directories to sys.path here. If the directory is relative\n> >> to the\n> >> +# documentation root, use os.path.abspath to make it absolute, like\n> >> shown here.\n> >> +#\n> >> +# import os\n> >> +# import sys\n> >> +# sys.path.insert(0, os.path.abspath('.'))\n\nShould we remove the commented out options (and sections) ?\n\n> >> +# -- Project information -----------------------------------------------\n> >> +\n> >> +project = 'LibCamera'\n\nNitpicking, the project is called \"libcamera\" throughout the existing \ndocumentation.\n\n> >> +copyright = '2018, Kieran Bingham, Jacopo Mondi, Laurent Pinchart,\n> >> Niklas Soderlund' +author = 'Kieran Bingham, Jacopo Mondi, Laurent\n> >> Pinchart, Niklas Soderlund'\n> > \n> > My pretty döts seems to me missing :-)\n> \n> I have no idea how to generate those on my keyboard...\n\nCompose, u, \"\n\n\",\" means \"followed by\", and the compose key is specific to your system (I've \nmapped it to AltGr+Win here).\n\n> Fortunately - you've now given me a character I can copy and paste.\n>  (yes, of course it was already in my e-mail client)\n> \n> Perhaps I was giving you a chance to increase your patch count with a\n> fixup patch later ;-)\n> \n> >> +\n> >> +# The short X.Y version\n> >> +version = ''\n> >> +# The full version, including alpha/beta/rc tags\n> >> +release = '0.1'\n> >> +\n> >> +\n> >> +# -- General configuration ---------------------------------------------\n> >> +\n> >> +# If your documentation needs a minimal Sphinx version, state it here.\n> >> +#\n> >> +# needs_sphinx = '1.0'\n> >> +\n> >> +# Add any Sphinx extension module names here, as strings. They can be\n> >> +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n> >> +# ones.\n> >> +extensions = [\n> >> +]\n> >> +\n> >> +# Add any paths that contain templates here, relative to this directory.\n> >> +templates_path = ['_templates']\n\nDo we have templates ? :-)\n\n> >> +# The suffix(es) of source filenames.\n> >> +# You can specify multiple suffix as a list of string:\n> >> +#\n> >> +# source_suffix = ['.rst', '.md']\n> >> +source_suffix = '.rst'\n> >> +\n> >> +# The master toctree document.\n> >> +master_doc = 'index'\n> >> +\n> >> +# The language for content autogenerated by Sphinx. Refer to\n> >> documentation\n> >> +# for a list of supported languages.\n> >> +#\n> >> +# This is also used if you do content translation via gettext catalogs.\n> >> +# Usually you set \"language\" from the command line for these cases.\n> >> +language = None\n> >> +\n> >> +# List of patterns, relative to source directory, that match files and\n> >> +# directories to ignore when looking for source files.\n> >> +# This pattern also affects html_static_path and html_extra_path.\n> >> +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n> >> +\n> >> +# The name of the Pygments (syntax highlighting) style to use.\n> >> +pygments_style = None\n> >> +\n> >> +\n> >> +# -- Options for HTML output -------------------------------------------\n> >> +\n> >> +# The theme to use for HTML and HTML Help pages.  See the documentation\n> >> for\n> >> +# a list of builtin themes.\n> >> +#\n> >> +html_theme = 'alabaster'\n\nExercise for the reader : develop a theme matching http://www.libcamera.org.\n\n> >> +# Theme options are theme-specific and customize the look and feel of a\n> >> theme\n> >> +# further.  For a list of options available for each theme, see the\n> >> +# documentation.\n> >> +#\n> >> +# html_theme_options = {}\n> >> +\n> >> +# Add any paths that contain custom static files (such as style sheets)\n> >> here,\n> >> +# relative to this directory. They are copied after the builtin static\n> >> files,\n> >> +# so a file named \"default.css\" will overwrite the builtin\n> >> \"default.css\".\n> >> +html_static_path = ['_static']\n> >> +\n> >> +# Custom sidebar templates, must be a dictionary that maps document\n> >> names\n> >> +# to template names.\n> >> +#\n> >> +# The default sidebars (for documents that don't match any pattern) are\n> >> +# defined by theme itself.  Builtin themes are using these templates by\n> >> +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n> >> +# 'searchbox.html']``.\n> >> +#\n> >> +# html_sidebars = {}\n> >> +\n> >> +\n> >> +# -- Options for HTMLHelp output ---------------------------------------\n> >> +\n> >> +# Output file base name for HTML help builder.\n> >> +htmlhelp_basename = 'LibCameradoc'\n> >> +\n> >> +\n> >> +# -- Options for LaTeX output ------------------------------------------\n> >> +\n> >> +latex_elements = {\n> >> +    # The paper size ('letterpaper' or 'a4paper').\n> >> +    #\n> >> +    # 'papersize': 'letterpaper',\n> >> +\n> >> +    # The font size ('10pt', '11pt' or '12pt').\n> >> +    #\n> >> +    # 'pointsize': '10pt',\n> >> +\n> >> +    # Additional stuff for the LaTeX preamble.\n> >> +    #\n> >> +    # 'preamble': '',\n> >> +\n> >> +    # Latex figure (float) alignment\n> >> +    #\n> >> +    # 'figure_align': 'htbp',\n> >> +}\n> >> +\n> >> +# Grouping the document tree into LaTeX files. List of tuples\n> >> +# (source start file, target name, title,\n> >> +#  author, documentclass [howto, manual, or own class]).\n> >> +latex_documents = [\n> >> +    (master_doc, 'LibCamera.tex', 'LibCamera Documentation',\n> >> +     'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund',\n> >> 'manual'),\n> > \n> > :-)\n> \n> I'll update here as well.\n> \n> >> +]\n> >> +\n> >> +\n> >> +# -- Options for manual page output ------------------------------------\n> >> +\n> >> +# One entry per manual page. List of tuples\n> >> +# (source start file, name, description, authors, manual section).\n> >> +man_pages = [\n> >> +    (master_doc, 'libcamera', 'LibCamera Documentation',\n> >> +     [author], 1)\n> >> +]\n> >> +\n> >> +\n> >> +# -- Options for Texinfo output\n> >> ---------------------------------------------- +\n> >> +# Grouping the document tree into Texinfo files. List of tuples\n> >> +# (source start file, target name, title, author,\n> >> +#  dir menu entry, description, category)\n> >> +texinfo_documents = [\n> >> +    (master_doc, 'LibCamera', 'LibCamera Documentation',\n> >> +     author, 'LibCamera', 'One line description of project.',\n> >> +     'Miscellaneous'),\n> >> +]\n> >> +\n> >> +\n> >> +# -- Options for Epub output\n> >> ------------------------------------------------- +\n> >> +# Bibliographic Dublin Core info.\n> >> +epub_title = project\n> >> +\n> >> +# The unique identifier of the text. This can be a ISBN number\n> >> +# or the project homepage.\n> >> +#\n> >> +# epub_identifier = ''\n> >> +\n> >> +# A unique identification for the text.\n> >> +#\n> >> +# epub_uid = ''\n> >> +\n> >> +# A list of files that should not be packed into the epub file.\n> >> +epub_exclude_files = ['search.html']\n\nAs we don't use latex, man pages, texinfo and epub, should we remove those \nsections for now ?\n\n> >> \\ No newline at end of file\n\nNo newline at end of file ?\n\n> >> diff --git a/Documentation/hacking.rst b/Documentation/hacking.rst\n> >> new file mode 100644\n> >> index 000000000000..2dbee7f2b88d\n> >> --- /dev/null\n> >> +++ b/Documentation/hacking.rst\n\nThe website currently stores the information below in a \"Contribute\" section. \nI think that name is a bit more positive than \"hacking\" and would prefer \nretaining it.\n\n> >> @@ -0,0 +1,42 @@\n> >> +Hacking and Development\n\nSame here.\n\n> >> +=======================\n> >> +\n> >> +libcamera is developed as a free software project and welcomes\n> >> contributors.\n> >> +Whether you would like to help with coding, documentation, testing,\n> >> proposing\n> >> +new features, or just discussing the project with the community, you can\n> >> join\n> >> +our official public communication channels, or simply check out the\n> >> code.\n> >> +Mailing List\n> > \n> > This seems odd, should not the 'Mailing List' also have a line of - to\n> > make it a subsection?\n> \n> Ah yes, thank you I had missed that. This was just a copy paste from the\n> website.\n> \n> > With these issues addressed feel free to add\n> > \n> > Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n> \n> I'll take this and commit to master :)\n> \n> >> +\n> >> +We use a public mailing list as our main means of communication. You can\n> >> find\n> >> +subscription information and the messages archive on the libcamera-devel\n> >> list\n> >> +information page.\n> \n> It might help if I add a link to the libcamera-devel list page here too :)\n\nAgreed.\n\n> >> +\n> >> +IRC Channel\n> >> +-----------\n> >> +\n> >> +For informal and real time discussions, our IRC channel on Freenode is\n> >> open to\n> >> +the public. Point your IRC client to #libcamera to say hello,\n> >> or use the `WebChat`_.\n> >> +\n> >> +.. _WebChat: https://webchat.freenode.net/?channels=%23libcamera&uio=d4\n> >> +\n> >> +Source Code\n> >> +-----------\n> >> +\n> >> +libcamera is in early stages of development, and no releases are\n> >> available yet.\n> >> +The source code is available from the project's git tree, hosted by\n> >> LinuxTV.\n> >> +\n> >> +  $ git clone git://linuxtv.org/libcamera.git\n> >> +\n> >> +Documentation\n> >> +-------------\n> >> +\n> >> +Project documentation is created using `Sphinx`_.  Source level\n> >> documentation\n> >> +is currently planned to utilise Doxygen integration. Please use this in\n> >> your\n> >> +development.\n> >> +\n> >> +Sphinx integration with Doxygen will be with either `Breathe`_ or\n> >> `Exhale`_\n> >> +depending upon which system works best\n> >> +\n> >> +.. _Sphinx: http://www.sphinx-doc.org\n> >> +.. _Breathe: https://breathe.readthedocs.io/en/latest/\n> >> +.. _Exhale: https://exhale.readthedocs.io/en/latest/\n> >> diff --git a/Documentation/index.rst b/Documentation/index.rst\n> >> new file mode 100644\n> >> index 000000000000..962192ec8ee8\n> >> --- /dev/null\n> >> +++ b/Documentation/index.rst\n> >> @@ -0,0 +1,30 @@\n> >> +LibCamera abstraction library\n\nSimilarly here, you should write \"libcamera\". \"libcamera library\" seems a bit \nredundant to me. Other options could be \"Linux Camera Library\", \"Linux Camera \nSupport Library\", \"Linux Camera Framework\", \"Linux Camera Framework Library\" \n(possibly without the \"Linux\" prefix, even though the project targets Linux \nonly).\n\n> >> +=============================\n> >> +\n> >> +Cameras are complex devices that need heavy hardware image processing\n> >> +operations. Control of the processing is based on advanced algorithms\n> >> that must +run on a programmable processor. This has traditionally been\n> >> implemented in a +dedicated MCU in the camera, but in embedded devices\n> >> algorithms have been moved +to the main CPU to save cost. Blurring the\n> >> boundary between camera devices and +Linux often left the user with no\n> >> other option than a vendor-specific +closed-source solution.\n> >> +\n> >> +To address this problem the Linux media community has very recently\n> >> started +collaboration with the industry to develop a camera stack that\n> >> will be +open-source-friendly while still protecting vendor core IP.\n> >> libcamera was born +out of that collaboration and will offer modern\n> >> camera support to Linux-based +systems, including traditional Linux\n> >> distributions, ChromeOS and Android. +\n> >> +\n> >> +.. toctree::\n> >> +   :maxdepth: 2\n> >> +   :caption: Contents:\n> >> +\n> >> +   hacking\n> >> +\n> >> +\n> >> +Indices and tables\n> >> +==================\n> >> +\n> >> +* :ref:`genindex`\n> >> +* :ref:`search`\n> >> diff --git a/Documentation/meson.build b/Documentation/meson.build\n> >> new file mode 100644\n> >> index 000000000000..5ab04479d3fb\n> >> --- /dev/null\n> >> +++ b/Documentation/meson.build\n> >> @@ -0,0 +1,20 @@\n> >> +sphinx = find_program('sphinx-build-3', required: false)\n> >> +if not sphinx.found()\n> >> +    sphinx = find_program('sphinx-build', required: false)\n> >> +endif\n> >> +\n> >> +if sphinx.found()\n> >> +    docs_sources = [\n> >> +\t'hacking.rst',\n> >> +\t'index.rst',\n> >> +    ]\n> >> +\n> >> +    custom_target('en user documentation',\n\nWhat does this stand for ? English user documentation ? End user documentation \n?\n\n> >> +\t\t  command: [sphinx, '-W', '-b', 'html', meson.current_source_dir(),\n> >> '@OUTPUT@'],\n> >> +\t\t  input: docs_sources,\n> >> +\t\t  output: 'en',\n> >> +\t\t  build_by_default: true)\n> >> +\n> >> +    install_subdir(meson.current_build_dir() + '/en',\n> >> +\t\t  install_dir: 'share/doc/libcamera-@0@/user'.format(api_version))\n\nWhy the user/ directory ?\n\n> >> +endif\n\n[snip]","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3D73E60002\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Nov 2018 16:24:52 +0100 (CET)","from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 905BB58E;\n\tFri, 23 Nov 2018 16:24:51 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1542986691;\n\tbh=nN2wSQZC62HVrj5dtK3w5k+8G552/W2RpxmIt1Q67WY=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=E8BEyRDy3NDydmYIWpzsPzVc+Oa2ffLlrkRI5Ww1cy/sAhVC3S8o55sFFdgMtfhkh\n\tljBGTRnIBHprqHq2NaOCSX9L3UM3eIAzIAeVmnE0KYh/3Hu2OMItFy5ASkjLHkmiHp\n\tBeORZS4mVJl3u7OhsMp5a7U37I2Q6jLIxkdnHjmw=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org, kieran.bingham@ideasonboard.com","Date":"Fri, 23 Nov 2018 17:25:11 +0200","Message-ID":"<1598916.6xSdIj2yWm@avalon>","Organization":"Ideas on Board Oy","In-Reply-To":"<3fb796a7-958e-cbe3-dbee-dbdb19e77197@ideasonboard.com>","References":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>\n\t<20181123131944.GD1158@bigcity.dyn.berto.se>\n\t<3fb796a7-958e-cbe3-dbee-dbdb19e77197@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","Content-Type":"text/plain; charset=\"iso-8859-1\"","Subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Fri, 23 Nov 2018 15:24:52 -0000"}},{"id":8,"web_url":"https://patchwork.libcamera.org/comment/8/","msgid":"<0c10fbf5-e62a-413e-c150-77893a81a01d@ideasonboard.com>","date":"2018-11-23T17:58:43","subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Hi Laurent,\n\nOn 23/11/2018 15:25, Laurent Pinchart wrote:\n> Hi Kieran,\n> \n> Thank you for the patch.\n> \n> On Friday, 23 November 2018 16:12:54 EET Kieran Bingham wrote:\n>> On 23/11/2018 13:19, Niklas Söderlund wrote:\n>>> On 2018-11-22 16:58:52 +0000, Kieran Bingham wrote:\n>>>> Utilise sphinx-build to generate documentation in HTML form, and\n>>>> populate with some initial content.\n>>>>\n>>>> An initial conf.py is generated from sphinx-quickstart and answering\n>>>> initial questions.\n>>>>\n>>>> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n>>>>\n>>>> ---\n>>>>\n>>>> v2:\n>>>>  - Fix spelling in hacking.rst\n>>>>  - Remove autogenerated comments at index.rst\n>>>>  - Fix whitespaces\n>>>>  - Remove autogenerated Makefile\n>>>>  - Fix typos and grammar\n>>>>  \n>>>>  Documentation/conf.py     | 173 ++++++++++++++++++++++++++++++++++++++\n>>>>  Documentation/hacking.rst |  42 +++++++++\n>>>>  Documentation/index.rst   |  30 +++++++\n>>>>  Documentation/meson.build |  20 +++++\n>>>>  meson.build               |   6 ++\n>>>>  5 files changed, 271 insertions(+)\n>>>>  create mode 100644 Documentation/conf.py\n>>>>  create mode 100644 Documentation/hacking.rst\n>>>>  create mode 100644 Documentation/index.rst\n>>>>  create mode 100644 Documentation/meson.build\n>>>>\n>>>> diff --git a/Documentation/conf.py b/Documentation/conf.py\n>>>> new file mode 100644\n>>>> index 000000000000..70d4e72c6902\n>>>> --- /dev/null\n>>>> +++ b/Documentation/conf.py\n>>>> @@ -0,0 +1,173 @@\n>>>> +# -*- coding: utf-8 -*-\n>>>> +#\n>>>> +# Configuration file for the Sphinx documentation builder.\n>>>> +#\n>>>> +# This file does only contain a selection of the most common options.\n>>>> For a\n>>>> +# full list see the documentation:\n>>>> +# http://www.sphinx-doc.org/en/master/config\n>>>> +\n>>>> +# -- Path setup --------------------------------------------------------\n>>>> +\n>>>> +# If extensions (or modules to document with autodoc) are in another\n>>>> directory,\n>>>> +# add these directories to sys.path here. If the directory is relative\n>>>> to the\n>>>> +# documentation root, use os.path.abspath to make it absolute, like\n>>>> shown here.\n>>>> +#\n>>>> +# import os\n>>>> +# import sys\n>>>> +# sys.path.insert(0, os.path.abspath('.'))\n> \n> Should we remove the commented out options (and sections) ?\n\nPersonally - I would say no.\n\n(I fairly intentionally left the auto-generated file as it was generated)\n\nThis is essentially the closest (proximity) documentation for modifying\nconf.py.\n\n\n>>>> +# -- Project information -----------------------------------------------\n>>>> +\n>>>> +project = 'LibCamera'\n> \n> Nitpicking, the project is called \"libcamera\" throughout the existing \n> documentation.\n\nAh yes, I'll correct it.\n\n\n>>>> +copyright = '2018, Kieran Bingham, Jacopo Mondi, Laurent Pinchart,\n>>>> Niklas Soderlund' +author = 'Kieran Bingham, Jacopo Mondi, Laurent\n>>>> Pinchart, Niklas Soderlund'\n>>>\n>>> My pretty döts seems to me missing :-)\n>>\n>> I have no idea how to generate those on my keyboard...\n> \n> Compose, u, \"\n\n↓\" \"↓²ø² nope\n\nö - Aha - got it.\n\n\n> \n> \",\" means \"followed by\", and the compose key is specific to your system (I've \n> mapped it to AltGr+Win here).\n\nI had to use gnome-tweaks to configure the compose key.\nThanks for the hint.\n\n> \n>> Fortunately - you've now given me a character I can copy and paste.\n>>  (yes, of course it was already in my e-mail client)\n>>\n>> Perhaps I was giving you a chance to increase your patch count with a\n>> fixup patch later ;-)\n>>\n>>>> +\n>>>> +# The short X.Y version\n>>>> +version = ''\n>>>> +# The full version, including alpha/beta/rc tags\n>>>> +release = '0.1'\n>>>> +\n>>>> +\n>>>> +# -- General configuration ---------------------------------------------\n>>>> +\n>>>> +# If your documentation needs a minimal Sphinx version, state it here.\n>>>> +#\n>>>> +# needs_sphinx = '1.0'\n>>>> +\n>>>> +# Add any Sphinx extension module names here, as strings. They can be\n>>>> +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n>>>> +# ones.\n>>>> +extensions = [\n>>>> +]\n>>>> +\n>>>> +# Add any paths that contain templates here, relative to this directory.\n>>>> +templates_path = ['_templates']\n> \n> Do we have templates ? :-)\n\nNo (not currently)\n - but both _templates and _static are created by sphinx-quickstart.\n\nPerhaps I should add a .keep_empty file into those directories so they\ncan be added to git, to define the structure hierarchy ?\n\nI've done this locally ... as I believe it's the right thing to do so far.\n\n>>>> +# The suffix(es) of source filenames.\n>>>> +# You can specify multiple suffix as a list of string:\n>>>> +#\n>>>> +# source_suffix = ['.rst', '.md']\n>>>> +source_suffix = '.rst'\n>>>> +\n>>>> +# The master toctree document.\n>>>> +master_doc = 'index'\n>>>> +\n>>>> +# The language for content autogenerated by Sphinx. Refer to\n>>>> documentation\n>>>> +# for a list of supported languages.\n>>>> +#\n>>>> +# This is also used if you do content translation via gettext catalogs.\n>>>> +# Usually you set \"language\" from the command line for these cases.\n>>>> +language = None\n>>>> +\n>>>> +# List of patterns, relative to source directory, that match files and\n>>>> +# directories to ignore when looking for source files.\n>>>> +# This pattern also affects html_static_path and html_extra_path.\n>>>> +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n>>>> +\n>>>> +# The name of the Pygments (syntax highlighting) style to use.\n>>>> +pygments_style = None\n>>>> +\n>>>> +\n>>>> +# -- Options for HTML output -------------------------------------------\n>>>> +\n>>>> +# The theme to use for HTML and HTML Help pages.  See the documentation\n>>>> for\n>>>> +# a list of builtin themes.\n>>>> +#\n>>>> +html_theme = 'alabaster'\n> \n> Exercise for the reader : develop a theme matching http://www.libcamera.org.\n\nI think we should focus on getting some content in as a higher priority\nthat designing a custom theme. It should be done - but it will take\ntime. Of course contributions welcome.\n\n\nWould you foresee this generated documentation replacing the current\ncontent at libcamera.org entirely?\n\n\n\n>>>> +# Theme options are theme-specific and customize the look and feel of a\n>>>> theme\n>>>> +# further.  For a list of options available for each theme, see the\n>>>> +# documentation.\n>>>> +#\n>>>> +# html_theme_options = {}\n>>>> +\n>>>> +# Add any paths that contain custom static files (such as style sheets)\n>>>> here,\n>>>> +# relative to this directory. They are copied after the builtin static\n>>>> files,\n>>>> +# so a file named \"default.css\" will overwrite the builtin\n>>>> \"default.css\".\n>>>> +html_static_path = ['_static']\n>>>> +\n>>>> +# Custom sidebar templates, must be a dictionary that maps document\n>>>> names\n>>>> +# to template names.\n>>>> +#\n>>>> +# The default sidebars (for documents that don't match any pattern) are\n>>>> +# defined by theme itself.  Builtin themes are using these templates by\n>>>> +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n>>>> +# 'searchbox.html']``.\n>>>> +#\n>>>> +# html_sidebars = {}\n>>>> +\n>>>> +\n>>>> +# -- Options for HTMLHelp output ---------------------------------------\n>>>> +\n>>>> +# Output file base name for HTML help builder.\n>>>> +htmlhelp_basename = 'LibCameradoc'\n>>>> +\n>>>> +\n>>>> +# -- Options for LaTeX output ------------------------------------------\n>>>> +\n>>>> +latex_elements = {\n>>>> +    # The paper size ('letterpaper' or 'a4paper').\n>>>> +    #\n>>>> +    # 'papersize': 'letterpaper',\n>>>> +\n>>>> +    # The font size ('10pt', '11pt' or '12pt').\n>>>> +    #\n>>>> +    # 'pointsize': '10pt',\n>>>> +\n>>>> +    # Additional stuff for the LaTeX preamble.\n>>>> +    #\n>>>> +    # 'preamble': '',\n>>>> +\n>>>> +    # Latex figure (float) alignment\n>>>> +    #\n>>>> +    # 'figure_align': 'htbp',\n>>>> +}\n>>>> +\n>>>> +# Grouping the document tree into LaTeX files. List of tuples\n>>>> +# (source start file, target name, title,\n>>>> +#  author, documentclass [howto, manual, or own class]).\n>>>> +latex_documents = [\n>>>> +    (master_doc, 'LibCamera.tex', 'LibCamera Documentation',\n>>>> +     'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas Soderlund',\n>>>> 'manual'),\n>>>\n>>> :-)\n>>\n>> I'll update here as well.\n>>\n>>>> +]\n>>>> +\n>>>> +\n>>>> +# -- Options for manual page output ------------------------------------\n>>>> +\n>>>> +# One entry per manual page. List of tuples\n>>>> +# (source start file, name, description, authors, manual section).\n>>>> +man_pages = [\n>>>> +    (master_doc, 'libcamera', 'LibCamera Documentation',\n>>>> +     [author], 1)\n>>>> +]\n>>>> +\n>>>> +\n>>>> +# -- Options for Texinfo output\n>>>> ---------------------------------------------- +\n>>>> +# Grouping the document tree into Texinfo files. List of tuples\n>>>> +# (source start file, target name, title, author,\n>>>> +#  dir menu entry, description, category)\n>>>> +texinfo_documents = [\n>>>> +    (master_doc, 'LibCamera', 'LibCamera Documentation',\n>>>> +     author, 'LibCamera', 'One line description of project.',\n>>>> +     'Miscellaneous'),\n>>>> +]\n>>>> +\n>>>> +\n>>>> +# -- Options for Epub output\n>>>> ------------------------------------------------- +\n>>>> +# Bibliographic Dublin Core info.\n>>>> +epub_title = project\n>>>> +\n>>>> +# The unique identifier of the text. This can be a ISBN number\n>>>> +# or the project homepage.\n>>>> +#\n>>>> +# epub_identifier = ''\n>>>> +\n>>>> +# A unique identification for the text.\n>>>> +#\n>>>> +# epub_uid = ''\n>>>> +\n>>>> +# A list of files that should not be packed into the epub file.\n>>>> +epub_exclude_files = ['search.html']\n> \n> As we don't use latex, man pages, texinfo and epub, should we remove those \n> sections for now ?\n\nI'd rather keep them, and in the future, add targets to generate them.\n(if the required tools are available)\n\n\n\n>>>> \\ No newline at end of file\n> \n> No newline at end of file ?\n\nThat's how it was autogenerated :-)\n\nI've added it.\n\n\n> \n>>>> diff --git a/Documentation/hacking.rst b/Documentation/hacking.rst\n>>>> new file mode 100644\n>>>> index 000000000000..2dbee7f2b88d\n>>>> --- /dev/null\n>>>> +++ b/Documentation/hacking.rst\n> \n> The website currently stores the information below in a \"Contribute\" section. \n> I think that name is a bit more positive than \"hacking\" and would prefer \n> retaining it.\n\nI've done a global : s/hacking/contributing/\n\n> \n>>>> @@ -0,0 +1,42 @@\n>>>> +Hacking and Development\n> \n> Same here.\n> \n>>>> +=======================\n>>>> +\n>>>> +libcamera is developed as a free software project and welcomes\n>>>> contributors.\n>>>> +Whether you would like to help with coding, documentation, testing,\n>>>> proposing\n>>>> +new features, or just discussing the project with the community, you can\n>>>> join\n>>>> +our official public communication channels, or simply check out the\n>>>> code.\n>>>> +Mailing List\n>>>\n>>> This seems odd, should not the 'Mailing List' also have a line of - to\n>>> make it a subsection?\n>>\n>> Ah yes, thank you I had missed that. This was just a copy paste from the\n>> website.\n>>\n>>> With these issues addressed feel free to add\n>>>\n>>> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n>>\n>> I'll take this and commit to master :)>>\n>>>> +\n>>>> +We use a public mailing list as our main means of communication. You can\n>>>> find\n>>>> +subscription information and the messages archive on the libcamera-devel\n>>>> list\n>>>> +information page.\n>>\n>> It might help if I add a link to the libcamera-devel list page here too :)\n> \n> Agreed.\n\nAdded.\n\n\n> \n>>>> +\n>>>> +IRC Channel\n>>>> +-----------\n>>>> +\n>>>> +For informal and real time discussions, our IRC channel on Freenode is\n>>>> open to\n>>>> +the public. Point your IRC client to #libcamera to say hello,\n>>>> or use the `WebChat`_.\n>>>> +\n>>>> +.. _WebChat: https://webchat.freenode.net/?channels=%23libcamera&uio=d4\n>>>> +\n>>>> +Source Code\n>>>> +-----------\n>>>> +\n>>>> +libcamera is in early stages of development, and no releases are\n>>>> available yet.\n>>>> +The source code is available from the project's git tree, hosted by\n>>>> LinuxTV.\n>>>> +\n>>>> +  $ git clone git://linuxtv.org/libcamera.git\n>>>> +\n>>>> +Documentation\n>>>> +-------------\n>>>> +\n>>>> +Project documentation is created using `Sphinx`_.  Source level\n>>>> documentation\n>>>> +is currently planned to utilise Doxygen integration. Please use this in\n>>>> your\n>>>> +development.\n>>>> +\n>>>> +Sphinx integration with Doxygen will be with either `Breathe`_ or\n>>>> `Exhale`_\n>>>> +depending upon which system works best\n>>>> +\n>>>> +.. _Sphinx: http://www.sphinx-doc.org\n>>>> +.. _Breathe: https://breathe.readthedocs.io/en/latest/\n>>>> +.. _Exhale: https://exhale.readthedocs.io/en/latest/\n>>>> diff --git a/Documentation/index.rst b/Documentation/index.rst\n>>>> new file mode 100644\n>>>> index 000000000000..962192ec8ee8\n>>>> --- /dev/null\n>>>> +++ b/Documentation/index.rst\n>>>> @@ -0,0 +1,30 @@\n>>>> +LibCamera abstraction library\n> \n> Similarly here, you should write \"libcamera\". \"libcamera library\" seems a bit \n> redundant to me. Other options could be \"Linux Camera Library\", \"Linux Camera \n> Support Library\", \"Linux Camera Framework\", \"Linux Camera Framework Library\" \n> (possibly without the \"Linux\" prefix, even though the project targets Linux \n> only).\n\nShortened to just libcamera\n\n> \n>>>> +=============================\n>>>> +\n>>>> +Cameras are complex devices that need heavy hardware image processing\n>>>> +operations. Control of the processing is based on advanced algorithms\n>>>> that must +run on a programmable processor. This has traditionally been\n>>>> implemented in a +dedicated MCU in the camera, but in embedded devices\n>>>> algorithms have been moved +to the main CPU to save cost. Blurring the\n>>>> boundary between camera devices and +Linux often left the user with no\n>>>> other option than a vendor-specific +closed-source solution.\n>>>> +\n>>>> +To address this problem the Linux media community has very recently\n>>>> started +collaboration with the industry to develop a camera stack that\n>>>> will be +open-source-friendly while still protecting vendor core IP.\n>>>> libcamera was born +out of that collaboration and will offer modern\n>>>> camera support to Linux-based +systems, including traditional Linux\n>>>> distributions, ChromeOS and Android. +\n>>>> +\n>>>> +.. toctree::\n>>>> +   :maxdepth: 2\n>>>> +   :caption: Contents:\n>>>> +\n>>>> +   hacking\n>>>> +\n>>>> +\n>>>> +Indices and tables\n>>>> +==================\n>>>> +\n>>>> +* :ref:`genindex`\n>>>> +* :ref:`search`\n>>>> diff --git a/Documentation/meson.build b/Documentation/meson.build\n>>>> new file mode 100644\n>>>> index 000000000000..5ab04479d3fb\n>>>> --- /dev/null\n>>>> +++ b/Documentation/meson.build\n>>>> @@ -0,0 +1,20 @@\n>>>> +sphinx = find_program('sphinx-build-3', required: false)\n>>>> +if not sphinx.found()\n>>>> +    sphinx = find_program('sphinx-build', required: false)\n>>>> +endif\n>>>> +\n>>>> +if sphinx.found()\n>>>> +    docs_sources = [\n>>>> +\t'hacking.rst',\n>>>> +\t'index.rst',\n>>>> +    ]\n>>>> +\n>>>> +    custom_target('en user documentation',\n> \n> What does this stand for ? English user documentation ? End user documentation \n\nEnglish.\n\nPerhaps it's unlikely that we'll do translations, but the sample\nmeson.build I saw utilised this.\n\nI'll drop it (references to en), it's unlikely to happen, and we can\nalways indent if needed then.\n\nThis particular string is simply the text shown by ninja in this compile\nstage.\n\n\n> ?\n> \n>>>> +\t\t  command: [sphinx, '-W', '-b', 'html', meson.current_source_dir(),\n>>>> '@OUTPUT@'],\n>>>> +\t\t  input: docs_sources,\n>>>> +\t\t  output: 'en',\n>>>> +\t\t  build_by_default: true)\n>>>> +\n>>>> +    install_subdir(meson.current_build_dir() + '/en',\n>>>> +\t\t  install_dir: 'share/doc/libcamera-@0@/user'.format(api_version))\n> \n> Why the user/ directory ?\n\nIt was from the example integration. I can remove.\n\nI think it was distinguishing between documentation for a user utilising\nthe library API, and a separate set for developing on the library.\n\nDo you think we should have a similar split of documentation?\nOr all in one?\n\n\n> \n>>>> +endif\n> \n> [snip]\n>","headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 12A7D60002\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Nov 2018 18:58:47 +0100 (CET)","from [192.168.0.21]\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 5266558E;\n\tFri, 23 Nov 2018 18:58:46 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1542995926;\n\tbh=VhG8RF2o7RB2Rn0MOmXG5PdyoNW6C7BakFfLrvikDTE=;\n\th=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From;\n\tb=a09gG+YoWzWHi0cF5pv45MPFg0m4ZGWamyxW3n57GUJ5iOEzcf7k0f8zMjNgUxSHy\n\tBsdCOLfHYTMjzpfkOIxjBGTC0pC+KUYqtM6in+YCkl9uGa2Ev9G781CqSyfOhi+mIE\n\tTu0qby1jMxKdhB5RSM+7sjk/26gXLyXQEyGY7J/s=","Reply-To":"kieran.bingham@ideasonboard.com","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","References":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>\n\t<20181123131944.GD1158@bigcity.dyn.berto.se>\n\t<3fb796a7-958e-cbe3-dbee-dbdb19e77197@ideasonboard.com>\n\t<1598916.6xSdIj2yWm@avalon>","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Openpgp":"preference=signencrypt","Autocrypt":"addr=kieran.bingham@ideasonboard.com; keydata=\n\t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\n\tsbsRB8KNNvVXBOVNwko86rQqF9drZuw=","Organization":"Ideas on Board","Message-ID":"<0c10fbf5-e62a-413e-c150-77893a81a01d@ideasonboard.com>","Date":"Fri, 23 Nov 2018 17:58:43 +0000","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101\n\tThunderbird/60.2.1","MIME-Version":"1.0","In-Reply-To":"<1598916.6xSdIj2yWm@avalon>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-GB","Content-Transfer-Encoding":"8bit","Subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Fri, 23 Nov 2018 17:58:47 -0000"}},{"id":9,"web_url":"https://patchwork.libcamera.org/comment/9/","msgid":"<2773469.KMbaaLxQ7u@avalon>","date":"2018-11-23T18:43:59","subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Kieran,\n\nOn Friday, 23 November 2018 19:58:43 EET Kieran Bingham wrote:\n> On 23/11/2018 15:25, Laurent Pinchart wrote:\n> > On Friday, 23 November 2018 16:12:54 EET Kieran Bingham wrote:\n> >> On 23/11/2018 13:19, Niklas Söderlund wrote:\n> >>> On 2018-11-22 16:58:52 +0000, Kieran Bingham wrote:\n> >>>> Utilise sphinx-build to generate documentation in HTML form, and\n> >>>> populate with some initial content.\n> >>>> \n> >>>> An initial conf.py is generated from sphinx-quickstart and answering\n> >>>> initial questions.\n> >>>> \n> >>>> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> >>>> \n> >>>> ---\n> >>>> \n> >>>> v2:\n> >>>>  - Fix spelling in hacking.rst\n> >>>>  - Remove autogenerated comments at index.rst\n> >>>>  - Fix whitespaces\n> >>>>  - Remove autogenerated Makefile\n> >>>>  - Fix typos and grammar\n> >>>>  \n> >>>>  Documentation/conf.py     | 173 ++++++++++++++++++++++++++++++++++++++\n> >>>>  Documentation/hacking.rst |  42 +++++++++\n> >>>>  Documentation/index.rst   |  30 +++++++\n> >>>>  Documentation/meson.build |  20 +++++\n> >>>>  meson.build               |   6 ++\n> >>>>  5 files changed, 271 insertions(+)\n> >>>>  create mode 100644 Documentation/conf.py\n> >>>>  create mode 100644 Documentation/hacking.rst\n> >>>>  create mode 100644 Documentation/index.rst\n> >>>>  create mode 100644 Documentation/meson.build\n> >>>> \n> >>>> diff --git a/Documentation/conf.py b/Documentation/conf.py\n> >>>> new file mode 100644\n> >>>> index 000000000000..70d4e72c6902\n> >>>> --- /dev/null\n> >>>> +++ b/Documentation/conf.py\n> >>>> @@ -0,0 +1,173 @@\n> >>>> +# -*- coding: utf-8 -*-\n> >>>> +#\n> >>>> +# Configuration file for the Sphinx documentation builder.\n> >>>> +#\n> >>>> +# This file does only contain a selection of the most common options.\n> >>>> For a\n> >>>> +# full list see the documentation:\n> >>>> +# http://www.sphinx-doc.org/en/master/config\n> >>>> +\n> >>>> +# -- Path setup\n> >>>> --------------------------------------------------------\n> >>>> +\n> >>>> +# If extensions (or modules to document with autodoc) are in another\n> >>>> directory,\n> >>>> +# add these directories to sys.path here. If the directory is relative\n> >>>> to the\n> >>>> +# documentation root, use os.path.abspath to make it absolute, like\n> >>>> shown here.\n> >>>> +#\n> >>>> +# import os\n> >>>> +# import sys\n> >>>> +# sys.path.insert(0, os.path.abspath('.'))\n> > \n> > Should we remove the commented out options (and sections) ?\n> \n> Personally - I would say no.\n> \n> (I fairly intentionally left the auto-generated file as it was generated)\n> \n> This is essentially the closest (proximity) documentation for modifying\n> conf.py.\n\nI'm fine with that.\n\n> >>>> +# -- Project information\n> >>>> -----------------------------------------------\n> >>>> +\n> >>>> +project = 'LibCamera'\n> > \n> > Nitpicking, the project is called \"libcamera\" throughout the existing\n> > documentation.\n> \n> Ah yes, I'll correct it.\n> \n> >>>> +copyright = '2018, Kieran Bingham, Jacopo Mondi, Laurent Pinchart,\n> >>>> Niklas Soderlund' +author = 'Kieran Bingham, Jacopo Mondi, Laurent\n> >>>> Pinchart, Niklas Soderlund'\n> >>> \n> >>> My pretty döts seems to me missing :-)\n> >> \n> >> I have no idea how to generate those on my keyboard...\n> > \n> > Compose, u, \"\n> \n> ↓\" \"↓²ø² nope\n> \n> ö - Aha - got it.\n\nThe other option, of course, is to get a Belgian keyboard ;-)\n\n> > \",\" means \"followed by\", and the compose key is specific to your system\n> > (I've mapped it to AltGr+Win here).\n> \n> I had to use gnome-tweaks to configure the compose key.\n> Thanks for the hint.\n> \n> >> Fortunately - you've now given me a character I can copy and paste.\n> >> \n> >>  (yes, of course it was already in my e-mail client)\n> >> \n> >> Perhaps I was giving you a chance to increase your patch count with a\n> >> fixup patch later ;-)\n> >> \n> >>>> +\n> >>>> +# The short X.Y version\n> >>>> +version = ''\n> >>>> +# The full version, including alpha/beta/rc tags\n> >>>> +release = '0.1'\n> >>>> +\n> >>>> +\n> >>>> +# -- General configuration\n> >>>> ---------------------------------------------\n> >>>> +\n> >>>> +# If your documentation needs a minimal Sphinx version, state it here.\n> >>>> +#\n> >>>> +# needs_sphinx = '1.0'\n> >>>> +\n> >>>> +# Add any Sphinx extension module names here, as strings. They can be\n> >>>> +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n> >>>> +# ones.\n> >>>> +extensions = [\n> >>>> +]\n> >>>> +\n> >>>> +# Add any paths that contain templates here, relative to this\n> >>>> directory.\n> >>>> +templates_path = ['_templates']\n> > \n> > Do we have templates ? :-)\n> \n> No (not currently)\n>  - but both _templates and _static are created by sphinx-quickstart.\n> \n> Perhaps I should add a .keep_empty file into those directories so they\n> can be added to git, to define the structure hierarchy ?\n> \n> I've done this locally ... as I believe it's the right thing to do so far.\n\nWhat happens if someone clones the repository without those directories and \nattempts to build the documentation ? If it works we can keep it as-is, if it \nrequires empty _templates and _static directories then they should be in the \nrepository.\n\n> >>>> +# The suffix(es) of source filenames.\n> >>>> +# You can specify multiple suffix as a list of string:\n> >>>> +#\n> >>>> +# source_suffix = ['.rst', '.md']\n> >>>> +source_suffix = '.rst'\n> >>>> +\n> >>>> +# The master toctree document.\n> >>>> +master_doc = 'index'\n> >>>> +\n> >>>> +# The language for content autogenerated by Sphinx. Refer to\n> >>>> documentation\n> >>>> +# for a list of supported languages.\n> >>>> +#\n> >>>> +# This is also used if you do content translation via gettext\n> >>>> catalogs.\n> >>>> +# Usually you set \"language\" from the command line for these cases.\n> >>>> +language = None\n> >>>> +\n> >>>> +# List of patterns, relative to source directory, that match files and\n> >>>> +# directories to ignore when looking for source files.\n> >>>> +# This pattern also affects html_static_path and html_extra_path.\n> >>>> +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n> >>>> +\n> >>>> +# The name of the Pygments (syntax highlighting) style to use.\n> >>>> +pygments_style = None\n> >>>> +\n> >>>> +\n> >>>> +# -- Options for HTML output\n> >>>> -------------------------------------------\n> >>>> +\n> >>>> +# The theme to use for HTML and HTML Help pages.  See the\n> >>>> documentation\n> >>>> for\n> >>>> +# a list of builtin themes.\n> >>>> +#\n> >>>> +html_theme = 'alabaster'\n> > \n> > Exercise for the reader : develop a theme matching\n> > http://www.libcamera.org.\n> \n> I think we should focus on getting some content in as a higher priority\n> that designing a custom theme. It should be done - but it will take\n> time. Of course contributions welcome.\n\nSure. The reader wasn't meant to be you :-)\n\n> Would you foresee this generated documentation replacing the current\n> content at libcamera.org entirely?\n\nYes, I think we should aim for that, in order to keep the website in sync with \nthe source code. I would keep the front page static though, and I expect \nDocumentation/index.rst to diverge at some point. I'm not sure about the \n\"Contribute\" page, and to what extent it makes sense to include it in the \nlibrary documentation though, but I'm fine keeping the content as you've done \nin this patch.\n\n> >>>> +# Theme options are theme-specific and customize the look and feel of\n> >>>> a theme\n> >>>> +# further.  For a list of options available for each theme, see the\n> >>>> +# documentation.\n> >>>> +#\n> >>>> +# html_theme_options = {}\n> >>>> +\n> >>>> +# Add any paths that contain custom static files (such as style\n> >>>> sheets) here,\n> >>>> +# relative to this directory. They are copied after the builtin static\n> >>>> files,\n> >>>> +# so a file named \"default.css\" will overwrite the builtin\n> >>>> \"default.css\".\n> >>>> +html_static_path = ['_static']\n> >>>> +\n> >>>> +# Custom sidebar templates, must be a dictionary that maps document\n> >>>> names\n> >>>> +# to template names.\n> >>>> +#\n> >>>> +# The default sidebars (for documents that don't match any pattern)\n> >>>> are\n> >>>> +# defined by theme itself.  Builtin themes are using these templates\n> >>>> by\n> >>>> +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n> >>>> +# 'searchbox.html']``.\n> >>>> +#\n> >>>> +# html_sidebars = {}\n> >>>> +\n> >>>> +\n> >>>> +# -- Options for HTMLHelp output -------------------------------------\n> >>>> +\n> >>>> +# Output file base name for HTML help builder.\n> >>>> +htmlhelp_basename = 'LibCameradoc'\n> >>>> +\n> >>>> +\n> >>>> +# -- Options for LaTeX output ----------------------------------------\n> >>>> +\n> >>>> +latex_elements = {\n> >>>> +    # The paper size ('letterpaper' or 'a4paper').\n> >>>> +    #\n> >>>> +    # 'papersize': 'letterpaper',\n> >>>> +\n> >>>> +    # The font size ('10pt', '11pt' or '12pt').\n> >>>> +    #\n> >>>> +    # 'pointsize': '10pt',\n> >>>> +\n> >>>> +    # Additional stuff for the LaTeX preamble.\n> >>>> +    #\n> >>>> +    # 'preamble': '',\n> >>>> +\n> >>>> +    # Latex figure (float) alignment\n> >>>> +    #\n> >>>> +    # 'figure_align': 'htbp',\n> >>>> +}\n> >>>> +\n> >>>> +# Grouping the document tree into LaTeX files. List of tuples\n> >>>> +# (source start file, target name, title,\n> >>>> +#  author, documentclass [howto, manual, or own class]).\n> >>>> +latex_documents = [\n> >>>> +    (master_doc, 'LibCamera.tex', 'LibCamera Documentation',\n> >>>> +     'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas\n> >>>> Soderlund',\n> >>>> 'manual'),\n> >>>> \n> >>> :-)\n> >> \n> >> I'll update here as well.\n> >> \n> >>>> +]\n> >>>> +\n> >>>> +\n> >>>> +# -- Options for manual page output ----------------------------------\n> >>>> +\n> >>>> +# One entry per manual page. List of tuples\n> >>>> +# (source start file, name, description, authors, manual section).\n> >>>> +man_pages = [\n> >>>> +    (master_doc, 'libcamera', 'LibCamera Documentation',\n> >>>> +     [author], 1)\n> >>>> +]\n> >>>> +\n> >>>> +\n> >>>> +# -- Options for Texinfo output --------------------------------------\n> >>>> +\n> >>>> +# Grouping the document tree into Texinfo files. List of tuples\n> >>>> +# (source start file, target name, title, author,\n> >>>> +#  dir menu entry, description, category)\n> >>>> +texinfo_documents = [\n> >>>> +    (master_doc, 'LibCamera', 'LibCamera Documentation',\n> >>>> +     author, 'LibCamera', 'One line description of project.',\n> >>>> +     'Miscellaneous'),\n> >>>> +]\n> >>>> +\n> >>>> +\n> >>>> +# -- Options for Epub output -----------------------------------------\n> >>>> +\n> >>>> +# Bibliographic Dublin Core info.\n> >>>> +epub_title = project\n> >>>> +\n> >>>> +# The unique identifier of the text. This can be a ISBN number\n> >>>> +# or the project homepage.\n> >>>> +#\n> >>>> +# epub_identifier = ''\n> >>>> +\n> >>>> +# A unique identification for the text.\n> >>>> +#\n> >>>> +# epub_uid = ''\n> >>>> +\n> >>>> +# A list of files that should not be packed into the epub file.\n> >>>> +epub_exclude_files = ['search.html']\n> > \n> > As we don't use latex, man pages, texinfo and epub, should we remove those\n> > sections for now ?\n> \n> I'd rather keep them, and in the future, add targets to generate them.\n> (if the required tools are available)\n> \n> >>>> \\ No newline at end of file\n> > \n> > No newline at end of file ?\n> \n> That's how it was autogenerated :-)\n> \n> I've added it.\n> \n> >>>> diff --git a/Documentation/hacking.rst b/Documentation/hacking.rst\n> >>>> new file mode 100644\n> >>>> index 000000000000..2dbee7f2b88d\n> >>>> --- /dev/null\n> >>>> +++ b/Documentation/hacking.rst\n> > \n> > The website currently stores the information below in a \"Contribute\"\n> > section. I think that name is a bit more positive than \"hacking\" and\n> > would prefer retaining it.\n> \n> I've done a global : s/hacking/contributing/\n> \n> >>>> @@ -0,0 +1,42 @@\n> >>>> +Hacking and Development\n> > \n> > Same here.\n> > \n> >>>> +=======================\n> >>>> +\n> >>>> +libcamera is developed as a free software project and welcomes\n> >>>> contributors.\n> >>>> +Whether you would like to help with coding, documentation, testing,\n> >>>> proposing\n> >>>> +new features, or just discussing the project with the community, you\n> >>>> can join\n> >>>> +our official public communication channels, or simply check out the\n> >>>> code.\n> >>>> +Mailing List\n> >>> \n> >>> This seems odd, should not the 'Mailing List' also have a line of - to\n> >>> make it a subsection?\n> >> \n> >> Ah yes, thank you I had missed that. This was just a copy paste from the\n> >> website.\n> >> \n> >>> With these issues addressed feel free to add\n> >>> \n> >>> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n> >> \n> >> I'll take this and commit to master :)\n> >> \n> >>>> +\n> >>>> +We use a public mailing list as our main means of communication. You\n> >>>> can find\n> >>>> +subscription information and the messages archive on the\n> >>>> libcamera-devel list\n> >>>> +information page.\n> >> \n> >> It might help if I add a link to the libcamera-devel list page here too\n> >> :)\n> > \n> > Agreed.\n> \n> Added.\n> \n> >>>> +\n> >>>> +IRC Channel\n> >>>> +-----------\n> >>>> +\n> >>>> +For informal and real time discussions, our IRC channel on Freenode is\n> >>>> open to\n> >>>> +the public. Point your IRC client to #libcamera to say hello,\n> >>>> or use the `WebChat`_.\n> >>>> +\n> >>>> +.. _WebChat:\n> >>>> https://webchat.freenode.net/?channels=%23libcamera&uio=d4\n> >>>> +\n> >>>> +Source Code\n> >>>> +-----------\n> >>>> +\n> >>>> +libcamera is in early stages of development, and no releases are\n> >>>> available yet.\n> >>>> +The source code is available from the project's git tree, hosted by\n> >>>> LinuxTV.\n> >>>> +\n> >>>> +  $ git clone git://linuxtv.org/libcamera.git\n> >>>> +\n> >>>> +Documentation\n> >>>> +-------------\n> >>>> +\n> >>>> +Project documentation is created using `Sphinx`_.  Source level\n> >>>> documentation\n> >>>> +is currently planned to utilise Doxygen integration. Please use this\n> >>>> in your\n> >>>> +development.\n> >>>> +\n> >>>> +Sphinx integration with Doxygen will be with either `Breathe`_ or\n> >>>> `Exhale`_\n> >>>> +depending upon which system works best\n> >>>> +\n> >>>> +.. _Sphinx: http://www.sphinx-doc.org\n> >>>> +.. _Breathe: https://breathe.readthedocs.io/en/latest/\n> >>>> +.. _Exhale: https://exhale.readthedocs.io/en/latest/\n> >>>> diff --git a/Documentation/index.rst b/Documentation/index.rst\n> >>>> new file mode 100644\n> >>>> index 000000000000..962192ec8ee8\n> >>>> --- /dev/null\n> >>>> +++ b/Documentation/index.rst\n> >>>> @@ -0,0 +1,30 @@\n> >>>> +LibCamera abstraction library\n> > \n> > Similarly here, you should write \"libcamera\". \"libcamera library\" seems a\n> > bit redundant to me. Other options could be \"Linux Camera Library\",\n> > \"Linux Camera Support Library\", \"Linux Camera Framework\", \"Linux Camera\n> > Framework Library\" (possibly without the \"Linux\" prefix, even though the\n> > project targets Linux only).\n> \n> Shortened to just libcamera\n\nWorks for me.\n\n> >>>> +=============================\n> >>>> +\n> >>>> +Cameras are complex devices that need heavy hardware image processing\n> >>>> +operations. Control of the processing is based on advanced algorithms\n> >>>> that must +run on a programmable processor. This has traditionally been\n> >>>> implemented in a +dedicated MCU in the camera, but in embedded devices\n> >>>> algorithms have been moved +to the main CPU to save cost. Blurring the\n> >>>> boundary between camera devices and +Linux often left the user with no\n> >>>> other option than a vendor-specific +closed-source solution.\n> >>>> +\n> >>>> +To address this problem the Linux media community has very recently\n> >>>> started +collaboration with the industry to develop a camera stack that\n> >>>> will be +open-source-friendly while still protecting vendor core IP.\n> >>>> libcamera was born +out of that collaboration and will offer modern\n> >>>> camera support to Linux-based +systems, including traditional Linux\n> >>>> distributions, ChromeOS and Android. +\n> >>>> +\n> >>>> +.. toctree::\n> >>>> +   :maxdepth: 2\n> >>>> +   :caption: Contents:\n> >>>> +\n> >>>> +   hacking\n> >>>> +\n> >>>> +\n> >>>> +Indices and tables\n> >>>> +==================\n> >>>> +\n> >>>> +* :ref:`genindex`\n> >>>> +* :ref:`search`\n> >>>> diff --git a/Documentation/meson.build b/Documentation/meson.build\n> >>>> new file mode 100644\n> >>>> index 000000000000..5ab04479d3fb\n> >>>> --- /dev/null\n> >>>> +++ b/Documentation/meson.build\n> >>>> @@ -0,0 +1,20 @@\n> >>>> +sphinx = find_program('sphinx-build-3', required: false)\n> >>>> +if not sphinx.found()\n> >>>> +    sphinx = find_program('sphinx-build', required: false)\n> >>>> +endif\n> >>>> +\n> >>>> +if sphinx.found()\n> >>>> +    docs_sources = [\n> >>>> +\t'hacking.rst',\n> >>>> +\t'index.rst',\n> >>>> +    ]\n> >>>> +\n> >>>> +    custom_target('en user documentation',\n> > \n> > What does this stand for ? English user documentation ? End user\n> > documentation\n> \n> English.\n> \n> Perhaps it's unlikely that we'll do translations, but the sample\n> meson.build I saw utilised this.\n> \n> I'll drop it (references to en), it's unlikely to happen, and we can\n> always indent if needed then.\n> \n> This particular string is simply the text shown by ninja in this compile\n> stage.\n\nLet's just go for \"documentation\" for now then. I don't think we'll translate \nit any time soon :-)\n\nHow are custom targets invoked with ninja ? You're building the documentation \nby default, and I think that's the right thing to do in order to catch errors, \nbut what if the target wasn't build_by_default, how would it be invoked ?\n\n> > ?\n> > \n> >>>> +\t\t  command: [sphinx, '-W', '-b', 'html', \nmeson.current_source_dir(),\n> >>>> '@OUTPUT@'],\n> >>>> +\t\t  input: docs_sources,\n> >>>> +\t\t  output: 'en',\n> >>>> +\t\t  build_by_default: true)\n> >>>> +\n> >>>> +    install_subdir(meson.current_build_dir() + '/en',\n> >>>> +\t\t  install_dir: 'share/doc/libcamera-@0@/\nuser'.format(api_version))\n> > \n> > Why the user/ directory ?\n> \n> It was from the example integration. I can remove.\n> \n> I think it was distinguishing between documentation for a user utilising\n> the library API, and a separate set for developing on the library.\n> \n> Do you think we should have a similar split of documentation?\n> Or all in one?\n\nI would go for all in one to start with. If we need to split later we'll do \nit.\n\n> >>>> +endif\n> > \n> > [snip]","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CB8E260002\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Nov 2018 19:43:39 +0100 (CET)","from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2AA0D58E;\n\tFri, 23 Nov 2018 19:43:39 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1542998619;\n\tbh=nU8KTH8PIm3kwlhQSJx0XRoCfmDU4PFZ12e85gs7UYM=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=YwI/sAUTAhOJbZ6lxeyezeZWzoWhi90YAv+DW26NQSQSE2YL66npl488NokMqoG2O\n\tkKSFlrpWeizGOf97hDqUJT3n4A0amga6R0nTmsOKsQxTKN1Mv+Ao5l+Q3kOZN/YRxo\n\tKLSvMH1s+doDBXiPftiGJdI4eSikbuL2gJsoQgBg=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"kieran.bingham@ideasonboard.com","Cc":"libcamera-devel@lists.libcamera.org, Niklas =?iso-8859-1?q?S=F6derlund?=\n\t<niklas.soderlund@ragnatech.se>","Date":"Fri, 23 Nov 2018 20:43:59 +0200","Message-ID":"<2773469.KMbaaLxQ7u@avalon>","Organization":"Ideas on Board Oy","In-Reply-To":"<0c10fbf5-e62a-413e-c150-77893a81a01d@ideasonboard.com>","References":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>\n\t<1598916.6xSdIj2yWm@avalon>\n\t<0c10fbf5-e62a-413e-c150-77893a81a01d@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","Content-Type":"text/plain; charset=\"UTF-8\"","Subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Fri, 23 Nov 2018 18:43:41 -0000"}},{"id":10,"web_url":"https://patchwork.libcamera.org/comment/10/","msgid":"<eee4d710-4ed3-2422-97ca-5530a7c06a30@ideasonboard.com>","date":"2018-11-26T11:12:37","subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Hi Laurent,\n\nOn 23/11/2018 18:43, Laurent Pinchart wrote:\n> Hi Kieran,\n> \n> On Friday, 23 November 2018 19:58:43 EET Kieran Bingham wrote:\n>> On 23/11/2018 15:25, Laurent Pinchart wrote:\n>>> On Friday, 23 November 2018 16:12:54 EET Kieran Bingham wrote:\n>>>> On 23/11/2018 13:19, Niklas Söderlund wrote:\n>>>>> On 2018-11-22 16:58:52 +0000, Kieran Bingham wrote:\n>>>>>> Utilise sphinx-build to generate documentation in HTML form, and\n>>>>>> populate with some initial content.\n>>>>>>\n>>>>>> An initial conf.py is generated from sphinx-quickstart and answering\n>>>>>> initial questions.\n>>>>>>\n>>>>>> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n>>>>>>\n>>>>>> ---\n>>>>>>\n>>>>>> v2:\n>>>>>>  - Fix spelling in hacking.rst\n>>>>>>  - Remove autogenerated comments at index.rst\n>>>>>>  - Fix whitespaces\n>>>>>>  - Remove autogenerated Makefile\n>>>>>>  - Fix typos and grammar\n>>>>>>  \n>>>>>>  Documentation/conf.py     | 173 ++++++++++++++++++++++++++++++++++++++\n>>>>>>  Documentation/hacking.rst |  42 +++++++++\n>>>>>>  Documentation/index.rst   |  30 +++++++\n>>>>>>  Documentation/meson.build |  20 +++++\n>>>>>>  meson.build               |   6 ++\n>>>>>>  5 files changed, 271 insertions(+)\n>>>>>>  create mode 100644 Documentation/conf.py\n>>>>>>  create mode 100644 Documentation/hacking.rst\n>>>>>>  create mode 100644 Documentation/index.rst\n>>>>>>  create mode 100644 Documentation/meson.build\n>>>>>>\n>>>>>> diff --git a/Documentation/conf.py b/Documentation/conf.py\n>>>>>> new file mode 100644\n>>>>>> index 000000000000..70d4e72c6902\n>>>>>> --- /dev/null\n>>>>>> +++ b/Documentation/conf.py\n>>>>>> @@ -0,0 +1,173 @@\n>>>>>> +# -*- coding: utf-8 -*-\n>>>>>> +#\n>>>>>> +# Configuration file for the Sphinx documentation builder.\n>>>>>> +#\n>>>>>> +# This file does only contain a selection of the most common options.\n>>>>>> For a\n>>>>>> +# full list see the documentation:\n>>>>>> +# http://www.sphinx-doc.org/en/master/config\n>>>>>> +\n>>>>>> +# -- Path setup\n>>>>>> --------------------------------------------------------\n>>>>>> +\n>>>>>> +# If extensions (or modules to document with autodoc) are in another\n>>>>>> directory,\n>>>>>> +# add these directories to sys.path here. If the directory is relative\n>>>>>> to the\n>>>>>> +# documentation root, use os.path.abspath to make it absolute, like\n>>>>>> shown here.\n>>>>>> +#\n>>>>>> +# import os\n>>>>>> +# import sys\n>>>>>> +# sys.path.insert(0, os.path.abspath('.'))\n>>>\n>>> Should we remove the commented out options (and sections) ?\n>>\n>> Personally - I would say no.\n>>\n>> (I fairly intentionally left the auto-generated file as it was generated)\n>>\n>> This is essentially the closest (proximity) documentation for modifying\n>> conf.py.\n> \n> I'm fine with that.\n> \n>>>>>> +# -- Project information\n>>>>>> -----------------------------------------------\n>>>>>> +\n>>>>>> +project = 'LibCamera'\n>>>\n>>> Nitpicking, the project is called \"libcamera\" throughout the existing\n>>> documentation.\n>>\n>> Ah yes, I'll correct it.\n>>\n>>>>>> +copyright = '2018, Kieran Bingham, Jacopo Mondi, Laurent Pinchart,\n>>>>>> Niklas Soderlund' +author = 'Kieran Bingham, Jacopo Mondi, Laurent\n>>>>>> Pinchart, Niklas Soderlund'\n>>>>>\n>>>>> My pretty döts seems to me missing :-)\n>>>>\n>>>> I have no idea how to generate those on my keyboard...\n>>>\n>>> Compose, u, \"\n>>\n>> ↓\" \"↓²ø² nope\n>>\n>> ö - Aha - got it.\n> \n> The other option, of course, is to get a Belgian keyboard ;-)\n> \n>>> \",\" means \"followed by\", and the compose key is specific to your system\n>>> (I've mapped it to AltGr+Win here).\n>>\n>> I had to use gnome-tweaks to configure the compose key.\n>> Thanks for the hint.\n>>\n>>>> Fortunately - you've now given me a character I can copy and paste.\n>>>>\n>>>>  (yes, of course it was already in my e-mail client)\n>>>>\n>>>> Perhaps I was giving you a chance to increase your patch count with a\n>>>> fixup patch later ;-)\n>>>>\n>>>>>> +\n>>>>>> +# The short X.Y version\n>>>>>> +version = ''\n>>>>>> +# The full version, including alpha/beta/rc tags\n>>>>>> +release = '0.1'\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- General configuration\n>>>>>> ---------------------------------------------\n>>>>>> +\n>>>>>> +# If your documentation needs a minimal Sphinx version, state it here.\n>>>>>> +#\n>>>>>> +# needs_sphinx = '1.0'\n>>>>>> +\n>>>>>> +# Add any Sphinx extension module names here, as strings. They can be\n>>>>>> +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n>>>>>> +# ones.\n>>>>>> +extensions = [\n>>>>>> +]\n>>>>>> +\n>>>>>> +# Add any paths that contain templates here, relative to this\n>>>>>> directory.\n>>>>>> +templates_path = ['_templates']\n>>>\n>>> Do we have templates ? :-)\n>>\n>> No (not currently)\n>>  - but both _templates and _static are created by sphinx-quickstart.\n>>\n>> Perhaps I should add a .keep_empty file into those directories so they\n>> can be added to git, to define the structure hierarchy ?\n>>\n>> I've done this locally ... as I believe it's the right thing to do so far.\n> \n> What happens if someone clones the repository without those directories and \n> attempts to build the documentation ? If it works we can keep it as-is, if it \n> requires empty _templates and _static directories then they should be in the \n> repository.\n\n\nIt seems that _static *must* exist. _templates is optional.\nHowever, if I'm adding one, I'd rather add both as they represent the\nstructure of the framework rather than content.\n\n\n\n>>>>>> +# The suffix(es) of source filenames.\n>>>>>> +# You can specify multiple suffix as a list of string:\n>>>>>> +#\n>>>>>> +# source_suffix = ['.rst', '.md']\n>>>>>> +source_suffix = '.rst'\n>>>>>> +\n>>>>>> +# The master toctree document.\n>>>>>> +master_doc = 'index'\n>>>>>> +\n>>>>>> +# The language for content autogenerated by Sphinx. Refer to\n>>>>>> documentation\n>>>>>> +# for a list of supported languages.\n>>>>>> +#\n>>>>>> +# This is also used if you do content translation via gettext\n>>>>>> catalogs.\n>>>>>> +# Usually you set \"language\" from the command line for these cases.\n>>>>>> +language = None\n>>>>>> +\n>>>>>> +# List of patterns, relative to source directory, that match files and\n>>>>>> +# directories to ignore when looking for source files.\n>>>>>> +# This pattern also affects html_static_path and html_extra_path.\n>>>>>> +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n>>>>>> +\n>>>>>> +# The name of the Pygments (syntax highlighting) style to use.\n>>>>>> +pygments_style = None\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- Options for HTML output\n>>>>>> -------------------------------------------\n>>>>>> +\n>>>>>> +# The theme to use for HTML and HTML Help pages.  See the\n>>>>>> documentation\n>>>>>> for\n>>>>>> +# a list of builtin themes.\n>>>>>> +#\n>>>>>> +html_theme = 'alabaster'\n>>>\n>>> Exercise for the reader : develop a theme matching\n>>> http://www.libcamera.org.\n>>\n>> I think we should focus on getting some content in as a higher priority\n>> that designing a custom theme. It should be done - but it will take\n>> time. Of course contributions welcome.\n> \n> Sure. The reader wasn't meant to be you :-)\n> \n>> Would you foresee this generated documentation replacing the current\n>> content at libcamera.org entirely?\n> \n> Yes, I think we should aim for that, in order to keep the website in sync with \n> the source code. I would keep the front page static though, and I expect \n> Documentation/index.rst to diverge at some point. I'm not sure about the \n> \"Contribute\" page, and to what extent it makes sense to include it in the \n> library documentation though, but I'm fine keeping the content as you've done \n> in this patch.\n\nOk - well my main aim at the moment is ensuring we have a framework to\nmove forwards with, which I think this patch pretty much does.\n\n\n>>>>>> +# Theme options are theme-specific and customize the look and feel of\n>>>>>> a theme\n>>>>>> +# further.  For a list of options available for each theme, see the\n>>>>>> +# documentation.\n>>>>>> +#\n>>>>>> +# html_theme_options = {}\n>>>>>> +\n>>>>>> +# Add any paths that contain custom static files (such as style\n>>>>>> sheets) here,\n>>>>>> +# relative to this directory. They are copied after the builtin static\n>>>>>> files,\n>>>>>> +# so a file named \"default.css\" will overwrite the builtin\n>>>>>> \"default.css\".\n>>>>>> +html_static_path = ['_static']\n>>>>>> +\n>>>>>> +# Custom sidebar templates, must be a dictionary that maps document\n>>>>>> names\n>>>>>> +# to template names.\n>>>>>> +#\n>>>>>> +# The default sidebars (for documents that don't match any pattern)\n>>>>>> are\n>>>>>> +# defined by theme itself.  Builtin themes are using these templates\n>>>>>> by\n>>>>>> +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n>>>>>> +# 'searchbox.html']``.\n>>>>>> +#\n>>>>>> +# html_sidebars = {}\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- Options for HTMLHelp output -------------------------------------\n>>>>>> +\n>>>>>> +# Output file base name for HTML help builder.\n>>>>>> +htmlhelp_basename = 'LibCameradoc'\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- Options for LaTeX output ----------------------------------------\n>>>>>> +\n>>>>>> +latex_elements = {\n>>>>>> +    # The paper size ('letterpaper' or 'a4paper').\n>>>>>> +    #\n>>>>>> +    # 'papersize': 'letterpaper',\n>>>>>> +\n>>>>>> +    # The font size ('10pt', '11pt' or '12pt').\n>>>>>> +    #\n>>>>>> +    # 'pointsize': '10pt',\n>>>>>> +\n>>>>>> +    # Additional stuff for the LaTeX preamble.\n>>>>>> +    #\n>>>>>> +    # 'preamble': '',\n>>>>>> +\n>>>>>> +    # Latex figure (float) alignment\n>>>>>> +    #\n>>>>>> +    # 'figure_align': 'htbp',\n>>>>>> +}\n>>>>>> +\n>>>>>> +# Grouping the document tree into LaTeX files. List of tuples\n>>>>>> +# (source start file, target name, title,\n>>>>>> +#  author, documentclass [howto, manual, or own class]).\n>>>>>> +latex_documents = [\n>>>>>> +    (master_doc, 'LibCamera.tex', 'LibCamera Documentation',\n>>>>>> +     'Kieran Bingham, Jacopo Mondi, Laurent Pinchart, Niklas\n>>>>>> Soderlund',\n>>>>>> 'manual'),\n>>>>>>\n>>>>> :-)\n>>>>\n>>>> I'll update here as well.\n>>>>\n>>>>>> +]\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- Options for manual page output ----------------------------------\n>>>>>> +\n>>>>>> +# One entry per manual page. List of tuples\n>>>>>> +# (source start file, name, description, authors, manual section).\n>>>>>> +man_pages = [\n>>>>>> +    (master_doc, 'libcamera', 'LibCamera Documentation',\n>>>>>> +     [author], 1)\n>>>>>> +]\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- Options for Texinfo output --------------------------------------\n>>>>>> +\n>>>>>> +# Grouping the document tree into Texinfo files. List of tuples\n>>>>>> +# (source start file, target name, title, author,\n>>>>>> +#  dir menu entry, description, category)\n>>>>>> +texinfo_documents = [\n>>>>>> +    (master_doc, 'LibCamera', 'LibCamera Documentation',\n>>>>>> +     author, 'LibCamera', 'One line description of project.',\n>>>>>> +     'Miscellaneous'),\n>>>>>> +]\n>>>>>> +\n>>>>>> +\n>>>>>> +# -- Options for Epub output -----------------------------------------\n>>>>>> +\n>>>>>> +# Bibliographic Dublin Core info.\n>>>>>> +epub_title = project\n>>>>>> +\n>>>>>> +# The unique identifier of the text. This can be a ISBN number\n>>>>>> +# or the project homepage.\n>>>>>> +#\n>>>>>> +# epub_identifier = ''\n>>>>>> +\n>>>>>> +# A unique identification for the text.\n>>>>>> +#\n>>>>>> +# epub_uid = ''\n>>>>>> +\n>>>>>> +# A list of files that should not be packed into the epub file.\n>>>>>> +epub_exclude_files = ['search.html']\n>>>\n>>> As we don't use latex, man pages, texinfo and epub, should we remove those\n>>> sections for now ?\n>>\n>> I'd rather keep them, and in the future, add targets to generate them.\n>> (if the required tools are available)\n>>\n>>>>>> \\ No newline at end of file\n>>>\n>>> No newline at end of file ?\n>>\n>> That's how it was autogenerated :-)\n>>\n>> I've added it.\n>>\n>>>>>> diff --git a/Documentation/hacking.rst b/Documentation/hacking.rst\n>>>>>> new file mode 100644\n>>>>>> index 000000000000..2dbee7f2b88d\n>>>>>> --- /dev/null\n>>>>>> +++ b/Documentation/hacking.rst\n>>>\n>>> The website currently stores the information below in a \"Contribute\"\n>>> section. I think that name is a bit more positive than \"hacking\" and\n>>> would prefer retaining it.\n>>\n>> I've done a global : s/hacking/contributing/\n>>\n>>>>>> @@ -0,0 +1,42 @@\n>>>>>> +Hacking and Development\n>>>\n>>> Same here.\n>>>\n>>>>>> +=======================\n>>>>>> +\n>>>>>> +libcamera is developed as a free software project and welcomes\n>>>>>> contributors.\n>>>>>> +Whether you would like to help with coding, documentation, testing,\n>>>>>> proposing\n>>>>>> +new features, or just discussing the project with the community, you\n>>>>>> can join\n>>>>>> +our official public communication channels, or simply check out the\n>>>>>> code.\n>>>>>> +Mailing List\n>>>>>\n>>>>> This seems odd, should not the 'Mailing List' also have a line of - to\n>>>>> make it a subsection?\n>>>>\n>>>> Ah yes, thank you I had missed that. This was just a copy paste from the\n>>>> website.\n>>>>\n>>>>> With these issues addressed feel free to add\n>>>>>\n>>>>> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n>>>>\n>>>> I'll take this and commit to master :)\n>>>>\n>>>>>> +\n>>>>>> +We use a public mailing list as our main means of communication. You\n>>>>>> can find\n>>>>>> +subscription information and the messages archive on the\n>>>>>> libcamera-devel list\n>>>>>> +information page.\n>>>>\n>>>> It might help if I add a link to the libcamera-devel list page here too\n>>>> :)\n>>>\n>>> Agreed.\n>>\n>> Added.\n>>\n>>>>>> +\n>>>>>> +IRC Channel\n>>>>>> +-----------\n>>>>>> +\n>>>>>> +For informal and real time discussions, our IRC channel on Freenode is\n>>>>>> open to\n>>>>>> +the public. Point your IRC client to #libcamera to say hello,\n>>>>>> or use the `WebChat`_.\n>>>>>> +\n>>>>>> +.. _WebChat:\n>>>>>> https://webchat.freenode.net/?channels=%23libcamera&uio=d4\n>>>>>> +\n>>>>>> +Source Code\n>>>>>> +-----------\n>>>>>> +\n>>>>>> +libcamera is in early stages of development, and no releases are\n>>>>>> available yet.\n>>>>>> +The source code is available from the project's git tree, hosted by\n>>>>>> LinuxTV.\n>>>>>> +\n>>>>>> +  $ git clone git://linuxtv.org/libcamera.git\n>>>>>> +\n>>>>>> +Documentation\n>>>>>> +-------------\n>>>>>> +\n>>>>>> +Project documentation is created using `Sphinx`_.  Source level\n>>>>>> documentation\n>>>>>> +is currently planned to utilise Doxygen integration. Please use this\n>>>>>> in your\n>>>>>> +development.\n>>>>>> +\n>>>>>> +Sphinx integration with Doxygen will be with either `Breathe`_ or\n>>>>>> `Exhale`_\n>>>>>> +depending upon which system works best\n>>>>>> +\n>>>>>> +.. _Sphinx: http://www.sphinx-doc.org\n>>>>>> +.. _Breathe: https://breathe.readthedocs.io/en/latest/\n>>>>>> +.. _Exhale: https://exhale.readthedocs.io/en/latest/\n>>>>>> diff --git a/Documentation/index.rst b/Documentation/index.rst\n>>>>>> new file mode 100644\n>>>>>> index 000000000000..962192ec8ee8\n>>>>>> --- /dev/null\n>>>>>> +++ b/Documentation/index.rst\n>>>>>> @@ -0,0 +1,30 @@\n>>>>>> +LibCamera abstraction library\n>>>\n>>> Similarly here, you should write \"libcamera\". \"libcamera library\" seems a\n>>> bit redundant to me. Other options could be \"Linux Camera Library\",\n>>> \"Linux Camera Support Library\", \"Linux Camera Framework\", \"Linux Camera\n>>> Framework Library\" (possibly without the \"Linux\" prefix, even though the\n>>> project targets Linux only).\n>>\n>> Shortened to just libcamera\n> \n> Works for me.\n> \n>>>>>> +=============================\n>>>>>> +\n>>>>>> +Cameras are complex devices that need heavy hardware image processing\n>>>>>> +operations. Control of the processing is based on advanced algorithms\n>>>>>> that must +run on a programmable processor. This has traditionally been\n>>>>>> implemented in a +dedicated MCU in the camera, but in embedded devices\n>>>>>> algorithms have been moved +to the main CPU to save cost. Blurring the\n>>>>>> boundary between camera devices and +Linux often left the user with no\n>>>>>> other option than a vendor-specific +closed-source solution.\n>>>>>> +\n>>>>>> +To address this problem the Linux media community has very recently\n>>>>>> started +collaboration with the industry to develop a camera stack that\n>>>>>> will be +open-source-friendly while still protecting vendor core IP.\n>>>>>> libcamera was born +out of that collaboration and will offer modern\n>>>>>> camera support to Linux-based +systems, including traditional Linux\n>>>>>> distributions, ChromeOS and Android. +\n>>>>>> +\n>>>>>> +.. toctree::\n>>>>>> +   :maxdepth: 2\n>>>>>> +   :caption: Contents:\n>>>>>> +\n>>>>>> +   hacking\n>>>>>> +\n>>>>>> +\n>>>>>> +Indices and tables\n>>>>>> +==================\n>>>>>> +\n>>>>>> +* :ref:`genindex`\n>>>>>> +* :ref:`search`\n>>>>>> diff --git a/Documentation/meson.build b/Documentation/meson.build\n>>>>>> new file mode 100644\n>>>>>> index 000000000000..5ab04479d3fb\n>>>>>> --- /dev/null\n>>>>>> +++ b/Documentation/meson.build\n>>>>>> @@ -0,0 +1,20 @@\n>>>>>> +sphinx = find_program('sphinx-build-3', required: false)\n>>>>>> +if not sphinx.found()\n>>>>>> +    sphinx = find_program('sphinx-build', required: false)\n>>>>>> +endif\n>>>>>> +\n>>>>>> +if sphinx.found()\n>>>>>> +    docs_sources = [\n>>>>>> +\t'hacking.rst',\n>>>>>> +\t'index.rst',\n>>>>>> +    ]\n>>>>>> +\n>>>>>> +    custom_target('en user documentation',\n>>>\n>>> What does this stand for ? English user documentation ? End user\n>>> documentation\n>>\n>> English.\n>>\n>> Perhaps it's unlikely that we'll do translations, but the sample\n>> meson.build I saw utilised this.\n>>\n>> I'll drop it (references to en), it's unlikely to happen, and we can\n>> always indent if needed then.\n>>\n>> This particular string is simply the text shown by ninja in this compile\n>> stage.\n> \n> Let's just go for \"documentation\" for now then. I don't think we'll translate \n> it any time soon :-)\n> \n> How are custom targets invoked with ninja ? You're building the documentation \n> by default, and I think that's the right thing to do in order to catch errors, \n> but what if the target wasn't build_by_default, how would it be invoked ?\n\nCurrently, I don't know. It's not particularly clear how to make custom\nnamed targets. As far as I can tell - the ninja targets are simply the\noutput paths.\n\nIt can go on a todo-list for things to learn and develop next.\n\nPatches welcome :-)\n\n\n>>> ?\n>>>\n>>>>>> +\t\t  command: [sphinx, '-W', '-b', 'html', \n> meson.current_source_dir(),\n>>>>>> '@OUTPUT@'],\n>>>>>> +\t\t  input: docs_sources,\n>>>>>> +\t\t  output: 'en',\n\nin fact, I think this output: 'en', should be replaced by 'html' as we\nare generating HTML documentation in this build target.\nPerhaps other build targets would generate 'man', 'pdf' etc, which may\nnot need to be their own subdirectories, if they generate a single file\n- but html does feel like it needs it's own place.\n\n\n\n>>>>>> +\t\t  build_by_default: true)\n>>>>>> +\n>>>>>> +    install_subdir(meson.current_build_dir() + '/en',\n>>>>>> +\t\t  install_dir: 'share/doc/libcamera-@0@/\n> user'.format(api_version))\n>>>\n>>> Why the user/ directory ?\n>>\n>> It was from the example integration. I can remove.\n>>\n>> I think it was distinguishing between documentation for a user utilising\n>> the library API, and a separate set for developing on the library.\n>>\n>> Do you think we should have a similar split of documentation?\n>> Or all in one?\n> \n> I would go for all in one to start with. If we need to split later we'll do \n> it.\n\nAgreed, I'll clean up and remove the layer.\n\n\nUpdated patch sent.\n\n\n>>>>>> +endif\n>>>\n>>> [snip]\n>","headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6450160B0B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Nov 2018 12:12:40 +0100 (CET)","from [192.168.0.21]\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7C623544;\n\tMon, 26 Nov 2018 12:12:39 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1543230760;\n\tbh=MIwWu9u3ZDJ7XUKxpBC9L8fdYIaJOdk6HPBvbdvLPes=;\n\th=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From;\n\tb=oiF5wfrl0Kpckl3lp1ZgA4JsTzFs74Y/brnTiRuSEtagbjodXglmpBVxjAYy2RCPC\n\tvgc1UtXRAP2ScKsqldvMYBCh+Xy4F3DHJ/ZdE/04PzItie+QPIWM4QLrOnH2hihB/q\n\t1gaDIzO66fzvY5sYd/GEO+ccAp4afyHnXZjrQ/jI=","Reply-To":"kieran.bingham@ideasonboard.com","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org, =?utf-8?q?Niklas_S=C3=B6derlund?=\n\t<niklas.soderlund@ragnatech.se>","References":"<20181122165852.6123-1-kieran.bingham@ideasonboard.com>\n\t<1598916.6xSdIj2yWm@avalon>\n\t<0c10fbf5-e62a-413e-c150-77893a81a01d@ideasonboard.com>\n\t<2773469.KMbaaLxQ7u@avalon>","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Openpgp":"preference=signencrypt","Autocrypt":"addr=kieran.bingham@ideasonboard.com; keydata=\n\t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\n\tsbsRB8KNNvVXBOVNwko86rQqF9drZuw=","Organization":"Ideas on Board","Message-ID":"<eee4d710-4ed3-2422-97ca-5530a7c06a30@ideasonboard.com>","Date":"Mon, 26 Nov 2018 11:12:37 +0000","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101\n\tThunderbird/60.2.1","MIME-Version":"1.0","In-Reply-To":"<2773469.KMbaaLxQ7u@avalon>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-GB","Content-Transfer-Encoding":"8bit","Subject":"Re: [libcamera-devel] [PATCH v2] Documentation: Introduce sphinx\n\tdocumentation","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Mon, 26 Nov 2018 11:12:40 -0000"}}]