[PATCH 0/8] Sphinx extension fix + logging/warning cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The first patch in the series fixes the "UnboundLocalError: local
variable 'fname' referenced before assignment" error and should
probably go into v6.8 and then stable.

The rest are just cleanup/improvements, mainly the removal of
kernellog.py in favour of sphinx.util.logging, but also adding a
warning if you pass something strange to the kernel-abi:: or
kernel-feat:: directives.

The reason I'm sending these two things together is that there
is a very slight dependency on the very first patch.

I've tested on 2.4.4, 4.3.2, and 7.3.0+/b660154eaf71 by running
make cleandocs; make htmldocs. Figures, features, and ABI lists
looked fine to me.


Vegard

---

Vegard Nossum (8):
  docs: kernel_feat.py: fix build error for missing files
  docs: kernel_{abi,feat}.py: use doc.current_source
  doc: kernel_abi.py: convert to sphinx.util.logging
  doc: kernel_feat.py: convert to sphinx.util.logging
  doc: kerneldoc.py: convert to sphinx.util.logging
  doc: kfigure.py: convert to sphinx.util.logging
  doc: remove kernellog.py
  doc: kernel_{abi,feat}.py: warn about missing directory

 Documentation/sphinx/kernel_abi.py  | 15 +++++--
 Documentation/sphinx/kernel_feat.py | 19 +++++----
 Documentation/sphinx/kerneldoc.py   | 14 +++---
 Documentation/sphinx/kernellog.py   | 22 ----------
 Documentation/sphinx/kfigure.py     | 66 ++++++++++++++---------------
 5 files changed, 60 insertions(+), 76 deletions(-)
 delete mode 100644 Documentation/sphinx/kernellog.py

-- 
2.34.1





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux