docs: filesystems: sysfs: convert sysfs.txt to reST
PATCH 1/1 docs: filesystems: sysfs: convert sysfs.txt to reST
This patch converts sysfs.txt to sysfs.rst, and adds a corresponding entry in index.rst.
Most of the whitespacing and indentation is kept similar to the original document.
Changes to the original document include:
- Adding an authors statement in the header.
- Replacing the underscores in the title with asterisks. This is so that the "The" in the title appears in italics in HTML.
- Replacing the tilde (~) headings with equal signs, for reST section headings.
- List out the helper macros with backquotes and corresponding description on the next line.
- Placing C code and shell code in reST code blocks, with an indentation of an 8 length tab.
Signed-off-by Jaskaran Singh <[email protected]>
---
Documentation/filesystems/index.rst | 1 +
.../filesystems/{sysfs.txt => sysfs.rst} | 323 ++++++++++--------
2 files changed, 189 insertions(+), 135 deletions(-)
rename Documentation/filesystems/{sysfs.txt => sysfs.rst} (60%)Documentation/filesystems/index.rst +1 -0
@@ -46,4 +46,5 @@ Documentation for filesystem implementations. .. toctree:: :maxdepth: 2 + sysfs virtiofs
Documentation/filesystems/sysfs.rst renamed from Documentation/filesystems/sysfs.txt +188 -135
474 lines not on this page · raw message
Signature · 1 line
2.21.0