21 Mar, 2020

3 commits

  • The kernel doc tooling knows how to do this itself so drop this markup
    throughout this file to simplify.

    Suggested-by: Jonathan Corbet
    Signed-off-by: Stephen Boyd
    Link: https://lore.kernel.org/r/20200318174133.160206-3-swboyd@chromium.org
    Signed-off-by: Jonathan Corbet

    Stephen Boyd
     
  • Add the missing word to make this sentence read properly.

    Signed-off-by: Stephen Boyd
    Link: https://lore.kernel.org/r/20200318174133.160206-2-swboyd@chromium.org
    Signed-off-by: Jonathan Corbet

    Stephen Boyd
     
  • Changeset 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    enabled a new feature at Sphinx: it will now generate index for each
    document title, plus to each chapter inside it.

    There's a drawback, though: one document cannot have two sections
    with the same name anymore.

    A followup patch will change the logic of autosectionlabel to
    avoid most creating references for every single section title,
    but still we need to be able to reference the chapters inside
    a document.

    There are a few places where there are two chapters with the
    same name. This patch renames one of the chapters, in order to
    avoid symbol conflict within the same document.

    PS.: as I don't speach Chinese, I had some help from a friend
    (Wen Liu) at the Chinese translation for "publishing patches"
    for this document:

    Documentation/translations/zh_CN/process/5.Posting.rst

    Fixes: 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/2bffb91e4a63d41bf5fae1c23e1e8b3bba0b8806.1584716446.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

20 Mar, 2020

1 commit

  • Fix a couple of dangling links to core-api/namespaces.rst by turning them
    into proper references. Enable the autosection extension (available since
    Sphinx 1.4) to make this work.

    Co-developed-by: Federico Vaga
    Fixes: fcfacb9f8374 ("doc: move namespaces.rst from kbuild/ to core-api/")
    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     

20 Dec, 2019

1 commit

  • …ces.rst to symbol-namespaces.rst

    This patch fixes the following documentation build warning:
    Warning: Documentation/kernel-hacking/hacking.rst references
    a file that doesn't exist: Documentation/kbuild/namespaces.rst

    According to the following patch:
    https://patchwork.kernel.org/patch/11178727/
    (doc: move namespaces.rst from kbuild/ to core-api/)

    The file namespaces.rst was moved from kbuild to core-api
    and renamed to symbol-namespaces.rst.
    Therefore, this patch changes the reference to the document
    kbuild/namespaces.rst in hacking.rst to
    core-api/symbol-namespaces.rst

    Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
    Link: https://lore.kernel.org/r/20191204104554.9100-1-madhuparnabhowmik04@gmail.com
    Signed-off-by: Jonathan Corbet <corbet@lwn.net>

    Madhuparna Bhowmik
     

10 Sep, 2019

1 commit


17 Jul, 2019

1 commit


15 Jul, 2019

1 commit

  • Convert the locking documents to ReST and add them to the
    kernel development book where it belongs.

    Most of the stuff here is just to make Sphinx to properly
    parse the text file, as they're already in good shape,
    not requiring massive changes in order to be parsed.

    The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Federico Vaga

    Mauro Carvalho Chehab
     

21 Jun, 2019

1 commit

  • Since strlcpy is deprecated, the documentation shouldn't suggest using
    it. This patch fixes the examples to use strscpy instead. It also uses
    sizeof instead of underlying constants as far as possible, to simplify
    future changes to the corresponding data structures.

    Signed-off-by: Stephen Kitt
    Acked-by: Kees Cook
    Acked-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Stephen Kitt
     

15 Jun, 2019

1 commit

  • The kbuild documentation clearly shows that the documents
    there are written at different times: some use markdown,
    some use their own peculiar logic to split sections.

    Convert everything to ReST without affecting too much
    the author's style and avoiding adding uneeded markups.

    The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

27 Jul, 2018

2 commits


26 Jun, 2018

1 commit

  • The idea is to make it easier to create references (doc-guide does the same).
    This will be used, for example but not only, in translations to point to
    the main document.

    Signed-off-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Federico Vaga
     

18 Jan, 2018

1 commit


12 Dec, 2017

1 commit


04 Jul, 2017

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "There has been a fair amount of activity in the docs tree this time
    around. Highlights include:

    - Conversion of a bunch of security documentation into RST

    - The conversion of the remaining DocBook templates by The Amazing
    Mauro Machine. We can now drop the entire DocBook build chain.

    - The usual collection of fixes and minor updates"

    * tag 'docs-4.13' of git://git.lwn.net/linux: (90 commits)
    scripts/kernel-doc: handle DECLARE_HASHTABLE
    Documentation: atomic_ops.txt is core-api/atomic_ops.rst
    Docs: clean up some DocBook loose ends
    Make the main documentation title less Geocities
    Docs: Use kernel-figure in vidioc-g-selection.rst
    Docs: fix table problems in ras.rst
    Docs: Fix breakage with Sphinx 1.5 and upper
    Docs: Include the Latex "ifthen" package
    doc/kokr/howto: Only send regression fixes after -rc1
    docs-rst: fix broken links to dynamic-debug-howto in kernel-parameters
    doc: Document suitability of IBM Verse for kernel development
    Doc: fix a markup error in coding-style.rst
    docs: driver-api: i2c: remove some outdated information
    Documentation: DMA API: fix a typo in a function name
    Docs: Insert missing space to separate link from text
    doc/ko_KR/memory-barriers: Update control-dependencies example
    Documentation, kbuild: fix typo "minimun" -> "minimum"
    docs: Fix some formatting issues in request-key.rst
    doc: ReSTify keys-trusted-encrypted.txt
    doc: ReSTify keys-request-key.txt
    ...

    Linus Torvalds
     

16 May, 2017

6 commits